hostapd: Add AP DFS support
[mech_eap.git] / src / ap / dfs.h
1 /*
2  * DFS - Dynamic Frequency Selection
3  * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 #ifndef DFS_H
9 #define DFS_H
10
11 struct hostapd_channel_data * hostapd_dfs_get_valid_channel(
12         struct hostapd_data *hapd);
13 int ieee802_11_complete_cac(struct hostapd_data *hapd, int success, int freq);
14 int ieee802_11_set_dfs_state(struct hostapd_data *hapd, int freq, u32 state);
15 int ieee802_11_start_channel_switch(struct hostapd_data *hapd);
16 int hostapd_handle_dfs(struct hostapd_data *hapd);
17
18 #endif /* DFS_H */