Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_calib.c846 int mp_avg = 0, i, outlier_idx = 0, mp_count = 0; in ar9003_hw_detect_outlier() local
863 mp_avg += mp_coeff[i][0]; in ar9003_hw_detect_outlier()
873 mp_avg /= mp_count; in ar9003_hw_detect_outlier()
875 mp_avg = mp_coeff[nmeasurement - 1][0]; in ar9003_hw_detect_outlier()
879 if (abs(mp_max - mp_avg) > abs(mp_min - mp_avg)) in ar9003_hw_detect_outlier()
884 mp_coeff[outlier_idx][0] = mp_avg; in ar9003_hw_detect_outlier()