diff options
author | Eliad Peller <eliad@wizery.com> | 2011-08-23 13:37:47 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-26 16:47:56 +0200 |
commit | 9533b4ac86e20656d95f25e536c81c994e5f57a6 (patch) | |
tree | a536c82bddcd66c41dfee63526b9499313a4734a /net | |
parent | nl80211/cfg80211: add STA WME parameters (diff) | |
download | linux-9533b4ac86e20656d95f25e536c81c994e5f57a6.tar.xz linux-9533b4ac86e20656d95f25e536c81c994e5f57a6.zip |
mac80211: add uapsd_queues and max_sp params fields
Add uapsd_queues and max_sp fields to ieee80211_sta.
These fields might be needed by low-level drivers in
order to configure the AP.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/cfg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 6ab67ab34b5c..0baaaecf4558 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -697,6 +697,9 @@ static void sta_apply_parameters(struct ieee80211_local *local, } spin_unlock_irqrestore(&sta->flaglock, flags); + sta->sta.uapsd_queues = params->uapsd_queues; + sta->sta.max_sp = params->max_sp; + /* * cfg80211 validates this (1-2007) and allows setting the AID * only when creating a new station entry |