26#define HAL_PROCESS_ANI 0x00000001
28#define DO_ANI(ah) (((ah)->proc_phyerr & HAL_PROCESS_ANI) && ah->curchan)
30#define BEACON_RSSI(ahp) (ahp->stats.avgbrssi)
33#define ATH9K_ANI_OFDM_TRIG_HIGH_OLD 500
34#define ATH9K_ANI_OFDM_TRIG_HIGH_NEW 1000
37#define ATH9K_ANI_OFDM_TRIG_LOW_OLD 200
38#define ATH9K_ANI_OFDM_TRIG_LOW_NEW 400
41#define ATH9K_ANI_CCK_TRIG_HIGH_OLD 200
42#define ATH9K_ANI_CCK_TRIG_HIGH_NEW 600
45#define ATH9K_ANI_CCK_TRIG_LOW_OLD 100
46#define ATH9K_ANI_CCK_TRIG_LOW_NEW 300
48#define ATH9K_ANI_NOISE_IMMUNE_LVL 4
49#define ATH9K_ANI_USE_OFDM_WEAK_SIG 1
50#define ATH9K_ANI_CCK_WEAK_SIG_THR 0
52#define ATH9K_ANI_SPUR_IMMUNE_LVL_OLD 7
53#define ATH9K_ANI_SPUR_IMMUNE_LVL_NEW 3
55#define ATH9K_ANI_FIRSTEP_LVL_OLD 0
56#define ATH9K_ANI_FIRSTEP_LVL_NEW 2
58#define ATH9K_ANI_RSSI_THR_HIGH 40
59#define ATH9K_ANI_RSSI_THR_LOW 7
61#define ATH9K_ANI_PERIOD_OLD 100
62#define ATH9K_ANI_PERIOD_NEW 1000
65#define ATH9K_ANI_POLLINTERVAL_OLD 100
66#define ATH9K_ANI_POLLINTERVAL_NEW 1000
68#define HAL_NOISE_IMMUNE_MAX 4
69#define HAL_SPUR_IMMUNE_MAX 7
70#define HAL_FIRST_STEP_MAX 2
72#define ATH9K_SIG_FIRSTEP_SETTING_MIN 0
73#define ATH9K_SIG_FIRSTEP_SETTING_MAX 20
74#define ATH9K_SIG_SPUR_IMM_SETTING_MIN 0
75#define ATH9K_SIG_SPUR_IMM_SETTING_MAX 22
77#define ATH9K_ANI_ENABLE_MRC_CCK 1
162#define ah_mibStats stats.ast_mibstats
void ath9k_enable_mib_counters(struct ath_hw *ah)
@ ATH9K_ANI_NOISE_IMMUNITY_LEVEL
@ ATH9K_ANI_FIRSTEP_LEVEL
@ ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION
@ ATH9K_ANI_CCK_WEAK_SIGNAL_THR
@ ATH9K_ANI_SPUR_IMMUNITY_LEVEL
int ath9k_hw_get_ani_channel_idx(struct ath_hw *ah, struct ath9k_channel *chan)
void ath9k_hw_ani_setup(struct ath_hw *ah)
void ath9k_hw_ani_init(struct ath_hw *ah)
void ath9k_hw_disable_mib_counters(struct ath_hw *ah)
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
u8 ofdmNoiseImmunityLevel
struct ath9k_ani_default iniDef
struct ath9k_mib_stats ast_mibstats