1 /* 2 * wpa_supplicant - Temporary BSSID blacklist 3 * Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi> 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef BLACKLIST_H 10 #define BLACKLIST_H 11 12 struct wpa_blacklist { 13 struct wpa_blacklist *next; 14 u8 bssid[ETH_ALEN]; 15 int count; 16 }; 17 18 struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s, 19 const u8 *bssid); 20 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid); 21 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid); 22 void wpa_blacklist_clear(struct wpa_supplicant *wpa_s); 23 24 #endif /* BLACKLIST_H */ 25