aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-27 18:32:22 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-30 15:38:53 -0400
commit56dc63369270b60e59637d153caf2e6b424ca30e (patch)
tree154f4407292b66cbc273dcb78e595b52952f3761 /drivers/net/wireless/ath/ath9k/ath9k.h
parenta75c0629716ea19ff934ef4ff1c31a4610bcb408 (diff)
ath9k: clean up the aggregation tid queue
Use a sk_buff_head instead containing skbs instead of a list_head containing ath_bufs. This makes it easier to decouple the aggregation code from the ath_buf struct 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index d961f11201e9..eb4cdefda629 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -206,6 +206,7 @@ struct ath_atx_ac {
206}; 206};
207 207
208struct ath_frame_info { 208struct ath_frame_info {
209 struct ath_buf *bf;
209 int framelen; 210 int framelen;
210 enum ath9k_key_type keytype; 211 enum ath9k_key_type keytype;
211 u8 keyix; 212 u8 keyix;
@@ -235,7 +236,7 @@ struct ath_buf {
235 236
236struct ath_atx_tid { 237struct ath_atx_tid {
237 struct list_head list; 238 struct list_head list;
238 struct list_head buf_q; 239 struct sk_buff_head buf_q;
239 struct ath_node *an; 240 struct ath_node *an;
240 struct ath_atx_ac *ac; 241 struct ath_atx_ac *ac;
241 unsigned long tx_buf[BITS_TO_LONGS(ATH_TID_MAX_BUFS)]; 242 unsigned long tx_buf[BITS_TO_LONGS(ATH_TID_MAX_BUFS)];