diff options
author | Mahesh Palivela <maheshp@posedge.com> | 2012-06-22 03:27:46 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-28 07:08:34 -0400 |
commit | bf0c111ec80355ee9fe2e2bdb609a536b54768d8 (patch) | |
tree | 9a2f8b805b588948015bcf8350425a9e6b66560e /include/net/cfg80211.h | |
parent | ce0e169529a2db1cd910d2d45a5713fcdc29f6e1 (diff) |
cfg80211: allow advertising VHT capabilities
Allow drivers to advertise their VHT capabilities
and export them to userspace via nl80211.
Signed-off-by: Mahesh Palivela <maheshp@posedge.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 7d3cd3ce9a26..1fc89c4f930c 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -211,6 +211,22 @@ struct ieee80211_sta_ht_cap { | |||
211 | }; | 211 | }; |
212 | 212 | ||
213 | /** | 213 | /** |
214 | * struct ieee80211_sta_vht_cap - STA's VHT capabilities | ||
215 | * | ||
216 | * This structure describes most essential parameters needed | ||
217 | * to describe 802.11ac VHT capabilities for an STA. | ||
218 | * | ||
219 | * @vht_supported: is VHT supported by the STA | ||
220 | * @cap: VHT capabilities map as described in 802.11ac spec | ||
221 | * @vht_mcs: Supported VHT MCS rates | ||
222 | */ | ||
223 | struct ieee80211_sta_vht_cap { | ||
224 | bool vht_supported; | ||
225 | u32 cap; /* use IEEE80211_VHT_CAP_ */ | ||
226 | struct ieee80211_vht_mcs_info vht_mcs; | ||
227 | }; | ||
228 | |||
229 | /** | ||
214 | * struct ieee80211_supported_band - frequency band definition | 230 | * struct ieee80211_supported_band - frequency band definition |
215 | * | 231 | * |
216 | * This structure describes a frequency band a wiphy | 232 | * This structure describes a frequency band a wiphy |
@@ -233,6 +249,7 @@ struct ieee80211_supported_band { | |||
233 | int n_channels; | 249 | int n_channels; |
234 | int n_bitrates; | 250 | int n_bitrates; |
235 | struct ieee80211_sta_ht_cap ht_cap; | 251 | struct ieee80211_sta_ht_cap ht_cap; |
252 | struct ieee80211_sta_vht_cap vht_cap; | ||
236 | }; | 253 | }; |
237 | 254 | ||
238 | /* | 255 | /* |