summaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorJohannes Berg2012-12-27 18:55:36 +0100
committerJohannes Berg2013-02-15 09:41:32 +0100
commit0af83d3df5863224336a18c24a14fda542b712f5 (patch)
treefa6a365edab208a78941ef80084afc0aaca87813 /net/mac80211/sta_info.h
parentmac80211: track number of spatial streams (diff)
downloadkernel-qcow2-linux-0af83d3df5863224336a18c24a14fda542b712f5.tar.gz
kernel-qcow2-linux-0af83d3df5863224336a18c24a14fda542b712f5.tar.xz
kernel-qcow2-linux-0af83d3df5863224336a18c24a14fda542b712f5.zip
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 'net/mac80211/sta_info.h')
-rw-r--r--net/mac80211/sta_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index 03c42f8d39f0..63dfdb5e91da 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -297,6 +297,8 @@ struct sta_ampdu_mlme {
* @sta_state: duplicates information about station state (for debug)
* @beacon_loss_count: number of times beacon loss has triggered
* @rcu_head: RCU head used for freeing this station struct
+ * @cur_max_bandwidth: maximum bandwidth to use for TX to the station,
+ * taken from HT/VHT capabilities or VHT operating mode notification
*/
struct sta_info {
/* General information, mostly static */
@@ -398,6 +400,8 @@ struct sta_info {
} debugfs;
#endif
+ enum ieee80211_sta_rx_bandwidth cur_max_bandwidth;
+
unsigned int lost_packets;
unsigned int beacon_loss_count;