summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjeet Singh <manjee@codeaurora.org>2016-12-16 20:21:13 +0530
committerAshish kumar goswami <agoswa@codeaurora.org>2016-12-19 18:43:08 +0530
commit29ae79d16ebf08e9b80f08c84bbdf0f1cff10f92 (patch)
tree9606915cbb864b4e91b923396fd52a953d53382b
parent2ce10f307f5c15bdf9edcccc4088a473223fd8ec (diff)
qcacld-2.0: CL 2730209 - update fw common interface files
WMI message for reporting targets package ID/flags Change-Id: I9c4bd84b59e4bf7330df5fe697aa47880f4bdd2e CRs-Fixed: 865207
-rw-r--r--CORE/SERVICES/COMMON/wmi_services.h2
-rw-r--r--CORE/SERVICES/COMMON/wmi_tlv_defs.h6
-rw-r--r--CORE/SERVICES/COMMON/wmi_unified.h17
-rw-r--r--CORE/SERVICES/COMMON/wmi_version.h2
4 files changed, 25 insertions, 2 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_services.h b/CORE/SERVICES/COMMON/wmi_services.h
index 999bf49d0d5b..89c88f95adec 100644
--- a/CORE/SERVICES/COMMON/wmi_services.h
+++ b/CORE/SERVICES/COMMON/wmi_services.h
@@ -275,7 +275,7 @@ typedef enum {
WMI_SERVICE_DFS_PHYERR_OFFLOAD=113,
WMI_SERVICE_RCPI_SUPPORT=114,
WMI_SERVICE_FW_MEM_DUMP_SUPPORT = 115, /* Support FW Memory dump */
- WMI_SERVICE_PEER_STATS_INFO = 114, /* support per peer stats info */
+ WMI_SERVICE_PEER_STATS_INFO = 116, /* support per peer stats info */
/***** ADD NEW SERVICES HERE UNTIL ALL VALUES UP TO 128 ARE USED *****/
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h
index 9346a1c59fd3..da7a332eff34 100644
--- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h
+++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h
@@ -770,6 +770,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_request_peer_stats_info_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_peer_stats_info,
WMITLV_TAG_STRUC_wmi_peer_stats_info_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param,
} WMITLV_TAG_ID;
/*
@@ -1247,6 +1248,7 @@ typedef enum {
OP(WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID) \
OP(WMI_UPDATE_RCPI_EVENTID) \
OP(WMI_PEER_STATS_INFO_EVENTID) \
+ OP(WMI_PKGID_EVENTID) \
/* add new EVT_LIST elements above this line */
@@ -4126,6 +4128,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID);
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_stats_info, peer_stats_info, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
+#define WMITLV_TABLE_WMI_PKGID_EVENTID(id, op, buf, len) \
+ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param, wmi_pkgid_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_PKGID_EVENTID);
+
#ifdef __cplusplus
}
#endif
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h
index 521396898c3b..ec91eaa72161 100644
--- a/CORE/SERVICES/COMMON/wmi_unified.h
+++ b/CORE/SERVICES/COMMON/wmi_unified.h
@@ -1356,6 +1356,9 @@ typedef enum {
/** event to report rx aggregation failure frame information */
WMI_REPORT_RX_AGGR_FAILURE_EVENTID,
+ /** event to upload a PKGID to host to identify chip for various products */
+ WMI_PKGID_EVENTID,
+
/* GPIO Event */
WMI_GPIO_INPUT_EVENTID=WMI_EVT_GRP_START_ID(WMI_GRP_GPIO),
/** upload H_CV info WMI event
@@ -17046,6 +17049,20 @@ typedef struct {
A_UINT32 status;
} wmi_update_rcpi_event_fixed_param;
+/* Definition of mask for various package id */
+#define WMI_PKGID_MASK_AUTO 0x00000080
+
+typedef struct {
+ /** TLV tag and len; tag equals*/
+ A_UINT32 tlv_header;
+ /**
+ * The value field is filled with WMI_PKGID_MASK values.
+ * Currently, the only flag used within values is
+ * WMI_PKGID_MASK_AUTO, where bit7=1 for automotive systems.
+ */
+ A_UINT32 value;
+}wmi_pkgid_event_fixed_param;
+
/* ADD NEW DEFS HERE */
/*****************************************************************************
diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h
index 7ee9998da682..e14375021571 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_ 323
+#define __WMI_REVISION_ 324
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work