summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-07-31 18:00:43 -0700
committerspuligil <spuligil@codeaurora.org>2019-07-31 18:00:44 -0700
commitf4f81320e7fe55e7f4926796335f64a61a5187ab (patch)
tree7746ee0830f7fd8a2b83931ed2453cc2c61d2427
parent1695a72e1dddf0579667d2f805495b0ac74ca2e1 (diff)
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
-rwxr-xr-xfw/wmi_unified.h17
-rwxr-xr-xfw/wmi_version.h2
2 files changed, 18 insertions, 1 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 0b0f153e6953..55173bf26d5b 100755
--- 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 100755
--- 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