ieee802_11h.h 739 B

123456789101112131415161718192021222324252627
  1. /*
  2. * hostapd / IEEE 802.11h
  3. * Copyright (c) 2005-2006, Devicescape Software, Inc.
  4. * Copyright (c) 2007, Jouni Malinen <j@w1.fi>
  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 IEEE802_11H_H
  16. #define IEEE802_11H_H
  17. #define SPECT_LOOSE_BINDING 1
  18. #define SPECT_STRICT_BINDING 2
  19. #define CHAN_SWITCH_MODE_NOISY 0
  20. #define CHAN_SWITCH_MODE_QUIET 1
  21. int hostapd_check_power_cap(struct hostapd_data *hapd, u8 *power, u8 len);
  22. #endif /* IEEE802_11H_H */