History

nl80211: add Guard Interval support for set_bitrate_mask

Allow to force SGI, LGI. Mainly for test purpose.

Janusz Dziedzic committed 12 years ago

Commit 0b9323f1 parent 4b5800f3 files · +16 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+8−0
@@ -3156,6 +3156,7 @@ enum nl80211_key_attributes { · 3155 unmodified lines
31563156 * in an array of MCS numbers.
31573157 * @NL80211_TXRATE_VHT: VHT rates allowed for TX rate selection,
31583158 * see &struct nl80211_txrate_vht
3159+ * @NL80211_TXRATE_GI: configure GI, see &enum nl80211_txrate_gi
31593160 * @__NL80211_TXRATE_AFTER_LAST: internal
31603161 * @NL80211_TXRATE_MAX: highest TX rate attribute
31613162 */
@@ -3164,6 +3165,7 @@ enum nl80211_tx_rate_attributes { · 2 unmodified lines
31643165 NL80211_TXRATE_LEGACY,
31653166 NL80211_TXRATE_HT,
31663167 NL80211_TXRATE_VHT,
3168+ NL80211_TXRATE_GI,
31673169
31683170 /* keep last */
31693171 __NL80211_TXRATE_AFTER_LAST,
@@ -3181,6 +3183,12 @@ struct nl80211_txrate_vht { · 11 unmodified lines
31813183 __u16 mcs[NL80211_VHT_NSS_MAX];
31823184 };
31833185
3186+enum nl80211_txrate_gi {
3187+ NL80211_TXRATE_DEFAULT_GI,
3188+ NL80211_TXRATE_FORCE_SGI,
3189+ NL80211_TXRATE_FORCE_LGI,
3190+};
3191+
31843192 /**
31853193 * enum nl80211_band - Frequency band
31863194 * @NL80211_BAND_2GHZ: 2.4 GHz ISM band