Classes | Functions
blacklist.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wpa_blacklist

Functions

int wpa_blacklist_add (struct wpa_supplicant *wpa_s, const u8 *bssid)
void wpa_blacklist_clear (struct wpa_supplicant *wpa_s)
int wpa_blacklist_del (struct wpa_supplicant *wpa_s, const u8 *bssid)
struct wpa_blacklistwpa_blacklist_get (struct wpa_supplicant *wpa_s, const u8 *bssid)

Function Documentation

int wpa_blacklist_add ( struct wpa_supplicant wpa_s,
const u8 *  bssid 
)

wpa_blacklist_add - Add an BSSID to the blacklist : Pointer to wpa_supplicant data : BSSID to be added to the blacklist Returns: 0 on success, -1 on failure

This function adds the specified BSSID to the blacklist or increases the blacklist count if the BSSID was already listed. It should be called when an association attempt fails either due to the selected BSS rejecting association or due to timeout.

This blacklist is used to force wpa_supplicant to go through all available BSSes before retrying to associate with an BSS that rejected or timed out association. It does not prevent the listed BSS from being used; it only changes the order in which they are tried.

Definition at line 59 of file blacklist.c.

void wpa_blacklist_clear ( struct wpa_supplicant wpa_s)

wpa_blacklist_clear - Clear the blacklist of all entries : Pointer to wpa_supplicant data

Definition at line 120 of file blacklist.c.

int wpa_blacklist_del ( struct wpa_supplicant wpa_s,
const u8 *  bssid 
)

wpa_blacklist_del - Remove an BSSID from the blacklist : Pointer to wpa_supplicant data : BSSID to be removed from the blacklist Returns: 0 on success, -1 on failure

Definition at line 92 of file blacklist.c.

struct wpa_blacklist* wpa_blacklist_get ( struct wpa_supplicant wpa_s,
const u8 *  bssid 
) [read]

wpa_blacklist_get - Get the blacklist entry for a BSSID : Pointer to wpa_supplicant data : BSSID Returns: Matching blacklist entry for the BSSID or NULL if not found

Definition at line 27 of file blacklist.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:22