]> git.ipfire.org Git - thirdparty/hostap.git/blame - wpa_supplicant/blacklist.h
tests: Fix ap_ft_reassoc_replay for case where wlantest has the PSK
[thirdparty/hostap.git] / wpa_supplicant / blacklist.h
CommitLineData
6fc6879b
JM
1/*
2 * wpa_supplicant - Temporary BSSID blacklist
3 * Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
4 *
0f3d578e
JM
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
6fc6879b
JM
7 */
8
9#ifndef BLACKLIST_H
10#define BLACKLIST_H
11
12struct wpa_blacklist {
13 struct wpa_blacklist *next;
14 u8 bssid[ETH_ALEN];
15 int count;
16};
17
18struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s,
19 const u8 *bssid);
20int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
21int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
22void wpa_blacklist_clear(struct wpa_supplicant *wpa_s);
23
24#endif /* BLACKLIST_H */