From 9be8e588bc9d81afb2f5e76018e87cf29371bc65 Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 24 Nov 2022 06:00:49 -0800 Subject: [PATCH] fw-api: CL 20467959 - update fw common interface files Change-Id: Ibdb3e7fa61be6fe5331bc8e24918c6910515989c WMI: add Restricted-TWT fields CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_unified.h | 9 +++++++++ fw/wmi_version.h | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index f7fd2a8705e7..ab05341d4b6c 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -604,6 +604,7 @@ typedef enum { WMI_SERVICE_ODD_LIVEDUMP_SUPPORT = 351, /* Support for ODD Livedump from the FW */ WMI_SERVICE_EIRP_PREFERRED_SUPPORT = 352, /* Support for OOBE feature where only EIRP powers will be sent in 6 GHz TPC WMI */ WMI_SERVICE_RTT_TX_RX_CHAIN_IDX_SUPPORT = 353, /* FW Supports configuring Tx and Rx Chainmask in intiator and Responder */ + WMI_SERVICE_RESTRICTED_TWT = 354, /* Support for R-TWT feature */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 38119d88daba..fd034625a4ce 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -34138,6 +34138,9 @@ typedef struct { #define TWT_EN_DIS_FLAGS_GET_I_B_TWT(flag) WMI_GET_BITS(flag, 5, 1) #define TWT_EN_DIS_FLAGS_SET_I_B_TWT(flag, val) WMI_SET_BITS(flag, 5, 1, val) +#define TWT_EN_DIS_FLAGS_GET_B_R_TWT(flag) WMI_GET_BITS(flag, 6, 1) +#define TWT_EN_DIS_FLAGS_SET_B_R_TWT(flag, val) WMI_SET_BITS(flag, 6, 1, val) + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_twt_enable_cmd_fixed_param */ /** pdev_id for identifying the MAC. See macros starting with WMI_PDEV_ID_ for values. In non-DBDC case host should set it to 0 @@ -34368,6 +34371,12 @@ typedef struct { * If set to 0, FW will send QoS NULL immediately. */ A_UINT32 announce_timeout_us; + + A_UINT32 link_id_bitmap; + + /* parameters required for R-TWT feature */ + A_UINT32 r_twt_dl_tid_bitmap; + A_UINT32 r_twt_ul_tid_bitmap; } wmi_twt_add_dialog_cmd_fixed_param; /* status code of adding TWT dialog */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 6dea7342cd83..c1dad7062b4d 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,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_ 1236 +#define __WMI_REVISION_ 1237 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work