From 538fa8aab148748a29b415478ebfa8ca2777aaeb Mon Sep 17 00:00:00 2001 From: snandini Date: Thu, 15 Jun 2017 17:24:08 -0700 Subject: [PATCH] fw-api: CL 3166967 - update fw common interface files move P2P listen offload defs to wlanfw_cmn Change-Id: I719c31f72831a4d7c2b0ca7e621385b619cd5a44 CRs-Fixed: 1107600 --- fw/wmi_unified.h | 7 +++++++ fw/wmi_version.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 897d576277d0..832df65335e3 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -10038,6 +10038,11 @@ typedef enum p2p_lo_start_ctrl_flags_e { P2P_LO_START_CTRL_FLAG_FLUSH_LISTEN_RESULT = 1 << 0, /* flush prob. req when host is awake */ } p2p_lo_start_ctrl_flags; +#define P2P_LO_PER_DEV_TYPE_LEN 8 +#define P2P_LO_DEV_TYPES_COUNT_MAX 10 +#define P2P_LO_DEV_TYPES_LEN_MAX (P2P_LO_PER_DEV_TYPE_LEN * P2P_LO_DEV_TYPES_COUNT_MAX) +#define P2P_LO_PROB_RESP_MAX_LEN 512 + typedef struct { A_UINT32 tlv_header; A_UINT32 vdev_id; @@ -10051,11 +10056,13 @@ typedef struct { * device_types_data[] byte-array TLV that follows this TLV. * The data in device_types_data[] is in 8-byte elements, so * device_types_len will be a multiple of 8. + * Refer to P2P_LO_DEV_TYPES_LEN_MAX */ A_UINT32 device_types_len; /* * prob_resp_len specifies the number of bytes in the * prob_resp_data[] byte-array TLV that follows this TLV. + * Refer to P2P_LO_PROB_RESP_MAX_LEN */ A_UINT32 prob_resp_len; /* diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 50c827344a2e..9748366dc1ed 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_ 404 +#define __WMI_REVISION_ 405 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work