xref: /freebsd/contrib/wpa/src/ap/dfs.h (revision f39bffc62c1395bde25d152c7f68fdf7cbaab414)
1 /*
2  * DFS - Dynamic Frequency Selection
3  * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
4  * Copyright (c) 2013, 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 
12 int hostapd_handle_dfs(struct hostapd_iface *iface);
13 
14 int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
15 			     int ht_enabled, int chan_offset, int chan_width,
16 			     int cf1, int cf2);
17 int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
18 			       int ht_enabled,
19 			       int chan_offset, int chan_width,
20 			       int cf1, int cf2);
21 int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
22 			     int ht_enabled,
23 			     int chan_offset, int chan_width, int cf1, int cf2);
24 int hostapd_is_dfs_required(struct hostapd_iface *iface);
25 int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
26 			  int ht_enabled, int chan_offset, int chan_width,
27 			  int cf1, int cf2);
28 int hostapd_handle_dfs_offload(struct hostapd_iface *iface);
29 
30 #endif /* DFS_H */
31