2008-02-27 20:34:43 -05:00
|
|
|
/*
|
|
|
|
* wpa_supplicant - Temporary BSSID blacklist
|
|
|
|
* Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 09:46:35 -05:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-27 20:34:43 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BLACKLIST_H
|
|
|
|
#define BLACKLIST_H
|
|
|
|
|
|
|
|
struct wpa_blacklist {
|
|
|
|
struct wpa_blacklist *next;
|
|
|
|
u8 bssid[ETH_ALEN];
|
|
|
|
int count;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s,
|
|
|
|
const u8 *bssid);
|
|
|
|
int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
|
|
|
|
int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
|
|
|
|
void wpa_blacklist_clear(struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
#endif /* BLACKLIST_H */
|