scan.h revision 214501
1214501Srpaulo/* 2214501Srpaulo * WPA Supplicant - Scanning 3214501Srpaulo * Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi> 4214501Srpaulo * 5214501Srpaulo * This program is free software; you can redistribute it and/or modify 6214501Srpaulo * it under the terms of the GNU General Public License version 2 as 7214501Srpaulo * published by the Free Software Foundation. 8214501Srpaulo * 9214501Srpaulo * Alternatively, this software may be distributed under the terms of BSD 10214501Srpaulo * license. 11214501Srpaulo * 12214501Srpaulo * See README and COPYING for more details. 13214501Srpaulo */ 14214501Srpaulo 15214501Srpaulo#ifndef SCAN_H 16214501Srpaulo#define SCAN_H 17214501Srpaulo 18214501Srpauloint wpa_supplicant_enabled_networks(struct wpa_config *conf); 19214501Srpaulovoid wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 20214501Srpaulovoid wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s); 21214501Srpaulovoid wpa_supplicant_notify_scanning(struct wpa_supplicant *wpa_s, 22214501Srpaulo int scanning); 23214501Srpaulostruct wpa_driver_scan_params; 24214501Srpauloint wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s, 25214501Srpaulo struct wpa_driver_scan_params *params); 26214501Srpaulostruct wpa_scan_results * 27214501Srpaulowpa_supplicant_get_scan_results(struct wpa_supplicant *wpa_s, 28214501Srpaulo struct scan_info *info, int new_scan); 29214501Srpauloint wpa_supplicant_update_scan_results(struct wpa_supplicant *wpa_s); 30214501Srpauloconst u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie); 31214501Srpauloconst u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res, 32214501Srpaulo u32 vendor_type); 33214501Srpaulostruct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res, 34214501Srpaulo u32 vendor_type); 35214501Srpaulovoid wpa_scan_results_free(struct wpa_scan_results *res); 36214501Srpaulo 37214501Srpaulo#endif /* SCAN_H */ 38