From 5e3f4cf661827591a905c594234daedbefa93bf9 Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 31 Jul 2019 18:00:43 -0700 Subject: [PATCH] fw-api: CL 7764076 - update fw common interface files Change-Id: I3f8522e27ba5e9b2bf6dfda1d1ac077e9412e95b WMI: add pktlog_defs_checksum in WMI_READY_EVENT msg CRs-Fixed: 2262693 --- fw/wmi_unified.h | 17 +++++++++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 0b0f153e6953..55173bf26d5b 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -2752,6 +2752,23 @@ typedef struct { * A 0x0 value for max_ast_index means the target has not specified a limit. */ A_UINT32 max_ast_index; + /* pktlog_defs_checksum: + * checksum computed from the definitions of the enums and structs + * used within pktlog traces. + * This pktlog defs checksum needs to be embedded into pktlog trace files + * (specifically in ath_pktlog_bufhdr.version). + * + * If pktlog_defs_checksum is zero then it is invalid; it should be ignored + * and ath_pktlog_bufhdr.magic_num needs to be PKTLOG_MAGIC_NUM_LEGACY + * (i.e. 7735225). + * + * If pktlog_defs_checksum is non-zero then it is valid, and the host + * should put it into the pktlog trace file header and set + * ath_pktlog_bufhdr.magic_num as PKTLOG_MAGIC_NUM_VERSION_IS_CHECKSUM + * (i.e. 2453506), to indicate that the file header version field contains + * a checksum. + */ + A_UINT32 pktlog_defs_checksum; /* * This fixed_param TLV is followed by these additional TLVs: diff --git a/fw/wmi_version.h b/fw/wmi_version.h index a0c5b9a52f06..acbecd7b8e53 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_ 704 +#define __WMI_REVISION_ 705 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work