From acb299fea77e2bbbc9d219946abf49bf88fd4f2a Mon Sep 17 00:00:00 2001 From: tinlin Date: Mon, 20 Nov 2017 10:28:27 +0800 Subject: qcacld-2.0: CL 3166967 - Update fw common interface files Add P2P LO attributes Change-Id: I59eb1cba443b17be6ce01bcb47aeeb6914b7c51a CRs-fixed: 865207 --- CORE/SERVICES/COMMON/wmi_unified.h | 7 +++++++ CORE/SERVICES/COMMON/wmi_version.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index 75f7266f70ef..481266ac73dd 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -10087,6 +10087,11 @@ typedef enum p2p_lo_start_ctrl_flags_e { P2P_LO_START_CTRL_FLAG_FLUSH_LISTEN_RESULT = 1 << 0, } 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; @@ -10100,11 +10105,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/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index eb38bfff8a12..b4772ab13c7d 100644 --- a/CORE/SERVICES/COMMON/wmi_version.h +++ b/CORE/SERVICES/COMMON/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 -- cgit v1.2.3