diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-14 15:24:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-16 16:45:37 -0400 |
commit | 55797b1ae5bfc33f1c0f978cdc7cd89a8d9460fc (patch) | |
tree | a6f2750f258529b857b862b1a5a014ed5be95895 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 3483288caf3d979e6b032d62f75f57893adf0d53 (diff) |
ath9k: remove ATH_TX_XRETRY and BUF_XRETRY flags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 45be0a3fe5c1..c016a7ae056e 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -87,17 +87,14 @@ struct ath_config { | |||
87 | * @BUF_AMPDU: This buffer is an ampdu, as part of an aggregate (during TX) | 87 | * @BUF_AMPDU: This buffer is an ampdu, as part of an aggregate (during TX) |
88 | * @BUF_AGGR: Indicates whether the buffer can be aggregated | 88 | * @BUF_AGGR: Indicates whether the buffer can be aggregated |
89 | * (used in aggregation scheduling) | 89 | * (used in aggregation scheduling) |
90 | * @BUF_XRETRY: To denote excessive retries of the buffer | ||
91 | */ | 90 | */ |
92 | enum buffer_type { | 91 | enum buffer_type { |
93 | BUF_AMPDU = BIT(0), | 92 | BUF_AMPDU = BIT(0), |
94 | BUF_AGGR = BIT(1), | 93 | BUF_AGGR = BIT(1), |
95 | BUF_XRETRY = BIT(2), | ||
96 | }; | 94 | }; |
97 | 95 | ||
98 | #define bf_isampdu(bf) (bf->bf_state.bf_type & BUF_AMPDU) | 96 | #define bf_isampdu(bf) (bf->bf_state.bf_type & BUF_AMPDU) |
99 | #define bf_isaggr(bf) (bf->bf_state.bf_type & BUF_AGGR) | 97 | #define bf_isaggr(bf) (bf->bf_state.bf_type & BUF_AGGR) |
100 | #define bf_isxretried(bf) (bf->bf_state.bf_type & BUF_XRETRY) | ||
101 | 98 | ||
102 | #define ATH_TXSTATUS_RING_SIZE 64 | 99 | #define ATH_TXSTATUS_RING_SIZE 64 |
103 | 100 | ||
@@ -277,8 +274,7 @@ struct ath_tx_control { | |||
277 | }; | 274 | }; |
278 | 275 | ||
279 | #define ATH_TX_ERROR 0x01 | 276 | #define ATH_TX_ERROR 0x01 |
280 | #define ATH_TX_XRETRY 0x02 | 277 | #define ATH_TX_BAR 0x02 |
281 | #define ATH_TX_BAR 0x04 | ||
282 | 278 | ||
283 | /** | 279 | /** |
284 | * @txq_map: Index is mac80211 queue number. This is | 280 | * @txq_map: Index is mac80211 queue number. This is |