diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2011-01-21 03:33:24 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-26 16:21:56 -0500 |
commit | 436d0d985383a2ede326f8ec5117d185690dc3f3 (patch) | |
tree | 27c7a633b60bb4a96f925d2ba1495d1e468d6fbf /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | ba99d93b3d7bb3a6406bc86f41ab863895968a0f (diff) |
ath9k: clean up enums and unused macros
Remove unused macros and cleanup buffer_type enumeration
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index dab0271f1c1a..6636f3c6dcf9 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -95,9 +95,9 @@ struct ath_config { | |||
95 | * @BUF_XRETRY: To denote excessive retries of the buffer | 95 | * @BUF_XRETRY: To denote excessive retries of the buffer |
96 | */ | 96 | */ |
97 | enum buffer_type { | 97 | enum buffer_type { |
98 | BUF_AMPDU = BIT(2), | 98 | BUF_AMPDU = BIT(0), |
99 | BUF_AGGR = BIT(3), | 99 | BUF_AGGR = BIT(1), |
100 | BUF_XRETRY = BIT(5), | 100 | BUF_XRETRY = BIT(2), |
101 | }; | 101 | }; |
102 | 102 | ||
103 | #define bf_isampdu(bf) (bf->bf_state.bf_type & BUF_AMPDU) | 103 | #define bf_isampdu(bf) (bf->bf_state.bf_type & BUF_AMPDU) |
@@ -137,7 +137,6 @@ void ath_descdma_cleanup(struct ath_softc *sc, struct ath_descdma *dd, | |||
137 | (((_tid) == 4) || ((_tid) == 5)) ? WME_AC_VI : \ | 137 | (((_tid) == 4) || ((_tid) == 5)) ? WME_AC_VI : \ |
138 | WME_AC_VO) | 138 | WME_AC_VO) |
139 | 139 | ||
140 | #define ADDBA_EXCHANGE_ATTEMPTS 10 | ||
141 | #define ATH_AGGR_DELIM_SZ 4 | 140 | #define ATH_AGGR_DELIM_SZ 4 |
142 | #define ATH_AGGR_MINPLEN 256 /* in bytes, minimum packet length */ | 141 | #define ATH_AGGR_MINPLEN 256 /* in bytes, minimum packet length */ |
143 | /* number of delimiters for encryption padding */ | 142 | /* number of delimiters for encryption padding */ |