aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-10-17 07:40:15 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-10-27 14:16:15 -0400
commit2fae0d9fb038d8cd354d51fbb0560cf252a66ecc (patch)
treef56118e6c4c31a2e05fce70739c82d706e4a43e5 /drivers/net/wireless/ath/ath9k/ath9k.h
parentath9k: Clear NoA schedule properly (diff)
downloadlinux-dev-2fae0d9fb038d8cd354d51fbb0560cf252a66ecc.tar.xz
linux-dev-2fae0d9fb038d8cd354d51fbb0560cf252a66ecc.zip
ath9k: Use configurable timeout for flush
The timeout value for flushing the TX queues is hardcoded at 200ms right now. Use a channel context-specific value instead to allow adjustments to the timeout in case MCC is enabled. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.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 bc90fabdd921..43c1987978a8 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -345,6 +345,7 @@ struct ath_chanctx {
u64 tsf_val;
u32 last_beacon;
+ int flush_timeout;
u16 txpower;
bool offchannel;
bool stopped;