qcacmn: Add extract APIs for qvit event
Add extarct API to get QVIT event data.
Change-Id: I7777946a34f176dabb96f98ab3062222bc02b202
CRs-Fixed: 2003898
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index 7e14db3..f4fb89e 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -1345,6 +1345,10 @@
uint8_t *evt_buf,
struct wmi_host_pdev_utf_event *param);
+QDF_STATUS wmi_extract_pdev_qvit_event(void *wmi_hdl,
+ uint8_t *evt_buf,
+ struct wmi_host_pdev_qvit_event *param);
+
QDF_STATUS wmi_extract_peer_delete_response_event(void *wmi_hdl,
uint8_t *evt_buf,
struct wmi_host_peer_delete_response_event *param);
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index 966c9d0..e1e71a4 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -7293,6 +7293,18 @@
};
/**
+ * struct wmi_host_pdev_qvit_event - Host defined struct to hold qvit event data
+ * @data: Pointer to data
+ * @datalen: Data length
+ *
+ */
+struct wmi_host_pdev_qvit_event {
+ uint8_t *data;
+ uint16_t datalen;
+ uint32_t pdev_id;
+};
+
+/**
* struct wmi_host_peer_delete_response_event - Peer Delete response event param
* @vdev_id: vdev id
* @mac_address: Peer Mac Address
diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h
index b600a18..673972f 100644
--- a/wmi_unified_priv.h
+++ b/wmi_unified_priv.h
@@ -1228,6 +1228,10 @@
uint8_t *evt_buf,
struct wmi_host_pdev_utf_event *param);
+QDF_STATUS (*extract_pdev_qvit_event)(wmi_unified_t wmi_hdl,
+ uint8_t *evt_buf,
+ struct wmi_host_pdev_qvit_event *param);
+
uint16_t (*wmi_set_htc_tx_tag)(wmi_unified_t wmi_handle,
wmi_buf_t buf, uint32_t cmd_id);