diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-08-28 02:32:22 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-30 23:38:53 +0400 |
commit | 56dc63369270b60e59637d153caf2e6b424ca30e (patch) | |
tree | 154f4407292b66cbc273dcb78e595b52952f3761 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | a75c0629716ea19ff934ef4ff1c31a4610bcb408 (diff) | |
download | linux-56dc63369270b60e59637d153caf2e6b424ca30e.tar.xz |
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.h | 3 |
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 { }; struct ath_frame_info { + struct ath_buf *bf; int framelen; enum ath9k_key_type keytype; u8 keyix; @@ -235,7 +236,7 @@ struct ath_buf { struct ath_atx_tid { struct list_head list; - struct list_head buf_q; + struct sk_buff_head buf_q; struct ath_node *an; struct ath_atx_ac *ac; unsigned long tx_buf[BITS_TO_LONGS(ATH_TID_MAX_BUFS)]; |