From 4f4081eee4b23d17f73838f48d7a6858ff4c04f4 Mon Sep 17 00:00:00 2001 From: spuligil Date: Sat, 16 Oct 2021 06:01:07 -0700 Subject: [PATCH] fw-api: CL 16086231 - update fw common interface files Change-Id: I446c81ab50840c76e089382ae79a704aeb7c6964 WMI: change field from reserved to flags in wow_hostwakeup_from_sleep msg CRs-Fixed: 2262693 --- fw/wmi_unified.h | 15 +++++++++++++-- fw/wmi_version.h | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 6372e81e4433..7933a5b86344 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -17639,10 +17639,21 @@ typedef struct { A_UINT32 flags; /* WMI_WOW_FLAG enums */ } wmi_wow_enable_cmd_fixed_param; +typedef enum { + WMI_WOW_RESUME_FLAG_TX_DATA = 0x00000001, /* TX data pending to be sent in resume */ +} WMI_WOW_RESUME_FLAG_ENUM; + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_wow_hostwakeup_from_sleep_cmd_fixed_param */ - /** Reserved for future use */ - A_UINT32 reserved0; + /* reserved0: + * This "reserved" field is not actually reserved any more. + * It is being used in certain FW branches to hold flags, whose values + * are defined by WMI_WOW_RESUME_FLAG_ENUM. + */ + union { + A_UINT32 reserved0; + A_UINT32 flags; + }; } wmi_wow_hostwakeup_from_sleep_cmd_fixed_param; #define WOW_ICMPV6_NA_FILTER_DISABLE 0 diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 128e01708986..3f54793a9fb0 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_ 1073 +#define __WMI_REVISION_ 1074 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work