From bbfed09a30f4e9ad348d09f1f3ae5d67a03b25fa Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 27 Aug 2021 06:01:00 -0700 Subject: [PATCH] fw-api: CL 15389412 - update fw common interface files Change-Id: I18ca6a49246d00a1d478990fa3ce664a7ecab07a WMI: add carrier charter cfg enable flag in rsrc cfg CRs-Fixed: 2262693 --- fw/wmi_unified.h | 12 ++++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 71d58e1761ba..3e9571d15cf7 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4032,6 +4032,13 @@ typedef struct { * default beacon size (1500) is used. */ A_UINT32 ema_init_config; + + /** @brief carrier_config + * Carrier profile configuration + * BIT 0 -> enable/disable charter configurations + * BIT 1 : 31 Reserved + */ + A_UINT32 carrier_config; } wmi_resource_config; #define WMI_MSDU_FLOW_AST_ENABLE_GET(msdu_flow_config0, ast_x) \ @@ -4311,6 +4318,11 @@ typedef struct { #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_REG_DISCARD_AFC_REQ_ID_CHECK_SET(host_service_flags, val) \ WMI_SET_BITS(host_service_flags, 9, 1, val) +#define WMI_RSRC_CFG_CARRIER_CFG_CHARTER_ENABLE_GET(carrier_config) \ + WMI_GET_BITS(carrier_config, 0, 1) +#define WMI_RSRC_CFG_CARRIER_CFG_CHARTER_ENABLE_SET(carrier_config, val) \ + WMI_SET_BITS(carrier_config, 0, 1, val) + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 567f18089fc5..ad27db3b3858 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -36,7 +36,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_ 1048 +#define __WMI_REVISION_ 1049 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work