]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute to configure number of TX/RX chains
authorVamsi Krishna <vamsin@codeaurora.org>
Thu, 6 Aug 2020 07:31:49 +0000 (13:01 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 12 Aug 2020 07:25:52 +0000 (10:25 +0300)
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 <jouni@codeaurora.org>
src/common/qca-vendor.h

index e31f2d251446e8f58d15b12be531543489d85871..e1a57f67bae2eff73f3afea0ed78d93c475530ae 100644 (file)
@@ -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 =