From 3cfdedee783d8229e3b00efb79b25e121d2be78f Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 21 Feb 2019 12:00:46 -0800 Subject: [PATCH] fw-api: CL 6565901 - update fw common interface files Change-Id: Ic4c4d2b3ca79bac06c1461465be11faee3ea03ad WMI: provide VIDEO_OVER_WIFI_ENABLE flag in WMI_INIT_CMD CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_unified.h | 14 ++++++++++++++ fw/wmi_version.h | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 14b05734d4..033f79dd7c 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -379,6 +379,7 @@ typedef enum { WMI_SERVICE_EXT_PEER_TID_CONFIGS_SUPPORT = 194, /* Extended Peer Tid configuration support for QoS related settings */ WMI_SERVICE_WPA3_FT_SAE_SUPPORT = 195, /* FW roaming support for WPA3_FT_SAE */ 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 */ /******* ADD NEW SERVICES HERE *******/ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index e085b98d0b..20d9b7eaeb 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -2949,6 +2949,15 @@ typedef struct { #define WMI_RSRC_CFG_FLAG_PEER_TID_EXT_S 22 #define WMI_RSRC_CFG_FLAG_PEER_TID_EXT_M 0x400000 + /* + * If the VIDEO_OVER_WIFI_ENABLE flag is set, the target will use a + * series of algorithmic adjustments to optimize Video performance + * by reducing latency, reducing latency jitter, and minimizing + * dropped packets. + */ + #define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_S 23 + #define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_M 0x800000 + A_UINT32 flag1; /** @brief smart_ant_cap - Smart Antenna capabilities information @@ -3202,6 +3211,11 @@ typedef struct { #define WMI_RSRC_CFG_FLAG_PEER_TID_EXT_GET(word32) \ WMI_RSRC_CFG_FLAG_GET((word32), PEER_TID_EXT) +#define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_SET(word32, value) \ + WMI_RSRC_CFG_FLAG_SET((word32), VIDEO_OVER_WIFI_ENABLE, (value)) +#define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_GET(word32) \ + WMI_RSRC_CFG_FLAG_GET((word32), VIDEO_OVER_WIFI_ENABLE) + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index c1c746c9fc..92f388bfcc 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_ 631 +#define __WMI_REVISION_ 632 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work