From 1a28589b28626641c8ffa43f4816bf1c3cf81def Mon Sep 17 00:00:00 2001 From: Min Liu Date: Fri, 5 Jun 2020 11:55:26 +0800 Subject: [PATCH] QCA vendor attributes for setting channel width Define QCA vendor attribute in SET(GET)_WIFI_CONFIGURATION to dynamically configure capabilities for channel width. Signed-off-by: Min Liu --- src/common/qca-vendor.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index b81bbbe2a..a781f337e 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -2135,6 +2135,20 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_PHY_MODE = 62, + /* 8-bit unsigned value to configure the maximum supported channel width + * for STA mode. If this value is configured when STA is in connected + * state, it should not exceed the negotiated channel width. If it is + * configured when STA is in disconnected state, the configured value + * will take effect for the next immediate connection. + * Possible values are: + * NL80211_CHAN_WIDTH_20 + * NL80211_CHAN_WIDTH_40 + * NL80211_CHAN_WIDTH_80 + * NL80211_CHAN_WIDTH_80P80 + * NL80211_CHAN_WIDTH_160 + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH = 63, + /* 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.