qcacmn: Add WMI support for Agile DFS feature

Add WMI commands and event to support Agile DFS feature:
	1)WMI send adfs channel config command
	2)WMI send adfs o-cac abort command
	3)WMI extract function to handle O-CAC complete event from target

Change-Id: Ib11d042bf06c786ab553aa28091145b620fbd551
CRs-Fixed: 2385536
This commit is contained in:
Shaakir Mohamed
2019-02-22 11:16:16 -08:00
committed by nshrivas
parent ce7a81cbed
commit 9ff68da6e5
7 changed files with 273 additions and 2 deletions

View File

@@ -45,6 +45,22 @@ QDF_STATUS wmi_extract_dfs_cac_complete_event(void *wmi_hdl,
}
qdf_export_symbol(wmi_extract_dfs_cac_complete_event);
QDF_STATUS
wmi_extract_dfs_ocac_complete_event(void *wmi_hdl,
uint8_t *evt_buf,
struct vdev_adfs_complete_status *param)
{
struct wmi_unified *wmi_handle = (struct wmi_unified *)wmi_hdl;
if (wmi_handle && wmi_handle->ops->extract_dfs_ocac_complete_event)
return wmi_handle->ops->extract_dfs_ocac_complete_event(
wmi_handle, evt_buf, param);
return QDF_STATUS_E_FAILURE;
}
qdf_export_symbol(wmi_extract_dfs_ocac_complete_event);
QDF_STATUS wmi_extract_dfs_radar_detection_event(void *wmi_hdl,
uint8_t *evt_buf,
struct radar_found_info *radar_found,