summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-03-08 00:00:46 -0800
committerspuligil <spuligil@codeaurora.org>2019-03-08 00:00:47 -0800
commitf2f391c8fc4246e98ac888aa5634b70df1ad4ff7 (patch)
tree45f3584f657119b5f9a3932f81d6b4b811a7900a
parent8b9c61ee670a5ca445886bcb5ab5a2259b330eb0 (diff)
fw-api: CL 6658261 - update fw common interface files
Change-Id: I4330227578648fa36d942bb8966be0e01ce13d47 WMI: add flags to enable/disable broadcast TWT CRs-Fixed: 2262693
-rwxr-xr-xfw/wmi_services.h1
-rwxr-xr-xfw/wmi_unified.h10
-rwxr-xr-xfw/wmi_version.h2
3 files changed, 10 insertions, 3 deletions
diff --git a/fw/wmi_services.h b/fw/wmi_services.h
index 8f3e52bdbaf1..952772126a6e 100755
--- a/fw/wmi_services.h
+++ b/fw/wmi_services.h
@@ -381,6 +381,7 @@ typedef enum {
WMI_SERVICE_WPA3_FT_SUITE_B_SUPPORT = 196, /* FW roaming support for WPA3_FT_SUITE_B */
WMI_SERVICE_VOW_ENABLE=197, /* FW supports a set of features to optimize VoW performance */
WMI_SERVICE_CFR_CAPTURE_IND_EVT_TYPE_1 = 198, /* support WMI_PEER_CFR_CAPTURE_EVENT msg */
+ WMI_SERVICE_BROADCAST_TWT = 199, /* support of Broadcast TWT (Target Wake Time) for STA/AP */
/******* ADD NEW SERVICES HERE *******/
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 3b9f6f98594c..d5b13be8f5ce 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -24149,6 +24149,10 @@ typedef struct {
A_UINT32 flags;
} wmi_wlm_config_cmd_fixed_param;
+/* Broadcast TWT enable/disable */
+#define TWT_EN_DIS_FLAGS_GET_BTWT(flag) WMI_GET_BITS(flag, 0, 1)
+#define TWT_EN_DIS_FLAGS_SET_BTWT(flag, val) WMI_SET_BITS(flag, 0, 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
@@ -24181,7 +24185,8 @@ typedef struct {
*/
A_UINT32 mode_check_interval; /* Interval between two successive check to decide the mode of TWT */
A_UINT32 add_sta_slot_interval; /* Interval between decisions making to create TWT slots for STAs */
- A_UINT32 remove_sta_slot_interval; /* Inrerval between decisions making to remove TWT slot of STAs */
+ A_UINT32 remove_sta_slot_interval; /* Interval between decisions making to remove TWT slot of STAs */
+ A_UINT32 flags; /* enable/disable flags, refer to MACROs TWT_EN_DIS_FLAGS_* (TWT_EN_DIS_FLAGS_GET_BTWT etc.) */
} wmi_twt_enable_cmd_fixed_param;
/* status code of enabling TWT */
@@ -24203,7 +24208,8 @@ typedef struct {
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_twt_disable_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 */
- A_UINT32 pdev_id; /* host should never set it to WMI_PDEV_ID_SOC */
+ A_UINT32 pdev_id; /* host should never set it to WMI_PDEV_ID_SOC */
+ A_UINT32 flags; /* enable/disable flags, refer to MACROs TWT_EN_DIS_FLAGS_* (TWT_EN_DIS_FLAGS_GET_BTWT etc.) */
} wmi_twt_disable_cmd_fixed_param;
typedef struct {
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 536d916e5459..2294e20e59a5 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_ 637
+#define __WMI_REVISION_ 638
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work