Lines Matching refs:ah_sc
70 ATH5K_ERR(ah->ah_sc, "noise immuniy level %d out of range",
84 ah->ah_sc->ani_state.noise_imm_level = level;
85 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "new level %d", level);
101 level > ah->ah_sc->ani_state.max_spur_level) {
102 ATH5K_ERR(ah->ah_sc, "spur immunity level %d out of range",
110 ah->ah_sc->ani_state.spur_level = level;
111 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "new level %d", level);
126 ATH5K_ERR(ah->ah_sc, "firstep level %d out of range", level);
133 ah->ah_sc->ani_state.firstep_level = level;
134 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "new level %d", level);
174 ah->ah_sc->ani_state.ofdm_weak_sig = on;
175 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "turned %s",
191 ah->ah_sc->ani_state.cck_weak_sig = on;
192 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "turned %s",
214 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "raise immunity (%s)",
225 as->spur_level < ah->ah_sc->ani_state.max_spur_level) {
231 if (ah->ah_sc->opmode == NL80211_IFTYPE_AP) {
244 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
261 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
271 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
299 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "lower immunity");
301 if (ah->ah_sc->opmode == NL80211_IFTYPE_AP) {
473 struct ath5k_ani_state *as = &ah->ah_sc->ani_state;
492 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
494 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
507 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
534 struct ath5k_ani_state *as = &ah->ah_sc->ani_state;
545 if (ah->ah_sc->ani_state.ani_mode != ATH5K_ANI_MODE_AUTO)
556 tasklet_schedule(&ah->ah_sc->ani_tasklet);
570 struct ath5k_ani_state *as = &ah->ah_sc->ani_state;
575 tasklet_schedule(&ah->ah_sc->ani_tasklet);
579 tasklet_schedule(&ah->ah_sc->ani_tasklet);
640 memset(&ah->ah_sc->ani_state, 0, sizeof(ah->ah_sc->ani_state));
644 ah->ah_sc->ani_state.max_spur_level = 7;
646 ah->ah_sc->ani_state.max_spur_level = 2;
650 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "ANI off\n");
652 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
660 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI,
665 ah->ah_sc->ani_state.max_spur_level);
670 ATH5K_DBG_UNLIMIT(ah->ah_sc, ATH5K_DEBUG_ANI, "ANI auto\n");
696 ah->ah_sc->ani_state.ani_mode = mode;