You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930
  1. /*
  2. * wpa_supplicant - Temporary BSSID blacklist
  3. * Copyright (c) 2003-2007, Jouni Malinen <j@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. #ifndef BLACKLIST_H
  15. #define BLACKLIST_H
  16. struct wpa_blacklist {
  17. struct wpa_blacklist *next;
  18. u8 bssid[ETH_ALEN];
  19. int count;
  20. };
  21. struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s,
  22. const u8 *bssid);
  23. int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
  24. int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
  25. void wpa_blacklist_clear(struct wpa_supplicant *wpa_s);
  26. #endif /* BLACKLIST_H */