summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-10-25 18:02:41 -0700
committerspuligil <spuligil@codeaurora.org>2019-10-25 18:02:41 -0700
commit953c29bdac72da8ef0976f77a0058376d9260c2b (patch)
treed03eb81f550ed83ef82cf977e0160efe96ab6282
parent7a3955ce09fe97271ac9edb7e20a995f8587d5d7 (diff)
fw-api: CL 8485353 - update fw common interface files
Change-Id: If7450f97fab5a9a88dd2e43888492bd03ee44bcc WMI: define OEM_DATA_EVENT message CRs-Fixed: 2262693
-rwxr-xr-xfw/wmi_tlv_defs.h8
-rwxr-xr-xfw/wmi_unified.h10
-rwxr-xr-xfw/wmi_version.h2
3 files changed, 19 insertions, 1 deletions
diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h
index e81cdf2e40c5..207f177517cb 100755
--- a/fw/wmi_tlv_defs.h
+++ b/fw/wmi_tlv_defs.h
@@ -1021,6 +1021,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_get_channel_ani_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_channel_ani_info_tlv_param,
WMITLV_TAG_STRUC_wmi_get_channel_ani_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_oem_data_event_fixed_param,
} WMITLV_TAG_ID;
/*
@@ -1628,6 +1629,7 @@ typedef enum {
OP(WMI_PDEV_DIV_RSSI_ANTID_EVENTID) \
OP(WMI_OEM_DMA_RING_CFG_RSP_EVENTID) \
OP(WMI_OEM_DMA_BUF_RELEASE_EVENTID) \
+ OP(WMI_OEM_DATA_EVENTID) \
OP(WMI_PDEV_BSS_CHAN_INFO_EVENTID) \
OP(WMI_UNIT_TEST_EVENTID) \
OP(WMI_PDEV_UPDATE_CTLTABLE_EVENTID) \
@@ -4636,6 +4638,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_OEM_RESPONSE_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_oem_dma_buf_release_entry, entries, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_BUF_RELEASE_EVENTID);
+/* oem data event */
+#define WMITLV_TABLE_WMI_OEM_DATA_EVENTID(id,op, buf,len) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_data_event_fixed_param, wmi_oem_data_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
+WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DATA_EVENTID);
+
/* HOST SWBA Event */
#define WMITLV_TABLE_WMI_HOST_SWBA_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_host_swba_event_fixed_param, wmi_host_swba_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 00c42e4bd056..0c756a61cf93 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -1810,6 +1810,7 @@ typedef enum {
WMI_OEM_RESPONSE_EVENTID,
WMI_OEM_DMA_RING_CFG_RSP_EVENTID,
WMI_OEM_DMA_BUF_RELEASE_EVENTID,
+ WMI_OEM_DATA_EVENTID,
/* NAN Event */
WMI_NAN_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_NAN),
@@ -28384,6 +28385,15 @@ typedef struct {
*/
} wmi_cfr_capture_filter_cmd_fixed_param;
+typedef struct {
+ A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_oem_data_event_fixed_param */
+ A_UINT32 data_len; /** length in byte of data[]. */
+/* Following this structure is the TLV:
+ * A_UINT8 data[]; <-- length in byte given by field data_len.
+ * This data array contains OEM data, the payload begins with a field to tell the HOST regarding the kind of the OEM data.
+ */
+} wmi_oem_data_event_fixed_param;
+
/* ADD NEW DEFS HERE */
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index be6479a80e54..32c157c95d2d 100755
--- 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_ 731
+#define __WMI_REVISION_ 732
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work