Lines Matching defs:level
219 u_int level = param;
221 if (level >= params->maxNoiseImmunityLevel) {
223 "%s: immunity level out of range (%u > %u)\n",
224 __func__, level, params->maxNoiseImmunityLevel);
229 AR_PHY_DESIRED_SZ_TOT_DES, params->totalSizeDesired[level]);
231 AR_PHY_AGC_CTL1_COARSE_LOW, params->coarseLow[level]);
233 AR_PHY_AGC_CTL1_COARSE_HIGH, params->coarseHigh[level]);
235 AR_PHY_FIND_SIG_FIRPWR, params->firpwr[level]);
237 if (level > aniState->noiseImmunityLevel)
239 else if (level < aniState->noiseImmunityLevel)
241 aniState->noiseImmunityLevel = level;
303 u_int level = param;
305 if (level >= params->maxFirstepLevel) {
307 "%s: firstep level out of range (%u > %u)\n",
308 __func__, level, params->maxFirstepLevel);
312 AR_PHY_FIND_SIG_FIRSTEP, params->firstep[level]);
313 if (level > aniState->firstepLevel)
315 else if (level < aniState->firstepLevel)
317 aniState->firstepLevel = level;
321 u_int level = param;
323 if (level >= params->maxSpurImmunityLevel) {
325 "%s: spur level out of range (%u > %u)\n",
326 __func__, level, params->maxSpurImmunityLevel);
330 AR_PHY_TIMING5_CYCPWR_THR1, params->cycPwrThr1[level]);
331 if (level > aniState->spurImmunityLevel)
333 else if (level < aniState->spurImmunityLevel)
335 aniState->spurImmunityLevel = level;
388 /* First, raise noise immunity level, up to max */
394 /* then, raise spur immunity level, up to max */
418 * raise firstep level
472 /* first, raise noise immunity level, up to max */
486 * raise firstep level.
493 * Beacon rssi is low, zero firstep level to maximize
704 * detection or lower firstep level.
719 * Beacon rssi is low, reduce firstep level.
728 /* then lower spur immunity level, down to zero */
735 * if all else fails, lower noise immunity level down to a min value