ソースを参照

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
Kiran Venkatappa 8 年 前
コミット
c98badb212
1 ファイル変更17 行追加0 行削除
  1. 17 0
      wmi_unified_param.h

+ 17 - 0
wmi_unified_param.h

@@ -7106,6 +7106,7 @@ enum WMI_HOST_CALIBRATION_STATUS {
  * 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 {
@@ -7114,6 +7115,22 @@ struct wmi_host_pdev_utf_event {
 	uint32_t pdev_id;
 };
 
+/**
+ * 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