From cc8a09a48a5c99189adff9de4f390b00e86706d2 Mon Sep 17 00:00:00 2001 From: Gururaj Pandurangi Date: Wed, 19 Apr 2023 15:59:11 -0700 Subject: Add vendor attributes for forcing MLO power save and STR TX Add vendor attributes for EHT testbed STA configuration. This includes enabling STR MLMR mode and forcing power save on active MLO links for a defined number of beacon periods. Signed-off-by: Gururaj Pandurangi --- src/common/qca-vendor.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 9af2b92b8..545a0673c 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -9516,6 +9516,25 @@ enum qca_wlan_vendor_attr_wifi_test_config { */ QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_EMLSR_PADDING_DELAY = 68, + /* + * 8-bit unsigned value to indicate the firmware to force the active MLO + * links to power save mode for the configured number of beacon periods. + * This allows the firmware to suspend STA links for X beacon periods + * and remain asleep even if the AP advertises TIM as opposed to regular + * power save mode where STA links wake up if the AP indicates that it + * has buffered data to send. + * This attribute is used to configure the testbed device. + */ + QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_FORCE_MLO_POWER_SAVE_BCN_PERIOD = 69, + + /* + * 8-bit unsigned value to indicate the firmware to be in STR MLMR mode + * to enable simultaneous transmission of PPDUs on all active links. + * 0 - Default behavior + * 1 - Enter STR mode for simultaneous data transmission on all links + */ + QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_EHT_MLO_STR_TX = 70, + /* keep last */ QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_MAX = -- cgit v1.2.1