qcacmn: Remove wmi_unified_get_buf_extscan_hotlist_cmd()
Change "qcacmn: Add revised extscan start hotlist monitor API" (Change Id Ie705f2462c7d5befa691f1ab57293e55ab68e3e2) recently added a revised "start hotlist" handler. The only known client of the existing interface was converted to use the new interface with change "qcacld-3.0: Refine the extscan start BSSID hotlist logic" (Change-Id I4d9f982177bc61a751ba0e7437fe55482dfd2723) so remove the now obsolete interface. Change-Id: I6e43170daa3ed2d932f1f2fa6717ea230a37ea8b CRs-Fixed: 2294278
This commit is contained in:

committad av
nshrivas

förälder
81f8de26fb
incheckning
e421de5986
@@ -245,27 +245,3 @@ QDF_STATUS wmi_unified_start_extscan_cmd(void *wmi_hdl,
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_get_buf_extscan_hotlist_cmd() - prepare hotlist command
|
||||
* @wmi_hdl: wmi handle
|
||||
* @photlist: hotlist command params
|
||||
* @buf_len: buffer length
|
||||
*
|
||||
* This function fills individual elements for hotlist request and
|
||||
* TLV for bssid entries
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure.
|
||||
*/
|
||||
QDF_STATUS wmi_unified_get_buf_extscan_hotlist_cmd(void *wmi_hdl,
|
||||
struct ext_scan_setbssid_hotlist_params *
|
||||
photlist, int *buf_len)
|
||||
{
|
||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||
|
||||
if (wmi_handle->ops->send_get_buf_extscan_hotlist_cmd)
|
||||
return wmi_handle->ops->send_get_buf_extscan_hotlist_cmd(wmi_handle,
|
||||
photlist, buf_len);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
@@ -1084,26 +1084,6 @@ static QDF_STATUS send_extscan_start_hotlist_monitor_cmd_tlv
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
* send_get_buf_extscan_hotlist_cmd_tlv() - prepare hotlist command
|
||||
* @wmi_handle: wmi handle
|
||||
* @photlist: hotlist command params
|
||||
* @buf_len: buffer length
|
||||
*
|
||||
* This function fills individual elements for hotlist request and
|
||||
* TLV for bssid entries
|
||||
*
|
||||
* Return: CDF Status.
|
||||
*/
|
||||
static QDF_STATUS send_get_buf_extscan_hotlist_cmd_tlv
|
||||
(wmi_unified_t wmi_handle,
|
||||
struct ext_scan_setbssid_hotlist_params *photlist,
|
||||
int *buf_len)
|
||||
{
|
||||
return send_extscan_start_hotlist_monitor_cmd_tlv(wmi_handle,
|
||||
photlist);
|
||||
}
|
||||
|
||||
void wmi_extscan_attach_tlv(wmi_unified_t wmi_handle)
|
||||
{
|
||||
struct wmi_ops *ops = wmi_handle->ops;
|
||||
@@ -1127,6 +1107,4 @@ void wmi_extscan_attach_tlv(wmi_unified_t wmi_handle)
|
||||
send_extscan_start_hotlist_monitor_cmd_tlv;
|
||||
ops->send_stop_extscan_cmd = send_stop_extscan_cmd_tlv;
|
||||
ops->send_start_extscan_cmd = send_start_extscan_cmd_tlv;
|
||||
ops->send_get_buf_extscan_hotlist_cmd =
|
||||
send_get_buf_extscan_hotlist_cmd_tlv;
|
||||
}
|
||||
|
Referens i nytt ärende
Block a user