wpa_supplicant / hostapd
2.5
|
wpa_supplicant - Temporary BSSID blacklist More...
Functions | |
struct wpa_blacklist * | wpa_blacklist_get (struct wpa_supplicant *wpa_s, const u8 *bssid) |
Get the blacklist entry for a BSSID. More... | |
int | wpa_blacklist_add (struct wpa_supplicant *wpa_s, const u8 *bssid) |
Add an BSSID to the blacklist. More... | |
int | wpa_blacklist_del (struct wpa_supplicant *wpa_s, const u8 *bssid) |
Remove an BSSID from the blacklist. More... | |
void | wpa_blacklist_clear (struct wpa_supplicant *wpa_s) |
Clear the blacklist of all entries. More... | |
wpa_supplicant - Temporary BSSID blacklist
int wpa_blacklist_add | ( | struct wpa_supplicant * | wpa_s, |
const u8 * | bssid | ||
) |
Add an BSSID to the blacklist.
wpa_s | Pointer to wpa_supplicant data |
bssid | BSSID to be added to the blacklist |
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.
void wpa_blacklist_clear | ( | struct wpa_supplicant * | wpa_s | ) |
Clear the blacklist of all entries.
wpa_s | Pointer to wpa_supplicant data |
int wpa_blacklist_del | ( | struct wpa_supplicant * | wpa_s, |
const u8 * | bssid | ||
) |
Remove an BSSID from the blacklist.
wpa_s | Pointer to wpa_supplicant data |
bssid | BSSID to be removed from the blacklist |
struct wpa_blacklist* wpa_blacklist_get | ( | struct wpa_supplicant * | wpa_s, |
const u8 * | bssid | ||
) |
Get the blacklist entry for a BSSID.
wpa_s | Pointer to wpa_supplicant data |
bssid | BSSID |