summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-07-14 20:29:42 +0300
committerJohn W. Linville <linville@tuxdriver.com>2011-07-18 14:29:03 -0400
commit2683d65bb016a0533c25ead3025cbd24886cf35f (patch)
treeeb6f37fae2711030aeddc31c9482b36de85d0be0 /net/mac80211/ieee80211_i.h
parentb3c2ce131c7cd8c53b72b0cc04241cde17ce0c1d (diff)
downloadblackbird-op-linux-2683d65bb016a0533c25ead3025cbd24886cf35f.tar.gz
blackbird-op-linux-2683d65bb016a0533c25ead3025cbd24886cf35f.zip
mac80211: reconfigure tx on device reconfiguration
Add tx_conf array to save the current tx queues configuration, and reconfig it on resume (ieee80211_reconfig). On resume, the driver is being reconfigured. Without reconfiguring the tx queues as well, the driver might configure the device to use wrong ac params (e.g. ps-poll instead of uapsd). Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index dda0d1ab34f3..1b845bb49c41 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -746,6 +746,7 @@ struct ieee80211_local {
struct workqueue_struct *workqueue;
unsigned long queue_stop_reasons[IEEE80211_MAX_QUEUES];
+ struct ieee80211_tx_queue_params tx_conf[IEEE80211_MAX_QUEUES];
/* also used to protect ampdu_ac_queue and amdpu_ac_stop_refcnt */
spinlock_t queue_stop_reason_lock;
OpenPOWER on IntegriCloud