From 960e8e53346e2e6163de436835ef440d615a879f Mon Sep 17 00:00:00 2001 From: Sunil Dutt Date: Wed, 27 May 2020 16:55:49 +0530 Subject: [PATCH] QCA vendor attribute to configure NSS Defines the attribute in SET(GET)_WIFI_CONFIGURATION to dynamically configure NSS. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index ea68beceb..bf29f12ba 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -2183,6 +2183,18 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_RX_STBC = 69, + /* 8-bit unsigned value. This attribute is used to dynamically configure + * the number of spatial streams. When configured in the disconnected + * state, the updated configuration will be considered for the + * immediately following connection attempt. If the NSS is updated after + * the connection, the updated NSS value is notified to the peer using + * the Operating Mode Notification/Spatial Multiplexing Power Save + * frame. The updated NSS value after the connection shall not be + * greater than the one negotiated during the connection. Any such + * higher value configuration shall be returned with a failure. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_NSS = 70, + /* keep last */ QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =