aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h12
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 */
3138struct 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