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

@@ -3380,3 +3380,16 @@ QDF_STATUS wmi_extract_vdev_tsf_report_event(wmi_unified_t wmi_hdl,
return QDF_STATUS_E_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)
{
if (wmi_handle->ops->extract_pdev_csa_switch_count_status)
return wmi_handle->ops->extract_pdev_csa_switch_count_status(
wmi_handle,
evt_buf,
param);
return QDF_STATUS_E_FAILURE;
}