]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor attribute for dynamic bandwidth adjustment
authorMin Liu <minliu@codeaurora.org>
Fri, 5 Jun 2020 04:15:24 +0000 (12:15 +0800)
committerJouni Malinen <j@w1.fi>
Sat, 6 Jun 2020 12:18:13 +0000 (15:18 +0300)
Define QCA vendor attribute in SET(GET)_WIFI_CONFIGURATION to
dynamically configure capabilities for dynamic bandwidth adjustment.

Signed-off-by: Min Liu <minliu@codeaurora.org>
src/common/qca-vendor.h

index a781f337e029e1363dbab0d09b00892461294211..c6a19b7bfdfb3c687806c971611e342ca7c1928b 100644 (file)
@@ -2149,6 +2149,14 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH = 63,
 
+       /* 8-bit unsigned value to enable/disable dynamic bandwidth adjustment.
+        * This attribute is only applicable for STA mode. When dynamic
+        * bandwidth adjustment is disabled, STA will use static channel width
+        * the value of which is negotiated during connection.
+        * 1-enable (default), 0-disable
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_DYNAMIC_BW = 64,
+
        /* 8-bit unsigned value to configure the maximum number of subframes of
         * TX MSDU for aggregation. Possible values are 0-31. When set to 0,
         * it is decided by the hardware.