From d98e80ccf48c262c05785f0644092c9cbeca3ace Mon Sep 17 00:00:00 2001 From: spuligil Date: Mon, 2 Jun 2025 06:01:32 -0700 Subject: [PATCH] fw-api: CL 29372661 - update fw common interface files Change-Id: Id4b884a996761451c8fcf15117c7f4a3ccc7419d CRs-Fixed: 3830439 --- fw/wmi_unified.h | 15 ++++++++++++++- fw/wmi_version.h | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 28803ef1f057..1941b3620be8 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -5018,8 +5018,15 @@ typedef struct { * below WMI Events: * WMI_REG_CHAN_LIST_CC_EXT_EVENTID, WMI_AFC_EVENTID, and * WMI_HW_BLACKLIST_CHAN_EVENTID + * Bit 22 + * This bit will be set by host to inform FW that AFC handling + * is supported in the default cc event id. Based on this flag, + * FW will send the AFC event in the default cc event id if the + * country supports SP regulatory rules. + * Refer to the below defintions of WMI_RSRC_CFG_HOST_SERVICE_FLAG + * AFC_TRIGGER_ON_DEFAULT_CC_EVENT_GET and _SET macros. * - * Bits 31:22 - Reserved + * Bits 31:23 - Reserved */ A_UINT32 host_service_flags; @@ -5580,6 +5587,12 @@ typedef struct { #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_HOST_SUPPORT_HW_BLACKLIST_CHANNEL_SUPPORT_SET(host_service_flags, val) \ WMI_SET_BITS(host_service_flags, 21, 1, val) +/* This bit is used to inform FW to send AFC event ID in default CC event ID */ +#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_TRIGGER_ON_DEFAULT_CC_EVENT_GET(host_service_flags) \ + WMI_GET_BITS(host_service_flags, 22, 1) +#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_TRIGGER_ON_DEFAULT_CC_EVENT_SET(host_service_flags, val) \ + WMI_SET_BITS(host_service_flags, 22, 1, val) + #define WMI_RSRC_CFG_CARRIER_CFG_CHARTER_ENABLE_GET(carrier_config) \ WMI_GET_BITS(carrier_config, 0, 1) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index ce99b3c702a7..1be5df054b96 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_ 1622 +#define __WMI_REVISION_ 1623 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work