|
iPXE
|
Go to the source code of this file.
Macros | |
| #define | WME_NUM_TID 16 |
| #define | WME_BA_BMP_SIZE 64 |
| #define | WME_MAX_BA WME_BA_BMP_SIZE |
| #define | ATH_TID_MAX_BUFS (2 * WME_MAX_BA) |
| #define | WME_AC_BE 2 |
| #define | WME_NUM_AC 1 |
| #define | ATH_RSSI_DUMMY_MARKER 0x127 |
| #define | ATH_RSSI_LPF_LEN 10 |
| #define | RSSI_LPF_THRESHOLD -20 |
| #define | ATH_RSSI_EP_MULTIPLIER (1<<7) |
| #define | ATH_EP_MUL(x, mul) ((x) * (mul)) |
| #define | ATH_RSSI_IN(x) (ATH_EP_MUL((x), ATH_RSSI_EP_MULTIPLIER)) |
| #define | ATH_LPF_RSSI(x, y, len) ((x != ATH_RSSI_DUMMY_MARKER) ? (((x) * ((len) - 1) + (y)) / (len)) : (y)) |
| #define | ATH_RSSI_LPF(x, y) |
| #define | ATH_EP_RND(x, mul) ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul)) |
Functions | |
| FILE_LICENCE (BSD2) | |
| void | ath9k_cmn_update_ichannel (struct ath9k_channel *ichan, struct net80211_channel *chan) |
| struct ath9k_channel * | ath9k_cmn_get_curchannel (struct net80211_device *dev, struct ath_hw *ah) |
| void | ath9k_cmn_update_txpow (struct ath_hw *ah, u16 cur_txpow, u16 new_txpow, u16 *txpower) |
| #define WME_MAX_BA WME_BA_BMP_SIZE |
| #define ATH_TID_MAX_BUFS (2 * WME_MAX_BA) |
| #define ATH_RSSI_IN | ( | x | ) | (ATH_EP_MUL((x), ATH_RSSI_EP_MULTIPLIER)) |
| FILE_LICENCE | ( | BSD2 | ) |
| void ath9k_cmn_update_ichannel | ( | struct ath9k_channel * | ichan, |
| struct net80211_channel * | chan | ||
| ) |
Definition at line 29 of file ath9k_common.c.
References net80211_channel::band, net80211_channel::center_freq, ath9k_channel::chan, ath9k_channel::chanmode, ath9k_channel::channel, CHANNEL_2GHZ, CHANNEL_5GHZ, CHANNEL_A, CHANNEL_G, CHANNEL_OFDM, ath9k_channel::channelFlags, and NET80211_BAND_2GHZ.
Referenced by ath9k_cmn_get_curchannel(), and ath9k_config().
| struct ath9k_channel* ath9k_cmn_get_curchannel | ( | struct net80211_device * | dev, |
| struct ath_hw * | ah | ||
| ) |
Definition at line 47 of file ath9k_common.c.
References ah, ath9k_cmn_update_ichannel(), channel, net80211_device::channel, net80211_device::channels, and net80211_channel::hw_value.
Referenced by ath9k_start(), and ath_radio_disable().
Definition at line 61 of file ath9k_common.c.
References ah, ath9k_hw_regulatory(), ath9k_hw_set_txpowerlimit(), and ath_regulatory::power_limit.
Referenced by ath9k_config(), ath9k_start(), ath_reset(), and ath_set_channel().
1.8.15