From 61c249c490d5bad6f158987c0bc02c696e986055 Mon Sep 17 00:00:00 2001 From: Vamsi Krishna Date: Thu, 6 Aug 2020 13:01:49 +0530 Subject: [PATCH] Add QCA vendor attribute to configure number of TX/RX chains Add support to configure the number of TX chains and the number of RX chains to be used during a connection. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index e31f2d251..e1a57f67b 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -2273,6 +2273,23 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE = 72, + /* 8-bit unsigned value. This attribute is used to dynamically configure + * the number of chains to be used for transmitting data. This + * configuration is allowed only when in connected state and will be + * effective until disconnected. The driver rejects this configuration + * if the number of spatial streams being used in the current connection + * cannot be supported by this configuration. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_NUM_TX_CHAINS = 73, + /* 8-bit unsigned value. This attribute is used to dynamically configure + * the number of chains to be used for receiving data. This + * configuration is allowed only when in connected state and will be + * effective until disconnected. The driver rejects this configuration + * if the number of spatial streams being used in the current connection + * cannot be supported by this configuration. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_NUM_RX_CHAINS = 74, + /* keep last */ QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =