From 91f738dc229be7445208cbc55e2ea83ac1820ff7 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 18 Jun 2021 06:00:52 -0700 Subject: [PATCH] fw-api: CL 14358974 - update fw common interface files Change-Id: I168c8269e2f3e39d03df712370481eaab519290a WMI: expand WMI_CFR_MCS,_GI_TYPE bitfields CRs-Fixed: 2262693 --- fw/wmi_unified.h | 20 +++++++++++--------- fw/wmi_version.h | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index afde02bb4bb0..baf121433e15 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -33224,33 +33224,35 @@ typedef struct { * 5: 36 Mbps * 6: 18 Mbps * 7: 9 Mbps - * 8: invalid entry + * 8-254: reserved + * 255: invalid entry * * GI: For Legacy mode only * 0: 0.8 us * 1: 0.4 us * 2: 1.6 us * 3: 3.2 us - * 4: invalid entry + * 4-254: reserved + * 255: invalid entry * - * Bits 0:3 mcs - * Bits 4:6 gi_type - * Bits 7:31 reserved + * Bits 0:7 mcs + * Bits 8:15 gi_type + * Bits 16:31 reserved */ A_UINT32 mcs_gi_info; } wmi_peer_cfr_capture_event_fixed_param; #define WMI_CFR_MCS_GET(mcs_gi_info) \ - WMI_GET_BITS(mcs_gi_info, 0, 4) + WMI_GET_BITS(mcs_gi_info, 0, 8) #define WMI_CFR_MCS_SET(mcs_gi_info, value) \ - WMI_SET_BITS(mcs_gi_info, 0, 4, value) + WMI_SET_BITS(mcs_gi_info, 0, 8, value) #define WMI_CFR_GI_TYPE_GET(mcs_gi_info) \ - WMI_GET_BITS(mcs_gi_info, 4, 3) + WMI_GET_BITS(mcs_gi_info, 8, 8) #define WMI_CFR_GI_TYPE_SET(mcs_gi_info, value) \ - WMI_SET_BITS(mcs_gi_info, 4, 3, value) + WMI_SET_BITS(mcs_gi_info, 8, 8, value) #define WMI_UNIFIED_CHAIN_PHASE_MASK 0x0000ffff diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 1669d79e4b27..b44d977fdce1 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_ 1011 +#define __WMI_REVISION_ 1012 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work