aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-27 12:26:42 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-02-15 03:41:31 -0500
commit8921d04e8df7475d733d853564bdb001e83bf33f (patch)
tree44961c6570025b439e7f6b905819d6e54e2d6b43 /include/net
parent7bf9b9a0f0372d45b581f00173505fb76a9c5d23 (diff)
mac80211: track number of spatial streams
With VHT, a station can change the number of spatial streams it can receive on the fly, not unlike spatial multiplexing in HT. Prepare for that by tracking the maximum number of spatial streams it can receive when the connection is established. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 1e3b4f730397..a608ab9879b4 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1237,6 +1237,10 @@ enum ieee80211_sta_rx_bandwidth {
1237 * if wme is supported. 1237 * if wme is supported.
1238 * @max_sp: max Service Period. Only valid if wme is supported. 1238 * @max_sp: max Service Period. Only valid if wme is supported.
1239 * @bandwidth: current bandwidth the station can receive with 1239 * @bandwidth: current bandwidth the station can receive with
1240 * @rx_nss: in HT/VHT, the maximum number of spatial streams the
1241 * station can receive at the moment, changed by operating mode
1242 * notifications and capabilities. The value is only valid after
1243 * the station moves to associated state.
1240 */ 1244 */
1241struct ieee80211_sta { 1245struct ieee80211_sta {
1242 u32 supp_rates[IEEE80211_NUM_BANDS]; 1246 u32 supp_rates[IEEE80211_NUM_BANDS];
@@ -1247,6 +1251,7 @@ struct ieee80211_sta {
1247 bool wme; 1251 bool wme;
1248 u8 uapsd_queues; 1252 u8 uapsd_queues;
1249 u8 max_sp; 1253 u8 max_sp;
1254 u8 rx_nss;
1250 enum ieee80211_sta_rx_bandwidth bandwidth; 1255 enum ieee80211_sta_rx_bandwidth bandwidth;
1251 1256
1252 /* must be last */ 1257 /* must be last */