aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorMahesh Palivela <maheshp@posedge.com>2012-10-10 07:33:04 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-10-17 05:02:14 -0400
commit818255ea47709065c53c86ca47fce96d8580bee1 (patch)
tree8557aca0148c4157ac580f6b3b11a6e94215714f /include/net/mac80211.h
parentd4950281d72d8845225e3a39dbeb366c40c824c9 (diff)
mac80211: VHT peer STA caps
Save the AP's VHT capabilities (in managed mode) and make them available to the driver in the station information. Unlike HT capabilities, they aren't restricted to the common capabilities, so drivers must be aware of their own capabilities. Signed-off-by: Mahesh Palivela <maheshp@posedge.com> [fix endian conversion bug ...] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index f12df5bb529f..89d5bba28e05 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1122,6 +1122,8 @@ enum ieee80211_sta_state {
1122 * @aid: AID we assigned to the station if we're an AP 1122 * @aid: AID we assigned to the station if we're an AP
1123 * @supp_rates: Bitmap of supported rates (per band) 1123 * @supp_rates: Bitmap of supported rates (per band)
1124 * @ht_cap: HT capabilities of this STA; restricted to our own TX capabilities 1124 * @ht_cap: HT capabilities of this STA; restricted to our own TX capabilities
1125 * @vht_cap: VHT capabilities of this STA; Not restricting any capabilities
1126 * of remote STA. Taking as is.
1125 * @wme: indicates whether the STA supports WME. Only valid during AP-mode. 1127 * @wme: indicates whether the STA supports WME. Only valid during AP-mode.
1126 * @drv_priv: data area for driver use, will always be aligned to 1128 * @drv_priv: data area for driver use, will always be aligned to
1127 * sizeof(void *), size is determined in hw information. 1129 * sizeof(void *), size is determined in hw information.
@@ -1134,6 +1136,7 @@ struct ieee80211_sta {
1134 u8 addr[ETH_ALEN]; 1136 u8 addr[ETH_ALEN];
1135 u16 aid; 1137 u16 aid;
1136 struct ieee80211_sta_ht_cap ht_cap; 1138 struct ieee80211_sta_ht_cap ht_cap;
1139 struct ieee80211_sta_vht_cap vht_cap;
1137 bool wme; 1140 bool wme;
1138 u8 uapsd_queues; 1141 u8 uapsd_queues;
1139 u8 max_sp; 1142 u8 max_sp;