15b9c547cSRui Paulo /* 25b9c547cSRui Paulo * DFS - Dynamic Frequency Selection 35b9c547cSRui Paulo * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> 485732ac8SCy Schubert * Copyright (c) 2013-2017, Qualcomm Atheros, Inc. 55b9c547cSRui Paulo * 65b9c547cSRui Paulo * This software may be distributed under the terms of the BSD license. 75b9c547cSRui Paulo * See README for more details. 85b9c547cSRui Paulo */ 95b9c547cSRui Paulo #ifndef DFS_H 105b9c547cSRui Paulo #define DFS_H 115b9c547cSRui Paulo 125b9c547cSRui Paulo int hostapd_handle_dfs(struct hostapd_iface *iface); 135b9c547cSRui Paulo 145b9c547cSRui Paulo int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, 155b9c547cSRui Paulo int ht_enabled, int chan_offset, int chan_width, 165b9c547cSRui Paulo int cf1, int cf2); 1785732ac8SCy Schubert int hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq, 1885732ac8SCy Schubert int ht_enabled, int chan_offset, int chan_width, 1985732ac8SCy Schubert int cf1, int cf2); 205b9c547cSRui Paulo int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, 215b9c547cSRui Paulo int ht_enabled, 225b9c547cSRui Paulo int chan_offset, int chan_width, 235b9c547cSRui Paulo int cf1, int cf2); 245b9c547cSRui Paulo int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq, 255b9c547cSRui Paulo int ht_enabled, 265b9c547cSRui Paulo int chan_offset, int chan_width, int cf1, int cf2); 275b9c547cSRui Paulo int hostapd_is_dfs_required(struct hostapd_iface *iface); 28*c1d255d3SCy Schubert int hostapd_is_dfs_chan_available(struct hostapd_iface *iface); 295b9c547cSRui Paulo int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq, 305b9c547cSRui Paulo int ht_enabled, int chan_offset, int chan_width, 315b9c547cSRui Paulo int cf1, int cf2); 325b9c547cSRui Paulo int hostapd_handle_dfs_offload(struct hostapd_iface *iface); 33*c1d255d3SCy Schubert int hostapd_is_dfs_overlap(struct hostapd_iface *iface, enum chan_width width, 34*c1d255d3SCy Schubert int center_freq); 355b9c547cSRui Paulo 365b9c547cSRui Paulo #endif /* DFS_H */ 37