From 5cf91afeeb53502bbcafe3d8eb12cd4cde250002 Mon Sep 17 00:00:00 2001 From: Min Liu Date: Fri, 5 Jun 2020 12:15:24 +0800 Subject: [PATCH] QCA vendor attribute for dynamic bandwidth adjustment Define QCA vendor attribute in SET(GET)_WIFI_CONFIGURATION to dynamically configure capabilities for dynamic bandwidth adjustment. Signed-off-by: Min Liu --- src/common/qca-vendor.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index a781f337e..c6a19b7bf 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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.