wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
scan.h
Go to the documentation of this file.
1 
5 #ifndef SCAN_H
6 #define SCAN_H
7 
9 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
11  int sec, int usec);
13 void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s);
17  int scanning);
20  struct wpa_driver_scan_params *params);
21 struct wpa_scan_results *
23  struct scan_info *info, int new_scan);
25 const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie);
26 const u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res,
27  u32 vendor_type);
28 const u8 * wpa_scan_get_vendor_ie_beacon(const struct wpa_scan_res *res,
29  u32 vendor_type);
30 struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res,
31  u32 vendor_type);
33  const u8 *bssid);
34 void wpa_supplicant_update_scan_int(struct wpa_supplicant *wpa_s, int sec);
35 void scan_only_handler(struct wpa_supplicant *wpa_s,
36  struct wpa_scan_results *scan_res);
37 int wpas_scan_scheduled(struct wpa_supplicant *wpa_s);
38 int wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s,
39  struct wpa_driver_scan_params *params,
40  int interval);
41 int wpa_supplicant_stop_sched_scan(struct wpa_supplicant *wpa_s);
43 wpa_scan_clone_params(const struct wpa_driver_scan_params *src);
44 void wpa_scan_free_params(struct wpa_driver_scan_params *params);
45 int wpas_start_pno(struct wpa_supplicant *wpa_s);
46 int wpas_stop_pno(struct wpa_supplicant *wpa_s);
47 
48 void wpas_mac_addr_rand_scan_clear(struct wpa_supplicant *wpa_s,
49  unsigned int type);
50 int wpas_mac_addr_rand_scan_set(struct wpa_supplicant *wpa_s,
51  unsigned int type, const u8 *addr,
52  const u8 *mask);
53 
54 #endif /* SCAN_H */
const u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res, u32 vendor_type)
Fetch vendor information element from a scan result.
Definition: scan.c:1541
struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res, u32 vendor_type)
Fetch vendor IE data from a scan result.
Definition: scan.c:1609
struct wpa_scan_results * wpa_supplicant_get_scan_results(struct wpa_supplicant *wpa_s, struct scan_info *info, int new_scan)
Get scan results.
Definition: scan.c:2051
int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s)
Start a periodic scheduled scan.
Definition: scan.c:1170
int wpa_supplicant_enabled_networks(struct wpa_supplicant *wpa_s)
Check whether there are enabled networks.
Definition: scan.c:91
void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec)
Schedule a scan for neighboring access points.
Definition: scan.c:1111
const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie)
Fetch a specified information element from a scan result.
Definition: scan.c:1513
Scan parameters Data for struct wpa_driver_ops::scan2().
Definition: driver.h:306
Definition: wpabuf.h:16
void wpa_supplicant_cancel_sched_scan(struct wpa_supplicant *wpa_s)
Stop running scheduled scans.
Definition: scan.c:1451
Scan result for an BSS/IBSS.
Definition: driver.h:253
int wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s, struct wpa_driver_scan_params *params)
Request driver to start a scan.
Definition: scan.c:217
void wpa_supplicant_notify_scanning(struct wpa_supplicant *wpa_s, int scanning)
Indicate possible scan state change.
Definition: scan.c:1472
Scan results.
Definition: driver.h:277
void scan_only_handler(struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res)
Reports scan results.
Definition: scan.c:2129
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s)
Cancel a scheduled scan request.
Definition: scan.c:1421
int wpa_supplicant_filter_bssid_match(struct wpa_supplicant *wpa_s, const u8 *bssid)
Is the specified BSSID allowed.
Definition: scan.c:1813
void wpa_supplicant_cancel_delayed_sched_scan(struct wpa_supplicant *wpa_s)
Stop a delayed scheduled scan.
Definition: scan.c:1434
int wpa_supplicant_update_scan_results(struct wpa_supplicant *wpa_s)
Update scan results from the driver.
Definition: scan.c:2113
const u8 * wpa_scan_get_vendor_ie_beacon(const struct wpa_scan_res *res, u32 vendor_type)
Fetch vendor information from a scan result.
Definition: scan.c:1574
int wpa_supplicant_delayed_sched_scan(struct wpa_supplicant *wpa_s, int sec, int usec)
Request a delayed scheduled scan.
Definition: scan.c:1148