Home
last modified time | relevance | path

Searched refs:mp_avg (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dar9003_calib.c847 int mp_avg = 0, i, outlier_idx = 0, mp_count = 0; in ar9003_hw_detect_outlier() local
864 mp_avg += mp_coeff[i][0]; in ar9003_hw_detect_outlier()
874 mp_avg /= mp_count; in ar9003_hw_detect_outlier()
876 mp_avg = mp_coeff[nmeasurement - 1][0]; in ar9003_hw_detect_outlier()
880 if (abs(mp_max - mp_avg) > abs(mp_min - mp_avg)) in ar9003_hw_detect_outlier()
885 mp_coeff[outlier_idx][0] = mp_avg; in ar9003_hw_detect_outlier()