aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/work.c
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2010-01-12 03:42:39 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-12 14:21:00 -0500
commit50ae0cf15c3da2f6a8e4558de5010923e84736b2 (patch)
treea524720a3da8eac3e08ef7dd7ec67d0f30283f78 /net/mac80211/work.c
parentab13315af97919fae0e014748105fdc2e30afb2d (diff)
mac80211: add debugfs interface for U-APSD queue configuration
Because it's not yet decided how to configure which queues are U-APSD enabled, add a debugfs interface for testing purposes. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/work.c')
-rw-r--r--net/mac80211/work.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/work.c b/net/mac80211/work.c
index a74fd6ee0083..81bd5d592bb4 100644
--- a/net/mac80211/work.c
+++ b/net/mac80211/work.c
@@ -376,8 +376,8 @@ static void ieee80211_send_assoc(struct ieee80211_sub_if_data *sdata,
376 376
377 if (wk->assoc.wmm_used && local->hw.queues >= 4) { 377 if (wk->assoc.wmm_used && local->hw.queues >= 4) {
378 if (wk->assoc.uapsd_used) { 378 if (wk->assoc.uapsd_used) {
379 qos_info = IEEE80211_DEFAULT_UAPSD_QUEUES; 379 qos_info = local->uapsd_queues;
380 qos_info |= (IEEE80211_DEFAULT_MAX_SP_LEN << 380 qos_info |= (local->uapsd_max_sp_len <<
381 IEEE80211_WMM_IE_STA_QOSINFO_SP_SHIFT); 381 IEEE80211_WMM_IE_STA_QOSINFO_SP_SHIFT);
382 } else { 382 } else {
383 qos_info = 0; 383 qos_info = 0;