Lines Matching defs:nf
27 #include "ar5212/ar5212.h" /* for NF cal related declarations */
218 * Do NF calibration after DC offset and other CALs.
223 /* XXX this actually kicks off a NF calibration -adrian */
226 * Try to make sure the above NF cal completes, just so
230 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: initial NF calibration did "
448 /* Do NF cal only at longer intervals */
451 * Get the value from the previous NF cal
457 * Load the NF from history buffer of the current channel.
458 * NF is slow time-variant, so it is OK to use a
463 /* start NF calibration, without updating BB NF register*/
544 * Force NF calibration for all chains.
557 * Write filtered NF values into maxCCApwr register parameter
569 /* Load software filtered NF value into baseband internal minCCApwr variable. */
583 * baseband nf cal will just be capped by our present
586 HALDEBUG(ah, HAL_DEBUG_ANY, "Timeout while waiting for nf "
648 * Read the NF and check it against the noise floor threshhold
653 int16_t nf, nfThresh;
657 "%s: NF didn't complete in calibration window\n", __func__);
658 nf = 0;
660 /* Finished NF cal, check against threshold */
665 nf = nfarray[0];
667 if (nf > nfThresh) {
671 nf, nfThresh);
678 nf = 0;
681 nf = 0;
684 chan->rawNoiseFloor = nf;
686 return nf;