qcacmn: Add WMI Handler for TSF Event
Add handling for WMI TSF Event, including registration, sending event and extracting response. Change-Id: Icccf9b5eb7e46bd87caf7a644be903747eac025c
This commit is contained in:

committed by
snandini

parent
d03233cb19
commit
36627ac5e9
@@ -4214,4 +4214,26 @@ QDF_STATUS
|
||||
wmi_unified_extract_cp_stats_more_pending(wmi_unified_t wmi_handle,
|
||||
void *evt_buf, uint32_t *more_flag);
|
||||
|
||||
/**
|
||||
* wmi_unified_send_vdev_tsf_tstamp_action_cmd() - send vdev tsf action command
|
||||
* @wmi: wmi handle
|
||||
* @vdev_id: vdev id
|
||||
*
|
||||
* TSF_TSTAMP_READ_VALUE is the only operation supported
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS wmi_unified_send_vdev_tsf_tstamp_action_cmd(wmi_unified_t wmi_hdl,
|
||||
uint8_t vdev_id);
|
||||
|
||||
/**
|
||||
* wmi_extract_vdev_tsf_report_event() - extract vdev tsf report from event
|
||||
* @wmi_handle: wmi handle
|
||||
* @param evt_buf: pointer to event buffer
|
||||
* @wmi_host_tsf_event param: Pointer to hold event info
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_extract_vdev_tsf_report_event(wmi_unified_t wmi_hdl,
|
||||
uint8_t *evt_buf,
|
||||
struct wmi_host_tsf_event *param);
|
||||
#endif /* _WMI_UNIFIED_API_H_ */
|
||||
|
Reference in New Issue
Block a user