From: Gaole Zhang Date: Wed, 1 Mar 2017 07:56:32 +0000 (+0800) Subject: QCA nl80211 vendor attribute for specific sub-20 MHz channel width X-Git-Tag: hostap_2_7~1523 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21ac782797b9ce5fe61284a87d573b5d02a81b27;p=thirdparty%2Fhostap.git QCA nl80211 vendor attribute for specific sub-20 MHz channel width Define a new attribute QCA_WLAN_VENDOR_ATTR_CONFIG_SUB20_CHAN_WIDTH. This attribute can set a station device to work in 5 or 10 MHz channel width while in disconnect state. Signed-off-by: Jouni Malinen --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 934f09d71..209944d1d 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -1133,6 +1133,14 @@ enum qca_wlan_vendor_attr_config { QCA_WLAN_VENDOR_ATTR_CONFIG_BEACON_MISS_THRESHOLD_24 = 37, /* 8-bit unsigned value to set the beacon miss threshold in 5 GHz */ QCA_WLAN_VENDOR_ATTR_CONFIG_BEACON_MISS_THRESHOLD_5 = 38, + /* 32-bit unsigned value to configure 5 or 10 MHz channel width for + * station device while in disconnect state. The attribute use the + * value of enum nl80211_chan_width: NL80211_CHAN_WIDTH_5 means 5 MHz, + * NL80211_CHAN_WIDTH_10 means 10 MHz. If set, the device work in 5 or + * 10 MHz channel width, the station will not connect to a BSS using 20 + * MHz or higher bandwidth. Set to NL80211_CHAN_WIDTH_20_NOHT to + * clear this constraint. */ + QCA_WLAN_VENDOR_ATTR_CONFIG_SUB20_CHAN_WIDTH = 39, /* keep last */ QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,