diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-12-27 12:55:36 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-15 03:41:32 -0500 |
commit | 0af83d3df5863224336a18c24a14fda542b712f5 (patch) | |
tree | fa6a365edab208a78941ef80084afc0aaca87813 /include | |
parent | 8921d04e8df7475d733d853564bdb001e83bf33f (diff) |
mac80211: handle VHT operating mode notification
Handle the operating mode notification action frame.
When the supported streams or the bandwidth change
let the driver and rate control algorithm know.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ieee80211.h | 1 | ||||
-rw-r--r-- | include/net/mac80211.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 67c1a6c45837..12b5996533ec 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -1301,6 +1301,7 @@ struct ieee80211_vht_operation { | |||
1301 | #define IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 0x00000002 | 1301 | #define IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 0x00000002 |
1302 | #define IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ 0x00000004 | 1302 | #define IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ 0x00000004 |
1303 | #define IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ 0x00000008 | 1303 | #define IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ 0x00000008 |
1304 | #define IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK 0x0000000C | ||
1304 | #define IEEE80211_VHT_CAP_RXLDPC 0x00000010 | 1305 | #define IEEE80211_VHT_CAP_RXLDPC 0x00000010 |
1305 | #define IEEE80211_VHT_CAP_SHORT_GI_80 0x00000020 | 1306 | #define IEEE80211_VHT_CAP_SHORT_GI_80 0x00000020 |
1306 | #define IEEE80211_VHT_CAP_SHORT_GI_160 0x00000040 | 1307 | #define IEEE80211_VHT_CAP_SHORT_GI_160 0x00000040 |
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index a608ab9879b4..b7fb311e83f4 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -2118,11 +2118,14 @@ enum ieee80211_frame_release_type { | |||
2118 | * @IEEE80211_RC_SUPP_RATES_CHANGED: The supported rate set of this peer | 2118 | * @IEEE80211_RC_SUPP_RATES_CHANGED: The supported rate set of this peer |
2119 | * changed (in IBSS mode) due to discovering more information about | 2119 | * changed (in IBSS mode) due to discovering more information about |
2120 | * the peer. | 2120 | * the peer. |
2121 | * @IEEE80211_RC_NSS_CHANGED: N_SS (number of spatial streams) was changed | ||
2122 | * by the peer | ||
2121 | */ | 2123 | */ |
2122 | enum ieee80211_rate_control_changed { | 2124 | enum ieee80211_rate_control_changed { |
2123 | IEEE80211_RC_BW_CHANGED = BIT(0), | 2125 | IEEE80211_RC_BW_CHANGED = BIT(0), |
2124 | IEEE80211_RC_SMPS_CHANGED = BIT(1), | 2126 | IEEE80211_RC_SMPS_CHANGED = BIT(1), |
2125 | IEEE80211_RC_SUPP_RATES_CHANGED = BIT(2), | 2127 | IEEE80211_RC_SUPP_RATES_CHANGED = BIT(2), |
2128 | IEEE80211_RC_NSS_CHANGED = BIT(3), | ||
2126 | }; | 2129 | }; |
2127 | 2130 | ||
2128 | /** | 2131 | /** |