From c72b6d873f3b1f8fb6d5cbc862bfd2d54495be4c Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 1 Apr 2020 18:00:39 -0700 Subject: [PATCH] fw-api: CL 10072615 - update fw common interface files Change-Id: I8b275c0617fd17a2661b4f1fdff5f3564f5730e7 WMI: add HDL version bitfield in fw_build_vers_ext in READY_EXT msg CRs-Fixed: 2262693 --- fw/wmi_unified.h | 12 +++++++++++- fw/wmi_version.h | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 21467a4b60e4..34516f0d404c 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -2631,6 +2631,15 @@ typedef struct { */ } wmi_service_available_event_fixed_param; +/* + * HDL version GET/SET APIs   + */ +#define WMI_HDL_VERSION_BITPOS 0 +#define WMI_HDL_VERSION_NUM_BITS 10 + +#define WMI_HDL_VERSION_GET(dword) WMI_GET_BITS(dword, WMI_HDL_VERSION_BITPOS, WMI_HDL_VERSION_NUM_BITS) +#define WMI_HDL_VERSION_SET(dword, value) WMI_SET_BITS(dword, WMI_HDL_VERSION_BITPOS, WMI_HDL_VERSION_NUM_BITS, value) + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_WMI_SERVICE_EXT_READY_EVENT */ /* which WMI_DBS_CONC_SCAN_CFG setting the FW is initialized with */ @@ -2651,7 +2660,8 @@ typedef struct { A_UINT32 max_bssid_rx_filters; /* * Extended FW build version information: - * bits 27:0 -> reserved + * bits 9:0 -> HDL version info + * bits 27:10 -> reserved * bits 31:28 -> CRM sub ID */ A_UINT32 fw_build_vers_ext; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index b421fbf7226e..f60cafb4e7b8 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_ 805 +#define __WMI_REVISION_ 806 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work