aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGaole Zhang <gaolez@qti.qualcomm.com>2017-03-01 07:56:32 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-01 09:55:04 (GMT)
commit21ac782797b9ce5fe61284a87d573b5d02a81b27 (patch)
treeb70e553640649afc94ef504f157a3c201bd28168 /src
parent622bc51f5add084c6f1cb83487ac110b52f0a93b (diff)
downloadhostap-21ac782797b9ce5fe61284a87d573b5d02a81b27.zip
hostap-21ac782797b9ce5fe61284a87d573b5d02a81b27.tar.gz
hostap-21ac782797b9ce5fe61284a87d573b5d02a81b27.tar.bz2
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 <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/qca-vendor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 934f09d..209944d 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,