qcacmn: Add support to send DBS Scan command to firmware
This change adds support to send the DBS Scan command to the firmware. Change-Id: I147855690f09af03a43f85f2e57626d7f73998de CRs-Fixed: 2029402
This commit is contained in:
@@ -6683,3 +6683,23 @@ QDF_STATUS wmi_unified_set_country_cmd_send(void *wmi_hdl,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_send_dbs_scan_sel_params_cmd() - send wmi cmd of
|
||||
* DBS scan selection configuration params
|
||||
* @wma_handle: wma handler
|
||||
* @dbs_scan_params: pointer to wmi_dbs_scan_sel_params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF failure reason code for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_send_dbs_scan_sel_params_cmd(void *wmi_hdl,
|
||||
struct wmi_dbs_scan_sel_params *dbs_scan_params)
|
||||
{
|
||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||
|
||||
if (wmi_handle->ops->send_dbs_scan_sel_params_cmd)
|
||||
return wmi_handle->ops->
|
||||
send_dbs_scan_sel_params_cmd(wmi_handle,
|
||||
dbs_scan_params);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user