From 4ff9344778bf0b725ae5e2e5e3467113d16fd24a Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 15 Jul 2020 12:01:16 -0700 Subject: [PATCH] fw-api: CL 10972934 - update fw common interface files Change-Id: Ia6eafe7e87d13ac05baf77ebb9237a2e1bbb8754 WMI: TWT: add PROTECTION, FRAME_DISABLED flags, SP TSF field CRs-Fixed: 2262693 --- fw/wmi_unified.h | 9 +++++++++ fw/wmi_version.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index f76431cf48cb..0c6bdcca8a44 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -31310,6 +31310,12 @@ typedef struct { #define WMI_TWT_SESSION_FLAG_ANNOUN_TWT_GET(_var) WMI_GET_BITS(_var, 18, 1) #define WMI_TWT_SESSION_FLAG_ANNOUN_TWT_SET(_var, _val) WMI_SET_BITS(_var, 18, 1, _val) +#define WMI_TWT_SESSION_FLAG_TWT_PROTECTION_GET(_var) WMI_GET_BITS(_var, 19, 1) +#define WMI_TWT_SESSION_FLAG_TWT_PROTECTION_SET(_var, _val) WMI_SET_BITS(_var, 19, 1, _val) + +#define WMI_TWT_SESSION_FLAG_TWT_INFO_FRAME_DISABLED_GET(_var) WMI_GET_BITS(_var, 20, 1) +#define WMI_TWT_SESSION_FLAG_TWT_INFO_FRAME_DISABLED_SET(_var, _val) WMI_SET_BITS(_var, 20, 1, _val) + typedef struct { /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_twt_session_stats_info */ A_UINT32 tlv_hdr; @@ -31328,6 +31334,9 @@ typedef struct { A_UINT32 wake_intvl_us; /* this long time after TWT resumed the 1st Service Period will start */ A_UINT32 sp_offset_us; + /* service period start TSF */ + A_UINT32 sp_tsf_us_lo; /* bits 31:0 */ + A_UINT32 sp_tsf_us_hi; /* bits 63:32 */ } wmi_twt_session_stats_info; enum wmi_twt_session_stats_type { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 77e46a82e4a0..0f5c9b56cab3 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_ 861 +#define __WMI_REVISION_ 862 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work