scan.h revision 252726
1214501Srpaulo/* 2214501Srpaulo * WPA Supplicant - Scanning 3214501Srpaulo * Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi> 4214501Srpaulo * 5252726Srpaulo * This software may be distributed under the terms of the BSD license. 6252726Srpaulo * See README for more details. 7214501Srpaulo */ 8214501Srpaulo 9214501Srpaulo#ifndef SCAN_H 10214501Srpaulo#define SCAN_H 11214501Srpaulo 12252726Srpauloint wpa_supplicant_enabled_networks(struct wpa_supplicant *wpa_s); 13214501Srpaulovoid wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 14252726Srpauloint wpa_supplicant_delayed_sched_scan(struct wpa_supplicant *wpa_s, 15252726Srpaulo int sec, int usec); 16252726Srpauloint wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s); 17214501Srpaulovoid wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s); 18252726Srpaulovoid wpa_supplicant_cancel_sched_scan(struct wpa_supplicant *wpa_s); 19214501Srpaulovoid wpa_supplicant_notify_scanning(struct wpa_supplicant *wpa_s, 20214501Srpaulo int scanning); 21214501Srpaulostruct wpa_driver_scan_params; 22214501Srpauloint wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s, 23214501Srpaulo struct wpa_driver_scan_params *params); 24214501Srpaulostruct wpa_scan_results * 25214501Srpaulowpa_supplicant_get_scan_results(struct wpa_supplicant *wpa_s, 26214501Srpaulo struct scan_info *info, int new_scan); 27214501Srpauloint wpa_supplicant_update_scan_results(struct wpa_supplicant *wpa_s); 28214501Srpauloconst u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie); 29214501Srpauloconst u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res, 30214501Srpaulo u32 vendor_type); 31214501Srpaulostruct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res, 32214501Srpaulo u32 vendor_type); 33252726Srpauloint wpa_supplicant_filter_bssid_match(struct wpa_supplicant *wpa_s, 34252726Srpaulo const u8 *bssid); 35214501Srpaulo 36214501Srpaulo#endif /* SCAN_H */ 37