dfs.h revision 281681
1281681Srpaulo/*
2281681Srpaulo * DFS - Dynamic Frequency Selection
3281681Srpaulo * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
4281681Srpaulo * Copyright (c) 2013, Qualcomm Atheros, Inc.
5281681Srpaulo *
6281681Srpaulo * This software may be distributed under the terms of the BSD license.
7281681Srpaulo * See README for more details.
8281681Srpaulo */
9281681Srpaulo#ifndef DFS_H
10281681Srpaulo#define DFS_H
11281681Srpaulo
12281681Srpauloint hostapd_handle_dfs(struct hostapd_iface *iface);
13281681Srpaulo
14281681Srpauloint hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
15281681Srpaulo			     int ht_enabled, int chan_offset, int chan_width,
16281681Srpaulo			     int cf1, int cf2);
17281681Srpauloint hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
18281681Srpaulo			       int ht_enabled,
19281681Srpaulo			       int chan_offset, int chan_width,
20281681Srpaulo			       int cf1, int cf2);
21281681Srpauloint hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
22281681Srpaulo			     int ht_enabled,
23281681Srpaulo			     int chan_offset, int chan_width, int cf1, int cf2);
24281681Srpauloint hostapd_is_dfs_required(struct hostapd_iface *iface);
25281681Srpauloint hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
26281681Srpaulo			  int ht_enabled, int chan_offset, int chan_width,
27281681Srpaulo			  int cf1, int cf2);
28281681Srpauloint hostapd_handle_dfs_offload(struct hostapd_iface *iface);
29281681Srpaulo
30281681Srpaulo#endif /* DFS_H */
31