diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/common.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h index fea3b3315391..a126bddebb0a 100644 --- a/drivers/net/wireless/ath/ath9k/common.h +++ b/drivers/net/wireless/ath/ath9k/common.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <net/mac80211.h> | 17 | #include <net/mac80211.h> |
18 | 18 | ||
19 | #include "../ath.h" | 19 | #include "../ath.h" |
20 | #include "../debug.h" | ||
21 | 20 | ||
22 | #include "hw.h" | 21 | #include "hw.h" |
23 | #include "hw-ops.h" | 22 | #include "hw-ops.h" |
@@ -31,10 +30,11 @@ | |||
31 | #define WME_MAX_BA WME_BA_BMP_SIZE | 30 | #define WME_MAX_BA WME_BA_BMP_SIZE |
32 | #define ATH_TID_MAX_BUFS (2 * WME_MAX_BA) | 31 | #define ATH_TID_MAX_BUFS (2 * WME_MAX_BA) |
33 | 32 | ||
34 | #define WME_AC_BE 0 | 33 | /* These must match mac80211 skb queue mapping numbers */ |
35 | #define WME_AC_BK 1 | 34 | #define WME_AC_VO 0 |
36 | #define WME_AC_VI 2 | 35 | #define WME_AC_VI 1 |
37 | #define WME_AC_VO 3 | 36 | #define WME_AC_BE 2 |
37 | #define WME_AC_BK 3 | ||
38 | #define WME_NUM_AC 4 | 38 | #define WME_NUM_AC 4 |
39 | 39 | ||
40 | #define ATH_RSSI_DUMMY_MARKER 0x127 | 40 | #define ATH_RSSI_DUMMY_MARKER 0x127 |
@@ -62,8 +62,9 @@ enum ath_stomp_type { | |||
62 | 62 | ||
63 | int ath9k_cmn_padpos(__le16 frame_control); | 63 | int ath9k_cmn_padpos(__le16 frame_control); |
64 | int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb); | 64 | int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb); |
65 | void ath9k_cmn_update_ichannel(struct ieee80211_hw *hw, | 65 | void ath9k_cmn_update_ichannel(struct ath9k_channel *ichan, |
66 | struct ath9k_channel *ichan); | 66 | struct ieee80211_channel *chan, |
67 | enum nl80211_channel_type channel_type); | ||
67 | struct ath9k_channel *ath9k_cmn_get_curchannel(struct ieee80211_hw *hw, | 68 | struct ath9k_channel *ath9k_cmn_get_curchannel(struct ieee80211_hw *hw, |
68 | struct ath_hw *ah); | 69 | struct ath_hw *ah); |
69 | int ath9k_cmn_count_streams(unsigned int chainmask, int max); | 70 | int ath9k_cmn_count_streams(unsigned int chainmask, int max); |