2013-10-15 19:27:25 +02:00
|
|
|
/*
|
|
|
|
* DFS - Dynamic Frequency Selection
|
|
|
|
* Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
|
2017-03-08 06:13:17 +01:00
|
|
|
* Copyright (c) 2013-2017, Qualcomm Atheros, Inc.
|
2013-10-15 19:27:25 +02:00
|
|
|
*
|
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
|
|
|
*/
|
|
|
|
#ifndef DFS_H
|
|
|
|
#define DFS_H
|
|
|
|
|
2013-11-03 17:48:03 +01:00
|
|
|
int hostapd_handle_dfs(struct hostapd_iface *iface);
|
2013-10-15 19:27:25 +02:00
|
|
|
|
2013-11-03 17:48:03 +01:00
|
|
|
int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
|
2013-10-16 11:18:52 +02:00
|
|
|
int ht_enabled, int chan_offset, int chan_width,
|
|
|
|
int cf1, int cf2);
|
2017-03-08 06:13:17 +01:00
|
|
|
int hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq,
|
|
|
|
int ht_enabled, int chan_offset, int chan_width,
|
|
|
|
int cf1, int cf2);
|
2013-11-03 17:48:03 +01:00
|
|
|
int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
|
2013-10-16 11:18:52 +02:00
|
|
|
int ht_enabled,
|
|
|
|
int chan_offset, int chan_width,
|
|
|
|
int cf1, int cf2);
|
2013-11-03 17:48:03 +01:00
|
|
|
int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
|
2013-10-16 11:18:52 +02:00
|
|
|
int ht_enabled,
|
|
|
|
int chan_offset, int chan_width, int cf1, int cf2);
|
2014-02-21 14:42:18 +01:00
|
|
|
int hostapd_is_dfs_required(struct hostapd_iface *iface);
|
2020-01-28 16:09:51 +01:00
|
|
|
int hostapd_is_dfs_chan_available(struct hostapd_iface *iface);
|
2015-03-05 02:24:36 +01:00
|
|
|
int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
|
|
|
|
int ht_enabled, int chan_offset, int chan_width,
|
|
|
|
int cf1, int cf2);
|
|
|
|
int hostapd_handle_dfs_offload(struct hostapd_iface *iface);
|
2020-01-28 16:09:52 +01:00
|
|
|
int hostapd_is_dfs_overlap(struct hostapd_iface *iface, enum chan_width width,
|
|
|
|
int center_freq);
|
2013-10-16 11:18:52 +02:00
|
|
|
|
2013-10-15 19:27:25 +02:00
|
|
|
#endif /* DFS_H */
|