Home | History | Annotate | Download | only in wpa_supplicant
      1 /*
      2  * wpa_supplicant - Temporary BSSID blacklist
      3  * Copyright (c) 2003-2007, Jouni Malinen <j (at) w1.fi>
      4  *
      5  * This program is free software; you can redistribute it and/or modify
      6  * it under the terms of the GNU General Public License version 2 as
      7  * published by the Free Software Foundation.
      8  *
      9  * Alternatively, this software may be distributed under the terms of BSD
     10  * license.
     11  *
     12  * See README and COPYING for more details.
     13  */
     14 
     15 #ifndef BLACKLIST_H
     16 #define BLACKLIST_H
     17 
     18 struct wpa_blacklist {
     19 	struct wpa_blacklist *next;
     20 	u8 bssid[ETH_ALEN];
     21 	int count;
     22 };
     23 
     24 struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s,
     25 					 const u8 *bssid);
     26 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
     27 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
     28 void wpa_blacklist_clear(struct wpa_supplicant *wpa_s);
     29 
     30 #endif /* BLACKLIST_H */
     31