1 /* 2 * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 #ifndef _WMI_UNIFIED_EXTSCAN_API_H_ 20 #define _WMI_UNIFIED_EXTSCAN_API_H_ 21 22 QDF_STATUS wmi_unified_reset_passpoint_network_list_cmd(void *wmi_hdl, 23 struct wifi_passpoint_req_param *req); 24 25 QDF_STATUS wmi_unified_set_passpoint_network_list_cmd(void *wmi_hdl, 26 struct wifi_passpoint_req_param *req); 27 28 QDF_STATUS wmi_unified_set_epno_network_list_cmd(void *wmi_hdl, 29 struct wifi_enhanced_pno_params *req); 30 31 QDF_STATUS wmi_unified_extscan_get_capabilities_cmd(void *wmi_hdl, 32 struct extscan_capabilities_params *pgetcapab); 33 34 QDF_STATUS wmi_unified_extscan_get_cached_results_cmd(void *wmi_hdl, 35 struct extscan_cached_result_params *pcached_results); 36 37 QDF_STATUS wmi_unified_extscan_stop_change_monitor_cmd(void *wmi_hdl, 38 struct extscan_capabilities_reset_params *reset_req); 39 40 QDF_STATUS wmi_unified_extscan_start_change_monitor_cmd(void *wmi_hdl, 41 struct extscan_set_sig_changereq_params * 42 psigchange); 43 44 QDF_STATUS wmi_unified_extscan_stop_hotlist_monitor_cmd(void *wmi_hdl, 45 struct extscan_bssid_hotlist_reset_params *photlist_reset); 46 47 /** 48 * wmi_unified_extscan_start_hotlist_monitor_cmd() - start hotlist monitor 49 * @wmi_hdl: wmi handle 50 * @params: hotlist params 51 * 52 * This function configures hotlist monitor to start in fw. 53 * 54 * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure 55 */ 56 QDF_STATUS wmi_unified_extscan_start_hotlist_monitor_cmd(void *wmi_hdl, 57 struct extscan_bssid_hotlist_set_params *params); 58 59 QDF_STATUS wmi_unified_stop_extscan_cmd(void *wmi_hdl, 60 struct extscan_stop_req_params *pstopcmd); 61 62 QDF_STATUS wmi_unified_start_extscan_cmd(void *wmi_hdl, 63 struct wifi_scan_cmd_req_params *pstart); 64 65 #endif /* _WMI_UNIFIED_EXTSCAN_API_H_ */ 66