diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2011-02-19 12:13:42 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-21 23:39:56 +0300 |
commit | 69081624c7b2138b137738e307cb67e2dafd6e9b (patch) | |
tree | 9aff5e8a5f4140efc2578f2f8616db0796a9aa62 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 0aec516ce4cfd44f48b3ae0c54bc2f1eab007173 (diff) | |
download | linux-69081624c7b2138b137738e307cb67e2dafd6e9b.tar.xz |
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.h | 1 |
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 a224c56448de..f9f0389b92ab 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; |