aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorMarek Kwaczynski <marek.kwaczynski@tieto.com>2014-02-03 08:44:44 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-02-05 08:03:23 -0500
commitb1bce14a7954790d0fd3bba29375a65aa96fc57c (patch)
tree167db77bcc08a2241de6aba667508aebf17f792c /net/mac80211/ieee80211_i.h
parent9752482083066af7ac18a5ca376ff35d72418b29 (diff)
mac80211: update opmode when adding new station
Update the operating mode field is needed when an association request contains the operating mode notification element and it's not just changed later on the fly. Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com> [clarify commit log, comments & fix whitespace] 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, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index d37dc75baffd..0014b5396ce5 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1556,6 +1556,9 @@ ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata,
1556 struct sta_info *sta); 1556 struct sta_info *sta);
1557enum ieee80211_sta_rx_bandwidth ieee80211_sta_cur_vht_bw(struct sta_info *sta); 1557enum ieee80211_sta_rx_bandwidth ieee80211_sta_cur_vht_bw(struct sta_info *sta);
1558void ieee80211_sta_set_rx_nss(struct sta_info *sta); 1558void ieee80211_sta_set_rx_nss(struct sta_info *sta);
1559u32 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata,
1560 struct sta_info *sta, u8 opmode,
1561 enum ieee80211_band band, bool nss_only);
1559void ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata, 1562void ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata,
1560 struct sta_info *sta, u8 opmode, 1563 struct sta_info *sta, u8 opmode,
1561 enum ieee80211_band band, bool nss_only); 1564 enum ieee80211_band band, bool nss_only);