aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-03-29 06:37:17 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-03-31 14:46:40 -0400
commit7757dfed5809b03aa61c7d7f5ff8092f85df8583 (patch)
treeae855421010956814bca1917dc6e1fb42c3c19ac /drivers/net/wireless/ath/ath9k/htc.h
parent6335ed0ff8670e6378da41191ab8bda33d1b7ac8 (diff)
ath9k_htc: Handle TX queue overflow
Stop/restart TX queues when the internal SKB queue is full. This helps handle TX better under heavy load. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
index 698e6f1a506a..e09c6c2c9e23 100644
--- a/drivers/net/wireless/ath/ath9k/htc.h
+++ b/drivers/net/wireless/ath/ath9k/htc.h
@@ -349,6 +349,9 @@ struct ath9k_htc_priv {
349 struct sk_buff *beacon; 349 struct sk_buff *beacon;
350 spinlock_t beacon_lock; 350 spinlock_t beacon_lock;
351 351
352 bool tx_queues_stop;
353 spinlock_t tx_lock;
354
352 struct ieee80211_vif *vif; 355 struct ieee80211_vif *vif;
353 unsigned int rxfilter; 356 unsigned int rxfilter;
354 struct tasklet_struct wmi_tasklet; 357 struct tasklet_struct wmi_tasklet;