From 37f8d725c7335b5ee711575b453ef17c5a13939d Mon Sep 17 00:00:00 2001 From: spuligil Date: Sat, 26 Oct 2024 06:01:39 -0700 Subject: [PATCH] fw-api: CL 27940458 - update fw common interface files Change-Id: I1aaf0cc8c56916a8fdb61452d81881cfe56ef536 CRs-Fixed: 3830439 --- fw/wmi_unified.h | 22 ++++++++++++++++------ fw/wmi_version.h | 2 +- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 83b3c6a552c8..072fccef2775 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4813,13 +4813,16 @@ typedef struct { * 0 -> disable the feature * 1 -> enable the feature * Refer to below WMI_RSRC_CFG_FLAGS2_ENABLE_WDS_NULL_FRAME_SUPPORT - * Bit 23 - enable feature optimize power - * 0 -> disable the feature - * 1 -> enable the feature + * Bits 24:23 - enable feature optimize power + * 00 -> default value + * (target will auto-select whether to enable the feature) + * 01 -> disable the feature + * 10 -> enable the feature + * 11 -> reserved * Refer to the below WMI_RSRC_CFG_FLAGS2_OPTIMIZE_POWER_GET/SET * macros. * - * Bits 31:24 - Reserved + * Bits 31:25 - Reserved */ A_UINT32 flags2; /** @brief host_service_flags - can be used by Host to indicate @@ -5350,9 +5353,9 @@ typedef struct { WMI_SET_BITS(flags2, 22, 1, value) #define WMI_RSRC_CFG_FLAGS2_OPTIMIZE_POWER_GET(flags2) \ - WMI_GET_BITS(flags2, 23, 1) + WMI_GET_BITS(flags2, 23, 2) #define WMI_RSRC_CFG_FLAGS2_OPTIMIZE_POWER_SET(flags2, value) \ - WMI_SET_BITS(flags2, 23, 1, value) + WMI_SET_BITS(flags2, 23, 2, value) #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \ @@ -26087,6 +26090,13 @@ typedef enum WMI_VENDOR_OUI_ACTION_RESTRICT_MAX_MLO_LINKS = WMI_VENDOR_OUI_ACTION_RESTRICT_MAX_2_MLO_LINKS, + /* + * Send Auth, Assoc request, Reassoc request frame with 6Mbps rate + * if specific vendor OUI recevied in beacon on 2GHz. + */ + WMI_VENDOR_OUI_ACTION_AUTH_ASSOC_6MBPS_2GHZ = 17, + + /* Add any action before this line */ WMI_VENDOR_OUI_ACTION_MAX_ACTION_ID } wmi_vendor_oui_action_id; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index dbb2cfdad77f..732799cd7ac7 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1544 +#define __WMI_REVISION_ 1545 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work