diff options
| author | Janusz Dziedzic <janusz.dziedzic@tieto.com> | 2013-12-05 14:42:58 -0500 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 10:05:17 -0500 |
| commit | 204e35a91c4b3327b7239d7687fbd4923edbbf08 (patch) | |
| tree | 5cdcf56ed93325e22a9554e3be803278ed0b8c7b /include/uapi/linux | |
| parent | 31f1f4ec51bd264ba133ff0211b241546ba95c9d (diff) | |
nl80211: add VHT support for set_bitrate_mask
Add VHT MCS/NSS set support for nl80211_set_tx_bitrate_mask().
This should be used mainly for test purpose, to check
different MCS/NSS VHT combinations.
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/nl80211.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 6e700645cd27..e1307909ecf1 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
| @@ -3112,6 +3112,8 @@ enum nl80211_key_attributes { | |||
| 3112 | * %NL80211_MAX_SUPP_RATES in a single array). | 3112 | * %NL80211_MAX_SUPP_RATES in a single array). |
| 3113 | * @NL80211_TXRATE_HT: HT (MCS) rates allowed for TX rate selection | 3113 | * @NL80211_TXRATE_HT: HT (MCS) rates allowed for TX rate selection |
| 3114 | * in an array of MCS numbers. | 3114 | * in an array of MCS numbers. |
| 3115 | * @NL80211_TXRATE_VHT: VHT rates allowed for TX rate selection, | ||
| 3116 | * see &struct nl80211_txrate_vht | ||
| 3115 | * @__NL80211_TXRATE_AFTER_LAST: internal | 3117 | * @__NL80211_TXRATE_AFTER_LAST: internal |
| 3116 | * @NL80211_TXRATE_MAX: highest TX rate attribute | 3118 | * @NL80211_TXRATE_MAX: highest TX rate attribute |
| 3117 | */ | 3119 | */ |
| @@ -3119,6 +3121,7 @@ enum nl80211_tx_rate_attributes { | |||
| 3119 | __NL80211_TXRATE_INVALID, | 3121 | __NL80211_TXRATE_INVALID, |
| 3120 | NL80211_TXRATE_LEGACY, | 3122 | NL80211_TXRATE_LEGACY, |
| 3121 | NL80211_TXRATE_HT, | 3123 | NL80211_TXRATE_HT, |
| 3124 | NL80211_TXRATE_VHT, | ||
| 3122 | 3125 | ||
| 3123 | /* keep last */ | 3126 | /* keep last */ |
| 3124 | __NL80211_TXRATE_AFTER_LAST, | 3127 | __NL80211_TXRATE_AFTER_LAST, |
| @@ -3126,6 +3129,15 @@ enum nl80211_tx_rate_attributes { | |||
| 3126 | }; | 3129 | }; |
| 3127 | 3130 | ||
| 3128 | #define NL80211_TXRATE_MCS NL80211_TXRATE_HT | 3131 | #define NL80211_TXRATE_MCS NL80211_TXRATE_HT |
| 3132 | #define NL80211_VHT_NSS_MAX 8 | ||
| 3133 | |||
| 3134 | /** | ||
| 3135 | * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap | ||
| 3136 | * @mcs: MCS bitmap table for each NSS (array index 0 for 1 stream, etc.) | ||
| 3137 | */ | ||
| 3138 | struct nl80211_txrate_vht { | ||
| 3139 | __u16 mcs[NL80211_VHT_NSS_MAX]; | ||
| 3140 | }; | ||
| 3129 | 3141 | ||
| 3130 | /** | 3142 | /** |
| 3131 | * enum nl80211_band - Frequency band | 3143 | * enum nl80211_band - Frequency band |
