25 #define HAL_PROCESS_ANI 0x00000001 27 #define DO_ANI(ah) (((ah)->proc_phyerr & HAL_PROCESS_ANI) && ah->curchan) 29 #define BEACON_RSSI(ahp) (ahp->stats.avgbrssi) 32 #define ATH9K_ANI_OFDM_TRIG_HIGH_OLD 500 33 #define ATH9K_ANI_OFDM_TRIG_HIGH_NEW 1000 36 #define ATH9K_ANI_OFDM_TRIG_LOW_OLD 200 37 #define ATH9K_ANI_OFDM_TRIG_LOW_NEW 400 40 #define ATH9K_ANI_CCK_TRIG_HIGH_OLD 200 41 #define ATH9K_ANI_CCK_TRIG_HIGH_NEW 600 44 #define ATH9K_ANI_CCK_TRIG_LOW_OLD 100 45 #define ATH9K_ANI_CCK_TRIG_LOW_NEW 300 47 #define ATH9K_ANI_NOISE_IMMUNE_LVL 4 48 #define ATH9K_ANI_USE_OFDM_WEAK_SIG 1 49 #define ATH9K_ANI_CCK_WEAK_SIG_THR 0 51 #define ATH9K_ANI_SPUR_IMMUNE_LVL_OLD 7 52 #define ATH9K_ANI_SPUR_IMMUNE_LVL_NEW 3 54 #define ATH9K_ANI_FIRSTEP_LVL_OLD 0 55 #define ATH9K_ANI_FIRSTEP_LVL_NEW 2 57 #define ATH9K_ANI_RSSI_THR_HIGH 40 58 #define ATH9K_ANI_RSSI_THR_LOW 7 60 #define ATH9K_ANI_PERIOD_OLD 100 61 #define ATH9K_ANI_PERIOD_NEW 1000 64 #define ATH9K_ANI_POLLINTERVAL_OLD 100 65 #define ATH9K_ANI_POLLINTERVAL_NEW 1000 67 #define HAL_NOISE_IMMUNE_MAX 4 68 #define HAL_SPUR_IMMUNE_MAX 7 69 #define HAL_FIRST_STEP_MAX 2 71 #define ATH9K_SIG_FIRSTEP_SETTING_MIN 0 72 #define ATH9K_SIG_FIRSTEP_SETTING_MAX 20 73 #define ATH9K_SIG_SPUR_IMM_SETTING_MIN 0 74 #define ATH9K_SIG_SPUR_IMM_SETTING_MAX 22 76 #define ATH9K_ANI_ENABLE_MRC_CCK 1 161 #define ah_mibStats stats.ast_mibstats
int ath9k_hw_get_ani_channel_idx(struct ath_hw *ah, struct ath9k_channel *chan)
void ath9k_hw_disable_mib_counters(struct ath_hw *ah)
void ath9k_enable_mib_counters(struct ath_hw *ah)
void ath9k_hw_ani_init(struct ath_hw *ah)
struct ath9k_mib_stats ast_mibstats
void ath9k_hw_ani_setup(struct ath_hw *ah)
struct ath9k_ani_default iniDef
u8 ofdmNoiseImmunityLevel