Lines Matching refs:nf
531 /* AGC calibration (this was added to make the NF threshold check work) */
937 int16_t nf;
939 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff;
940 if (nf & 0x100)
941 nf = 0 - ((nf ^ 0x1ff) + 1);
942 return nf;
955 int32_t nf, nfLoops;
964 ath_hal_printf(ah, " -PHY NF Reg state: 0x%x\n",
974 nf = 0;
975 /* Keep checking until the floor is below the threshold or the nf is done */
976 for (nfLoops = 0; ((nfLoops < 21) && (nf > NORMAL_NF_THRESH)); nfLoops++) {
978 nf = ar5210GetNoiseFloor(ah);
981 if (nf > NORMAL_NF_THRESH) {
983 __func__, nf);
987 chan->rawNoiseFloor = nf;
992 * Adjust NF based on statistical values for 5GHz frequencies.