Lines Matching full:nf

70 			   s16 nf)  in ath9k_hw_getchan_noise()  argument
74 if (nf) { in ath9k_hw_getchan_noise()
75 s8 delta = nf - ATH9K_NF_CAL_NOISE_THRESH - in ath9k_hw_getchan_noise()
144 * Re-enable the enforcement of the NF maximum again. in ath9k_hw_update_nfcal_hist_buffer()
282 * stop NF cal if ongoing to ensure NF load completes immediately in ath9k_hw_loadnf()
292 * Load software filtered NF value into baseband internal minCCApwr in ath9k_hw_loadnf()
316 * Restart NF so it can continue. in ath9k_hw_loadnf()
336 * here, the baseband nf cal will just be capped by our present in ath9k_hw_loadnf()
341 "Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x%x\n", in ath9k_hw_loadnf()
368 static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf) in ath9k_hw_nf_sanitize() argument
380 if (!nf[i]) in ath9k_hw_nf_sanitize()
384 "NF calibrated [%s] [chain %d] is %d\n", in ath9k_hw_nf_sanitize()
385 (i >= 3 ? "ext" : "ctl"), i % 3, nf[i]); in ath9k_hw_nf_sanitize()
387 if (nf[i] > limit->max) { in ath9k_hw_nf_sanitize()
389 "NF[%d] (%d) > MAX (%d), correcting to MAX\n", in ath9k_hw_nf_sanitize()
390 i, nf[i], limit->max); in ath9k_hw_nf_sanitize()
391 nf[i] = limit->max; in ath9k_hw_nf_sanitize()
392 } else if (nf[i] < limit->min) { in ath9k_hw_nf_sanitize()
394 "NF[%d] (%d) < MIN (%d), correcting to NOM\n", in ath9k_hw_nf_sanitize()
395 i, nf[i], limit->min); in ath9k_hw_nf_sanitize()
396 nf[i] = limit->nominal; in ath9k_hw_nf_sanitize()
404 int16_t nf, nfThresh; in ath9k_hw_getnf() local
412 "NF did not complete in calibration window\n"); in ath9k_hw_getnf()
418 nf = nfarray[0]; in ath9k_hw_getnf()
420 && nf > nfThresh) { in ath9k_hw_getnf()
423 nf, nfThresh); in ath9k_hw_getnf()
427 chan->noisefloor = nf; in ath9k_hw_getnf()
473 * the baseband update the internal NF value itself, similar to in ath9k_hw_bstuck_nfcal()