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>
This commit is contained in:
Sujith Manoharan
2014-10-17 07:40:15 +05:30
committed by John W. Linville
parent 8890d05ff5
commit 2fae0d9fb0
3 changed files with 10 additions and 1 deletions

View File

@@ -345,6 +345,7 @@ struct ath_chanctx {
u64 tsf_val;
u32 last_beacon;
int flush_timeout;
u16 txpower;
bool offchannel;
bool stopped;