From 91783b21bea422d776e3d3b02e32ab14e0d948be Mon Sep 17 00:00:00 2001 From: Nirav Shah Date: Wed, 21 Jun 2023 20:56:29 +0530 Subject: [PATCH] Define a QCA vendor attribute to configure UL MU transmission Define a new QCA vendor attribute to enable/suspend trigger based UL MU transmission. Signed-off-by: Prasanna JS --- src/common/qca-vendor.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 8229f0718..76d68bf48 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -3042,6 +3042,22 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_CTS_CHANNEL_WIDTH = 94, + /* 8-bit unsigned value. This attribute is used to dynamically + * enable/suspend trigger based UL MU transmission. + * This is supported in STA mode and the device sends Operating + * Mode Indication to inform the change as described in + * IEEE Std 802.11ax-2021, 26.9. + * + * This attribute can be configured when the STA is associated + * to an AP and the configuration is maintained until the current + * association terminates. + * + * By default all UL MU transmissions are enabled. + * + * Uses enum qca_ul_mu_config values. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_UL_MU_CONFIG = 95, + /* keep last */ QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_MAX = @@ -3056,6 +3072,16 @@ enum qca_wlan_vendor_attr_config { #define QCA_WLAN_VENDOR_ATTR_BEACON_REPORT_FAIL \ QCA_WLAN_VENDOR_ATTR_CONFIG_BEACON_REPORT_FAIL +/** + * enum qca_ul_mu_config - UL MU configuration + * @QCA_UL_MU_SUSPEND - All trigger based UL MU transmission is suspended + * @QCA_UL_MU_ENABLE - All trigger based UL MU transmission is enabled + */ +enum qca_ul_mu_config { + QCA_UL_MU_SUSPEND = 0, + QCA_UL_MU_ENABLE = 1, +}; + /** * enum qca_dbam_config - Specifies DBAM config mode * @QCA_DBAM_DISABLE: Firmware disables DBAM