beacon.h 1018 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response
  3. * Copyright (c) 2002-2004, Instant802 Networks, Inc.
  4. * Copyright (c) 2005-2006, Devicescape Software, Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. * Alternatively, this software may be distributed under the terms of BSD
  11. * license.
  12. *
  13. * See README and COPYING for more details.
  14. */
  15. #ifndef BEACON_H
  16. #define BEACON_H
  17. struct ieee80211_mgmt;
  18. void handle_probe_req(struct hostapd_data *hapd, struct ieee80211_mgmt *mgmt,
  19. size_t len);
  20. #ifdef NEED_MLME
  21. void ieee802_11_set_beacon(struct hostapd_data *hapd);
  22. void ieee802_11_set_beacons(struct hostapd_iface *iface);
  23. #else /* NEED_MLME */
  24. static inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
  25. {
  26. }
  27. static inline void ieee802_11_set_beacons(struct hostapd_iface *iface)
  28. {
  29. }
  30. #endif /* NEED_MLME */
  31. #endif /* BEACON_H */