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:
@@ -62,8 +62,4 @@ QDF_STATUS wmi_unified_stop_extscan_cmd(void *wmi_hdl,
|
|||||||
QDF_STATUS wmi_unified_start_extscan_cmd(void *wmi_hdl,
|
QDF_STATUS wmi_unified_start_extscan_cmd(void *wmi_hdl,
|
||||||
struct wifi_scan_cmd_req_params *pstart);
|
struct wifi_scan_cmd_req_params *pstart);
|
||||||
|
|
||||||
QDF_STATUS wmi_unified_get_buf_extscan_hotlist_cmd(void *wmi_hdl,
|
|
||||||
struct ext_scan_setbssid_hotlist_params *
|
|
||||||
photlist, int *buf_len);
|
|
||||||
|
|
||||||
#endif /* _WMI_UNIFIED_EXTSCAN_API_H_ */
|
#endif /* _WMI_UNIFIED_EXTSCAN_API_H_ */
|
||||||
|
@@ -3586,8 +3586,6 @@ struct extscan_bssid_hotlist_set_params {
|
|||||||
uint32_t num_ap;
|
uint32_t num_ap;
|
||||||
struct ap_threshold_params ap[WMI_WLAN_EXTSCAN_MAX_HOTLIST_APS];
|
struct ap_threshold_params ap[WMI_WLAN_EXTSCAN_MAX_HOTLIST_APS];
|
||||||
};
|
};
|
||||||
/* legacy naming */
|
|
||||||
#define ext_scan_setbssid_hotlist_params extscan_bssid_hotlist_set_params
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct host_mem_req - Host memory request paramseters request by target
|
* struct host_mem_req - Host memory request paramseters request by target
|
||||||
|
@@ -809,10 +809,6 @@ QDF_STATUS (*send_set_arp_stats_req_cmd)(wmi_unified_t wmi_handle,
|
|||||||
QDF_STATUS (*send_get_arp_stats_req_cmd)(wmi_unified_t wmi_handle,
|
QDF_STATUS (*send_get_arp_stats_req_cmd)(wmi_unified_t wmi_handle,
|
||||||
struct get_arp_stats *req_buf);
|
struct get_arp_stats *req_buf);
|
||||||
|
|
||||||
QDF_STATUS (*send_get_buf_extscan_hotlist_cmd)(wmi_unified_t wmi_handle,
|
|
||||||
struct ext_scan_setbssid_hotlist_params *
|
|
||||||
photlist, int *buf_len);
|
|
||||||
|
|
||||||
#ifdef FEATURE_WLAN_APF
|
#ifdef FEATURE_WLAN_APF
|
||||||
QDF_STATUS
|
QDF_STATUS
|
||||||
(*send_set_active_apf_mode_cmd)(wmi_unified_t wmi_handle, uint8_t vdev_id,
|
(*send_set_active_apf_mode_cmd)(wmi_unified_t wmi_handle, uint8_t vdev_id,
|
||||||
|
@@ -245,27 +245,3 @@ QDF_STATUS wmi_unified_start_extscan_cmd(void *wmi_hdl,
|
|||||||
|
|
||||||
return QDF_STATUS_E_FAILURE;
|
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;
|
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)
|
void wmi_extscan_attach_tlv(wmi_unified_t wmi_handle)
|
||||||
{
|
{
|
||||||
struct wmi_ops *ops = wmi_handle->ops;
|
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;
|
send_extscan_start_hotlist_monitor_cmd_tlv;
|
||||||
ops->send_stop_extscan_cmd = send_stop_extscan_cmd_tlv;
|
ops->send_stop_extscan_cmd = send_stop_extscan_cmd_tlv;
|
||||||
ops->send_start_extscan_cmd = send_start_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;
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user