qcacmn: Add wmi support to get firmware roam scan stats
Add wmi layer support to get firmware roam scan statistics which includes scoring of roam candidates, channels, old and new bssids etc., Change-Id: I3a0aafbe66d12eea40e71ceb4c7c3a60b9d6e04f CRs-Fixed: 2203904
This commit is contained in:

committed by
nshrivas

parent
d8d0e15e67
commit
d2d1a5e460
@@ -7492,3 +7492,29 @@ QDF_STATUS wmi_extract_smartlog_ev(void *wmi_hdl,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
#endif /* OL_ATH_SMART_LOGGING */
|
||||
|
||||
QDF_STATUS
|
||||
wmi_unified_send_roam_scan_stats_cmd(void *wmi_hdl,
|
||||
struct wmi_roam_scan_stats_req *params)
|
||||
{
|
||||
wmi_unified_t wmi_handle = (wmi_unified_t)wmi_hdl;
|
||||
|
||||
if (wmi_handle->ops->send_roam_scan_stats_cmd)
|
||||
return wmi_handle->ops->send_roam_scan_stats_cmd(wmi_handle,
|
||||
params);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wmi_extract_roam_scan_stats_res_evt(wmi_unified_t wmi, void *evt_buf,
|
||||
uint32_t *vdev_id,
|
||||
struct wmi_roam_scan_stats_res **res_param)
|
||||
{
|
||||
if (wmi->ops->extract_roam_scan_stats_res_evt)
|
||||
return wmi->ops->extract_roam_scan_stats_res_evt(wmi,
|
||||
evt_buf,
|
||||
vdev_id, res_param);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user