qcacmn: Add CSA event handler and extract APIs

Move CSA event handler and CSA extract APIs to common code

Change-Id: Iedfa3bbd8a2b6d9cbfdd9fecd57052b853ed5680
CRs-Fixed: 2826991
This commit is contained in:
Shashikala Prabhu
2020-11-26 11:07:15 +05:30
committed by snandini
parent f994a48ab9
commit fd0132aa9f
5 changed files with 152 additions and 0 deletions

View File

@@ -4235,4 +4235,18 @@ QDF_STATUS wmi_unified_send_vdev_tsf_tstamp_action_cmd(wmi_unified_t wmi_hdl,
QDF_STATUS wmi_extract_vdev_tsf_report_event(wmi_unified_t wmi_hdl,
uint8_t *evt_buf,
struct wmi_host_tsf_event *param);
/**
* wmi_extract_pdev_csa_switch_count_status() - extract CSA switch count status
* from event
* @wmi_handle: wmi handle
* @evt_buf: pointer to event buffer
* @param: Pointer to CSA switch count status param
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_extract_pdev_csa_switch_count_status(
wmi_unified_t wmi_handle,
void *evt_buf,
struct pdev_csa_switch_count_status *param);
#endif /* _WMI_UNIFIED_API_H_ */