dfs.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * DFS - Dynamic Frequency Selection
  3. * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
  4. * Copyright (c) 2013-2017, Qualcomm Atheros, Inc.
  5. *
  6. * This software may be distributed under the terms of the BSD license.
  7. * See README for more details.
  8. */
  9. #ifndef DFS_H
  10. #define DFS_H
  11. int hostapd_handle_dfs(struct hostapd_iface *iface);
  12. int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
  13. int ht_enabled, int chan_offset, int chan_width,
  14. int cf1, int cf2);
  15. int hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq,
  16. int ht_enabled, int chan_offset, int chan_width,
  17. int cf1, int cf2);
  18. int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
  19. int ht_enabled,
  20. int chan_offset, int chan_width,
  21. int cf1, int cf2);
  22. int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
  23. int ht_enabled,
  24. int chan_offset, int chan_width, int cf1, int cf2);
  25. int hostapd_is_dfs_required(struct hostapd_iface *iface);
  26. int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
  27. int ht_enabled, int chan_offset, int chan_width,
  28. int cf1, int cf2);
  29. int hostapd_handle_dfs_offload(struct hostapd_iface *iface);
  30. #endif /* DFS_H */