aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2011-02-19 01:13:42 -0800
committerJohn W. Linville <linville@tuxdriver.com>2011-02-21 15:39:56 -0500
commit69081624c7b2138b137738e307cb67e2dafd6e9b (patch)
tree9aff5e8a5f4140efc2578f2f8616db0796a9aa62 /drivers/net/wireless/ath/ath9k/ath9k.h
parent0aec516ce4cfd44f48b3ae0c54bc2f1eab007173 (diff)
downloadkernel_samsung_smdk4412-69081624c7b2138b137738e307cb67e2dafd6e9b.zip
kernel_samsung_smdk4412-69081624c7b2138b137738e307cb67e2dafd6e9b.tar.gz
kernel_samsung_smdk4412-69081624c7b2138b137738e307cb67e2dafd6e9b.tar.bz2
ath9k: Implement op_flush()
When op_flush() is called with no drop (drop=false), the driver tries to tx as many frames as possible in about 100ms on every hw queue. During this time period frames from sw queue are also scheduled on to respective hw queue. Signed-off-by: Vasanthakumar Thiagarajan <vasanth@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index a224c56..f9f0389 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -189,6 +189,7 @@ struct ath_txq {
u32 axq_ampdu_depth;
bool stopped;
bool axq_tx_inprogress;
+ bool txq_flush_inprogress;
struct list_head axq_acq;
struct list_head txq_fifo[ATH_TXFIFO_DEPTH];
struct list_head txq_fifo_pending;