Lines Matching refs:nf
41 static void ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf);
658 * here, the baseband nf cal will just be capped by our present
662 "nf to load: AR_PHY_AGC_CONTROL=0x%x\n",
750 ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf)
762 if (!nf[i])
765 if (nf[i] > limit->max) {
768 i, nf[i], limit->max);
769 nf[i] = limit->max;
770 } else if (nf[i] < limit->min) {
773 i, nf[i], limit->min);
774 nf[i] = limit->nominal;
788 int16_t nf, nfThresh;
795 nf = 0;
804 nf = nfarray[0];
807 if (nf > nfThresh) {
811 nf, nfThresh);
818 nf = 0;
822 nf = 0;
833 ichan->rawNoiseFloor = nf;
834 retval = nf;