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
This commit is contained in:

committed by
snandini

parent
744fbf7339
commit
c98badb212
@@ -7106,6 +7106,7 @@ enum WMI_HOST_CALIBRATION_STATUS {
|
|||||||
* struct wmi_host_pdev_utf_event - Host defined struct to hold utf event data
|
* struct wmi_host_pdev_utf_event - Host defined struct to hold utf event data
|
||||||
* @data: Pointer to data
|
* @data: Pointer to data
|
||||||
* @datalen: Data length
|
* @datalen: Data length
|
||||||
|
* @pdev_id: Pdev_id of data
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
struct wmi_host_pdev_utf_event {
|
struct wmi_host_pdev_utf_event {
|
||||||
@@ -7114,6 +7115,22 @@ struct wmi_host_pdev_utf_event {
|
|||||||
uint32_t pdev_id;
|
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
|
* struct wmi_host_pdev_qvit_event - Host defined struct to hold qvit event data
|
||||||
* @data: Pointer to data
|
* @data: Pointer to data
|
||||||
|
Reference in New Issue
Block a user