]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor interface to control maximum allowed bandwidth update type
authorAiny Kumari <quic_ainykuma@quicinc.com>
Thu, 25 May 2023 11:55:33 +0000 (17:25 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 22 Jun 2023 18:38:03 +0000 (21:38 +0300)
Add support to control maximum allowed bandwidth update type for
the current connection.

Signed-off-by: Ainy Kumari <quic_ainykuma@quicinc.com>
src/common/qca-vendor.h

index cb10d6c551f93900760828f658a9920055dd6169..45a71fc22a58b0a6cab714722f2123c4fe7b6eb0 100644 (file)
@@ -3094,6 +3094,29 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_UL_MU_CONFIG = 95,
 
+       /* 8-bit unsigned value. Optionally specified along with
+        * %QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH when STA is in connected
+        * state. This configuration is applicable only for the current
+        * connection. This configuration not allowed in disconnected state.
+        *
+        * valid values:
+        * 0 - The maximum allowed bandwidth change is applicable for both Tx
+        *      and Rx paths. The driver shall conduct OMI operation as defined
+        *      in 26.9 (Operating mode indication) or OMN operation as
+        *      defined in 11.40 (Notification of operating mode
+        *      changes) in IEEE P802.11-REVme/D2.0 with AP to indicate the
+        *      change in the maximum allowed operating bandwidth.
+        * 1 - Limit the change in maximum allowed bandwidth only to Tx path.
+        *      In this case the driver doesn't need to conduct OMI/OMN
+        *      operation since %QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH is
+        *      expected to be less than the current connection maximum
+        *      negotiated bandwidth.
+        *      For example: Negotiated maximum bandwidth is 160 MHz and the new
+        *      maximum bandwidth configured is 80 MHz, now the driver limits
+        *      the maximum bandwidth to 80 MHz only in the Tx path.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_CHAN_WIDTH_UPDATE_TYPE = 96,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =