From 3fbe5172b707e90d3e6161577f792d9645a95f68 Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 19 Apr 2023 06:01:01 -0700 Subject: [PATCH] fw-api: CL 22630619 - update fw common interface files Change-Id: I34576a0d10b045e26e0ef064dd1d9403c9ac112c WMI: add TWT_EN_DIS BTWT_AUTO_DELETE flag CRs-Fixed: 2262693 --- fw/wmi_unified.h | 10 ++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index f1b7f83d14..7004e1bfa0 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -37642,6 +37642,16 @@ typedef struct { #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) +/* + * disable autonomous bTWT session delete feature + * This feature will delete client triggered session when number of clients + * joined decreases to 0. + */ +#define TWT_EN_DIS_FLAGS_GET_DIS_BTWT_AUTO_DELETE(flag) \ + WMI_GET_BITS(flag, 7, 1) +#define TWT_EN_DIS_FLAGS_SET_DIS_BTWT_AUTO_DELETE(flag, val) \ + WMI_SET_BITS(flag, 7, 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 diff --git a/fw/wmi_version.h b/fw/wmi_version.h index fd6ef80637..3a8dbed880 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_ 1322 +#define __WMI_REVISION_ 1323 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work