|
iPXE
|
Go to the source code of this file.
Data Structures | |
| struct | ath9k_mib_stats |
| struct | ath9k_ani_default |
| struct | ar5416AniState |
| struct | ar5416Stats |
Enumerations | |
| enum | ath9k_ani_cmd { ATH9K_ANI_PRESENT = 0x1 , ATH9K_ANI_NOISE_IMMUNITY_LEVEL = 0x2 , ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION = 0x4 , ATH9K_ANI_CCK_WEAK_SIGNAL_THR = 0x8 , ATH9K_ANI_FIRSTEP_LEVEL = 0x10 , ATH9K_ANI_SPUR_IMMUNITY_LEVEL = 0x20 , ATH9K_ANI_MODE = 0x40 , ATH9K_ANI_PHYERR_RESET = 0x80 , ATH9K_ANI_MRC_CCK = 0x100 , ATH9K_ANI_ALL = 0xfff } |
Functions | |
| FILE_LICENCE (BSD2) | |
| FILE_SECBOOT (FORBIDDEN) | |
| void | ath9k_enable_mib_counters (struct ath_hw *ah) |
| void | ath9k_hw_disable_mib_counters (struct ath_hw *ah) |
| void | ath9k_hw_ani_setup (struct ath_hw *ah) |
| void | ath9k_hw_ani_init (struct ath_hw *ah) |
| int | ath9k_hw_get_ani_channel_idx (struct ath_hw *ah, struct ath9k_channel *chan) |
| #define HAL_PROCESS_ANI 0x00000001 |
Definition at line 26 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define DO_ANI | ( | ah | ) |
Definition at line 28 of file ani.h.
Referenced by ath9k_ani_reset(), ath9k_ani_reset_old(), ath9k_ani_restart(), ath9k_hw_ani_cck_err_trigger(), ath9k_hw_ani_monitor(), and ath9k_hw_ani_ofdm_err_trigger().
| #define BEACON_RSSI | ( | ahp | ) |
Definition at line 30 of file ani.h.
Referenced by ath9k_hw_ani_cck_err_trigger_old(), ath9k_hw_ani_lower_immunity_old(), ath9k_hw_ani_ofdm_err_trigger_old(), ath9k_hw_set_cck_nil(), and ath9k_hw_set_ofdm_nil().
| #define ATH9K_ANI_OFDM_TRIG_HIGH_OLD 500 |
Definition at line 33 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_OFDM_TRIG_HIGH_NEW 1000 |
Definition at line 34 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_OFDM_TRIG_LOW_OLD 200 |
Definition at line 37 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_OFDM_TRIG_LOW_NEW 400 |
Definition at line 38 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_CCK_TRIG_HIGH_OLD 200 |
Definition at line 41 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_CCK_TRIG_HIGH_NEW 600 |
Definition at line 42 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_CCK_TRIG_LOW_OLD 100 |
Definition at line 45 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_CCK_TRIG_LOW_NEW 300 |
Definition at line 46 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_USE_OFDM_WEAK_SIG 1 |
Definition at line 49 of file ani.h.
Referenced by ar5008_hw_ani_cache_ini_regs(), ar9003_hw_ani_cache_ini_regs(), and ath9k_hw_ani_init().
| #define ATH9K_ANI_CCK_WEAK_SIG_THR 0 |
Definition at line 50 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_SPUR_IMMUNE_LVL_OLD 7 |
Definition at line 52 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_SPUR_IMMUNE_LVL_NEW 3 |
Definition at line 53 of file ani.h.
Referenced by ar5008_hw_ani_cache_ini_regs(), ar5008_hw_ani_control_new(), ar9003_hw_ani_cache_ini_regs(), ar9003_hw_ani_control(), and ath9k_hw_ani_init().
| #define ATH9K_ANI_FIRSTEP_LVL_OLD 0 |
Definition at line 55 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_FIRSTEP_LVL_NEW 2 |
Definition at line 56 of file ani.h.
Referenced by ar5008_hw_ani_cache_ini_regs(), ar5008_hw_ani_control_new(), ar9003_hw_ani_cache_ini_regs(), ar9003_hw_ani_control(), and ath9k_hw_ani_init().
| #define ATH9K_ANI_RSSI_THR_HIGH 40 |
Definition at line 58 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_RSSI_THR_LOW 7 |
Definition at line 59 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_PERIOD_OLD 100 |
Definition at line 61 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_PERIOD_NEW 1000 |
Definition at line 62 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_POLLINTERVAL_OLD 100 |
Definition at line 65 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define ATH9K_ANI_POLLINTERVAL_NEW 1000 |
Definition at line 66 of file ani.h.
Referenced by ath9k_hw_ani_init().
| #define HAL_NOISE_IMMUNE_MAX 4 |
Definition at line 68 of file ani.h.
Referenced by ath9k_hw_ani_cck_err_trigger_old(), and ath9k_hw_ani_ofdm_err_trigger_old().
| #define HAL_SPUR_IMMUNE_MAX 7 |
Definition at line 69 of file ani.h.
Referenced by ath9k_hw_ani_ofdm_err_trigger_old().
| #define HAL_FIRST_STEP_MAX 2 |
Definition at line 70 of file ani.h.
Referenced by ath9k_hw_ani_cck_err_trigger_old(), and ath9k_hw_ani_ofdm_err_trigger_old().
| #define ATH9K_SIG_FIRSTEP_SETTING_MIN 0 |
Definition at line 72 of file ani.h.
Referenced by ar5008_hw_ani_control_new(), and ar9003_hw_ani_control().
| #define ATH9K_SIG_FIRSTEP_SETTING_MAX 20 |
Definition at line 73 of file ani.h.
Referenced by ar5008_hw_ani_control_new(), and ar9003_hw_ani_control().
| #define ATH9K_SIG_SPUR_IMM_SETTING_MIN 0 |
Definition at line 74 of file ani.h.
Referenced by ar5008_hw_ani_control_new(), and ar9003_hw_ani_control().
| #define ATH9K_SIG_SPUR_IMM_SETTING_MAX 22 |
Definition at line 75 of file ani.h.
Referenced by ar5008_hw_ani_control_new(), and ar9003_hw_ani_control().
| #define ATH9K_ANI_ENABLE_MRC_CCK 1 |
Definition at line 77 of file ani.h.
Referenced by ar9003_hw_ani_cache_ini_regs(), and ath9k_hw_ani_init().
| enum ath9k_ani_cmd |
Definition at line 81 of file ani.h.
| FILE_LICENCE | ( | BSD2 | ) |
| FILE_SECBOOT | ( | FORBIDDEN | ) |
| void ath9k_hw_ani_setup | ( | struct ath_hw * | ah | ) |
Definition at line 649 of file ath9k_ani.c.
References ah.
Referenced by ath9k_hw_post_init().
| void ath9k_hw_ani_init | ( | struct ath_hw * | ah | ) |
Definition at line 666 of file ath9k_ani.c.
References ah, ath9k_channel::ani, AR_SREV_9300_20_OR_LATER, ARRAY_SIZE, ATH9K_ANI_CCK_DEF_LEVEL, ATH9K_ANI_CCK_TRIG_HIGH_NEW, ATH9K_ANI_CCK_TRIG_HIGH_OLD, ATH9K_ANI_CCK_TRIG_LOW_NEW, ATH9K_ANI_CCK_TRIG_LOW_OLD, ATH9K_ANI_CCK_WEAK_SIG_THR, ATH9K_ANI_ENABLE_MRC_CCK, ATH9K_ANI_FIRSTEP_LVL_NEW, ATH9K_ANI_FIRSTEP_LVL_OLD, ATH9K_ANI_OFDM_TRIG_HIGH_NEW, ATH9K_ANI_OFDM_TRIG_HIGH_OLD, ATH9K_ANI_OFDM_TRIG_LOW_NEW, ATH9K_ANI_OFDM_TRIG_LOW_OLD, ATH9K_ANI_PERIOD_NEW, ATH9K_ANI_PERIOD_OLD, ATH9K_ANI_POLLINTERVAL_NEW, ATH9K_ANI_POLLINTERVAL_OLD, ath9k_ani_restart(), ATH9K_ANI_RSSI_THR_HIGH, ATH9K_ANI_RSSI_THR_LOW, ATH9K_ANI_SPUR_IMMUNE_LVL_NEW, ATH9K_ANI_SPUR_IMMUNE_LVL_OLD, ATH9K_ANI_USE_OFDM_WEAK_SIG, ar5416AniState::cckNoiseImmunityLevel, ar5416AniState::cckWeakSigThreshold, ath9k_channel::chan, DBG2, ar5416AniState::firstepLevel, HAL_PROCESS_ANI, ar5416AniState::mrcCCKOff, ar5416AniState::ofdmsTurn, ar5416AniState::ofdmWeakSigDetect, ar5416AniState::rssiThrHigh, ar5416AniState::rssiThrLow, ar5416AniState::spurImmunityLevel, and use_new_ani().
Referenced by ath9k_hw_post_init().
| int ath9k_hw_get_ani_channel_idx | ( | struct ath_hw * | ah, |
| struct ath9k_channel * | chan ) |
References ah.