qcacmn: Support to get dpd status from FW

WMI changes to rerieve current dpd status from target.

CRs-Fixed: 2885488
Change-Id: Iddfcbf63fccac87b52d3ac242ba078f8210cb6d0
This commit is contained in:
Shwetha G K
2021-03-30 18:00:53 +05:30
committed by snandini
parent f0df95498a
commit 23d574115e
5 changed files with 77 additions and 0 deletions

View File

@@ -4615,6 +4615,7 @@ typedef enum {
wmi_peer_create_conf_event_id,
wmi_pdev_cp_fwstats_eventid,
wmi_vdev_send_big_data_p2_eventid,
wmi_pdev_get_dpd_status_event_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -7922,4 +7923,21 @@ struct wmi_raw_event_buffer {
void *evt_raw_buf;
void *evt_processed_buf;
};
/* dpd_status fron WMI_PDEV_GET_DPD_STATUS_EVENTID */
enum wmi_host_dpd_status {
WMI_HOST_DPD_STATUS_FAIL = 0,
WMI_HOST_DPD_STATUS_PASS = 1,
WMI_HOST_DPD_STATUS_INVALID = 2,
};
/**
* struct wmi_host_pdev_get_dpd_status_event
* @pdev_id: pdev id
* @dpd_status: dpd status from FW - FAIL/PASS/INVALID
*/
struct wmi_host_pdev_get_dpd_status_event {
uint32_t pdev_id;
enum wmi_host_dpd_status dpd_status;
};
#endif /* _WMI_UNIFIED_PARAM_H_ */