aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-07 16:24:55 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-02-15 03:41:34 -0500
commitbee7f58699a406a4210ba9e0367bae7ac666abd0 (patch)
tree9925ff46a41d09667fe797460b2d3ccb07fed4dd /net/mac80211/rx.c
parent18942d3be0e0e67aa40550ce3266e48b51845d52 (diff)
mac80211: handle operating mode notif in beacon/assoc response
In beacons and association response frames an AP may include an operating mode notification element to advertise changes in the number of spatial streams it can receive. Handle this using the existing function that handles the action frame, but only handle NSS changes, not bandwidth changes which aren't allowed here. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 1617e0bd4ca6..30f1ba6de8f3 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2459,7 +2459,8 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
2459 opmode = mgmt->u.action.u.vht_opmode_notif.operating_mode; 2459 opmode = mgmt->u.action.u.vht_opmode_notif.operating_mode;
2460 2460
2461 ieee80211_vht_handle_opmode(rx->sdata, rx->sta, 2461 ieee80211_vht_handle_opmode(rx->sdata, rx->sta,
2462 opmode, status->band); 2462 opmode, status->band,
2463 false);
2463 goto handled; 2464 goto handled;
2464 } 2465 }
2465 default: 2466 default: