qcacmn: Add support to extract pdev_id from utf seg info
pdev_id is required to get the pdev object from utf event. Extract
pdev_id from the seg info within utf event's data stream.
Change-Id: Id8d3263a7f33d234c7cb43c99a0a44f28df5724d
CRs-Fixed: 2055128
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index a529117..6597acd 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -7106,6 +7106,7 @@
* struct wmi_host_pdev_utf_event - Host defined struct to hold utf event data
* @data: Pointer to data
* @datalen: Data length
+ * @pdev_id: Pdev_id of data
*
*/
struct wmi_host_pdev_utf_event {
@@ -7115,6 +7116,22 @@
};
/**
+ * struct wmi_host_utf_seg_header_info - Host defined struct to map seg info in
+ * UTF event
+ * @len: segment length
+ * @msgref: message reference
+ * @segment_info: segment info
+ * @pdev_id: pdev_id
+ *
+ */
+struct wmi_host_utf_seg_header_info {
+ uint32_t len;
+ uint32_t msgref;
+ uint32_t segment_info;
+ uint32_t pdev_id;
+};
+
+/**
* struct wmi_host_pdev_qvit_event - Host defined struct to hold qvit event data
* @data: Pointer to data
* @datalen: Data length