scan.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const u8wpa_scan_get_ie (const struct wpa_scan_res *res, u8 ie)
const u8wpa_scan_get_vendor_ie (const struct wpa_scan_res *res, u32 vendor_type)
struct wpabufwpa_scan_get_vendor_ie_multi (const struct wpa_scan_res *res, u32 vendor_type)
void wpa_scan_results_free (struct wpa_scan_results *res)
void wpa_supplicant_cancel_scan (struct wpa_supplicant *wpa_s)
int wpa_supplicant_enabled_networks (struct wpa_config *conf)
struct wpa_scan_resultswpa_supplicant_get_scan_results (struct wpa_supplicant *wpa_s, struct scan_info *info, int new_scan)
void wpa_supplicant_notify_scanning (struct wpa_supplicant *wpa_s, int scanning)
void wpa_supplicant_req_scan (struct wpa_supplicant *wpa_s, int sec, int usec)
int wpa_supplicant_trigger_scan (struct wpa_supplicant *wpa_s, struct wpa_driver_scan_params *params)
int wpa_supplicant_update_scan_results (struct wpa_supplicant *wpa_s)

Function Documentation

const u8* wpa_scan_get_ie ( const struct wpa_scan_res res,
u8  ie 
)

Definition at line 521 of file scan.c.

const u8* wpa_scan_get_vendor_ie ( const struct wpa_scan_res res,
u32  vendor_type 
)

Definition at line 540 of file scan.c.

struct wpabuf* wpa_scan_get_vendor_ie_multi ( const struct wpa_scan_res res,
u32  vendor_type 
) [read]

Definition at line 561 of file scan.c.

void wpa_scan_results_free ( struct wpa_scan_results res  ) 

Definition at line 692 of file scan.c.

void wpa_supplicant_cancel_scan ( struct wpa_supplicant wpa_s  ) 

wpa_supplicant_cancel_scan - Cancel a scheduled scan request : Pointer to wpa_supplicant data

This function is used to cancel a scan request scheduled with wpa_supplicant_req_scan().

Definition at line 482 of file scan.c.

int wpa_supplicant_enabled_networks ( struct wpa_config conf  ) 

Definition at line 77 of file scan.c.

struct wpa_scan_results* wpa_supplicant_get_scan_results ( struct wpa_supplicant wpa_s,
struct scan_info *  info,
int  new_scan 
) [read]

wpa_supplicant_get_scan_results - Get scan results : Pointer to wpa_supplicant data : Information about what was scanned or NULL if not available : Whether a new scan was performed Returns: Scan results, NULL on failure

This function request the current scan results from the driver and updates the local BSS list wpa_s->bss. The caller is responsible for freeing the results with wpa_scan_results_free().

Definition at line 653 of file scan.c.

void wpa_supplicant_notify_scanning ( struct wpa_supplicant wpa_s,
int  scanning 
)

Definition at line 489 of file scan.c.

void wpa_supplicant_req_scan ( struct wpa_supplicant wpa_s,
int  sec,
int  usec 
)

wpa_supplicant_req_scan - Schedule a scan for neighboring access points : Pointer to wpa_supplicant data : Number of seconds after which to scan : Number of microseconds after which to scan

This function is used to schedule a scan for neighboring access points after the specified time.

Definition at line 444 of file scan.c.

int wpa_supplicant_trigger_scan ( struct wpa_supplicant wpa_s,
struct wpa_driver_scan_params params 
)

Definition at line 185 of file scan.c.

int wpa_supplicant_update_scan_results ( struct wpa_supplicant wpa_s  ) 

Definition at line 680 of file scan.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:56 2013