1 /* 2 * WPA Supplicant - Scanning 3 * Copyright (c) 2003-2014, Jouni Malinen <j@w1.fi> 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef SCAN_H 10 #define SCAN_H 11 12 /* 13 * Noise floor values to use when we have signal strength 14 * measurements, but no noise floor measurements. These values were 15 * measured in an office environment with many APs. 16 */ 17 #define DEFAULT_NOISE_FLOOR_2GHZ (-89) 18 19 struct wpa_driver_scan_params; 20 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 21 int wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s, 22 struct wpa_driver_scan_params *params); 23 const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie); 24 void wpa_scan_free_params(struct wpa_driver_scan_params *params); 25 #endif /* SCAN_H */ 26