Lines Matching refs:nf
73 s16 nf) in ath9k_hw_getchan_noise() argument
77 if (nf) { in ath9k_hw_getchan_noise()
78 s8 delta = nf - ATH9K_NF_CAL_NOISE_THRESH - in ath9k_hw_getchan_noise()
371 static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf) in ath9k_hw_nf_sanitize() argument
383 if (!nf[i]) in ath9k_hw_nf_sanitize()
388 (i >= 3 ? "ext" : "ctl"), i % 3, nf[i]); in ath9k_hw_nf_sanitize()
390 if (nf[i] > limit->max) { in ath9k_hw_nf_sanitize()
393 i, nf[i], limit->max); in ath9k_hw_nf_sanitize()
394 nf[i] = limit->max; in ath9k_hw_nf_sanitize()
395 } else if (nf[i] < limit->min) { in ath9k_hw_nf_sanitize()
398 i, nf[i], limit->min); in ath9k_hw_nf_sanitize()
399 nf[i] = limit->nominal; in ath9k_hw_nf_sanitize()
407 int16_t nf, nfThresh; in ath9k_hw_getnf() local
421 nf = nfarray[0]; in ath9k_hw_getnf()
423 && nf > nfThresh) { in ath9k_hw_getnf()
426 nf, nfThresh); in ath9k_hw_getnf()
430 chan->noisefloor = nf; in ath9k_hw_getnf()