summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortinlin <tinlin@codeaurora.org>2017-11-20 10:28:27 +0800
committersnandini <snandini@codeaurora.org>2017-11-28 02:07:33 -0800
commitacb299fea77e2bbbc9d219946abf49bf88fd4f2a (patch)
tree36e2c740db271653a83808a5faa184402f9a803a
parentbe06117a7a0c68131b1fe0f1e4c5fed3c6cafadc (diff)
qcacld-2.0: CL 3166967 - Update fw common interface files
Add P2P LO attributes Change-Id: I59eb1cba443b17be6ce01bcb47aeeb6914b7c51a CRs-fixed: 865207
-rw-r--r--CORE/SERVICES/COMMON/wmi_unified.h7
-rw-r--r--CORE/SERVICES/COMMON/wmi_version.h2
2 files changed, 8 insertions, 1 deletions
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