aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>2014-01-08 02:46:02 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-02-04 15:48:11 -0500
commit0b9323f600a3e80a488e3bd14ddfa85b294e630d (patch)
tree0484780aeed03759a03edd28d8aa27289e14416d /include/uapi
parent4b5800fec6173765207abded99df3d692ed55691 (diff)
nl80211: add Guard Interval support for set_bitrate_mask
Allow to force SGI, LGI. Mainly for test purpose. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nl80211.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 9a86c8bf6da6..53e56cf7c0fe 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -3156,6 +3156,7 @@ enum nl80211_key_attributes {
3156 * in an array of MCS numbers. 3156 * in an array of MCS numbers.
3157 * @NL80211_TXRATE_VHT: VHT rates allowed for TX rate selection, 3157 * @NL80211_TXRATE_VHT: VHT rates allowed for TX rate selection,
3158 * see &struct nl80211_txrate_vht 3158 * see &struct nl80211_txrate_vht
3159 * @NL80211_TXRATE_GI: configure GI, see &enum nl80211_txrate_gi
3159 * @__NL80211_TXRATE_AFTER_LAST: internal 3160 * @__NL80211_TXRATE_AFTER_LAST: internal
3160 * @NL80211_TXRATE_MAX: highest TX rate attribute 3161 * @NL80211_TXRATE_MAX: highest TX rate attribute
3161 */ 3162 */
@@ -3164,6 +3165,7 @@ enum nl80211_tx_rate_attributes {
3164 NL80211_TXRATE_LEGACY, 3165 NL80211_TXRATE_LEGACY,
3165 NL80211_TXRATE_HT, 3166 NL80211_TXRATE_HT,
3166 NL80211_TXRATE_VHT, 3167 NL80211_TXRATE_VHT,
3168 NL80211_TXRATE_GI,
3167 3169
3168 /* keep last */ 3170 /* keep last */
3169 __NL80211_TXRATE_AFTER_LAST, 3171 __NL80211_TXRATE_AFTER_LAST,
@@ -3181,6 +3183,12 @@ struct nl80211_txrate_vht {
3181 __u16 mcs[NL80211_VHT_NSS_MAX]; 3183 __u16 mcs[NL80211_VHT_NSS_MAX];
3182}; 3184};
3183 3185
3186enum nl80211_txrate_gi {
3187 NL80211_TXRATE_DEFAULT_GI,
3188 NL80211_TXRATE_FORCE_SGI,
3189 NL80211_TXRATE_FORCE_LGI,
3190};
3191
3184/** 3192/**
3185 * enum nl80211_band - Frequency band 3193 * enum nl80211_band - Frequency band
3186 * @NL80211_BAND_2GHZ: 2.4 GHz ISM band 3194 * @NL80211_BAND_2GHZ: 2.4 GHz ISM band