From 42cd2376fdeb4d5abb629b3f79c7d043f964b9e0 Mon Sep 17 00:00:00 2001 From: mukul sharma Date: Wed, 10 Jan 2024 15:44:32 +0530 Subject: [PATCH] Enhance QCA vendor interface with new SAR version numbers Add more SAR version numbers in the qca_wlan_vendor_sar_version. Signed-off-by: Mukul Sharma --- src/common/qca-vendor.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index bf996852b..5e62715e7 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -15021,12 +15021,25 @@ enum qca_wlan_vendor_attr_mlo_links { * CTL group but user can choose up to 3 SAR set index only, as the top half * of the SAR index (0 to 2) is used for non DBS purpose and the bottom half of * the SAR index (3 to 5) is used for DBS mode. + * + * @QCA_WLAN_VENDOR_SAR_VERSION_4: The firmware supports SAR version 4, + * known as SAR Smart Transmit (STX) mode. STX is time averaging algorithmic + * for power limit computation in collaboration with WWAN. + * In STX mode, firmware has 41 indexes and there is no ctl grouping uses. + * + * @QCA_WLAN_VENDOR_SAR_VERSION_5: The firmware supports SAR version 5, + * known as TAS (Time Averaging SAR) mode. In TAS mode, as name implies + * instead of fixed static SAR power limit firmware uses time averaging + * to adjust the SAR limit dynamically. It is wlan soc standalone mechanism. + * In this mode firmware has up to 43 indexes. */ enum qca_wlan_vendor_sar_version { QCA_WLAN_VENDOR_SAR_VERSION_INVALID = 0, QCA_WLAN_VENDOR_SAR_VERSION_1 = 1, QCA_WLAN_VENDOR_SAR_VERSION_2 = 2, QCA_WLAN_VENDOR_SAR_VERSION_3 = 3, + QCA_WLAN_VENDOR_SAR_VERSION_4 = 4, + QCA_WLAN_VENDOR_SAR_VERSION_5 = 5, }; /**