Lines Matching full: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()
147 * Re-enable the enforcement of the NF maximum again. in ath9k_hw_update_nfcal_hist_buffer()
285 * stop NF cal if ongoing to ensure NF load completes immediately in ath9k_hw_loadnf()
295 * Load software filtered NF value into baseband internal minCCApwr in ath9k_hw_loadnf()
319 * Restart NF so it can continue. in ath9k_hw_loadnf()
339 * here, the baseband nf cal will just be capped by our present in ath9k_hw_loadnf()
344 "Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x%x\n", in ath9k_hw_loadnf()
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()
387 "NF calibrated [%s] [chain %d] is %d\n", 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()
392 "NF[%d] (%d) > MAX (%d), correcting to MAX\n", 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()
397 "NF[%d] (%d) < MIN (%d), correcting to NOM\n", 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
415 "NF did not complete in calibration window\n"); in ath9k_hw_getnf()
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()
476 * the baseband update the internal NF value itself, similar to in ath9k_hw_bstuck_nfcal()