aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
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/ieee80211_i.h
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/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 4947c91c6c86..892bac64a189 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1197,6 +1197,7 @@ struct ieee802_11_elems {
1197 u8 *pwr_constr_elem; 1197 u8 *pwr_constr_elem;
1198 u8 *quiet_elem; /* first quite element */ 1198 u8 *quiet_elem; /* first quite element */
1199 u8 *timeout_int; 1199 u8 *timeout_int;
1200 u8 *opmode_notif;
1200 1201
1201 /* length of them, respectively */ 1202 /* length of them, respectively */
1202 u8 ssid_len; 1203 u8 ssid_len;
@@ -1435,7 +1436,7 @@ enum ieee80211_sta_rx_bandwidth ieee80211_sta_cur_vht_bw(struct sta_info *sta);
1435void ieee80211_sta_set_rx_nss(struct sta_info *sta); 1436void ieee80211_sta_set_rx_nss(struct sta_info *sta);
1436void ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata, 1437void ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata,
1437 struct sta_info *sta, u8 opmode, 1438 struct sta_info *sta, u8 opmode,
1438 enum ieee80211_band band); 1439 enum ieee80211_band band, bool nss_only);
1439 1440
1440/* Spectrum management */ 1441/* Spectrum management */
1441void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata, 1442void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata,