1e5b75505Sopenharmony_ci/* 2e5b75505Sopenharmony_ci * DFS - Dynamic Frequency Selection 3e5b75505Sopenharmony_ci * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> 4e5b75505Sopenharmony_ci * Copyright (c) 2013-2017, Qualcomm Atheros, Inc. 5e5b75505Sopenharmony_ci * 6e5b75505Sopenharmony_ci * This software may be distributed under the terms of the BSD license. 7e5b75505Sopenharmony_ci * See README for more details. 8e5b75505Sopenharmony_ci */ 9e5b75505Sopenharmony_ci#ifndef DFS_H 10e5b75505Sopenharmony_ci#define DFS_H 11e5b75505Sopenharmony_ci 12e5b75505Sopenharmony_ciint hostapd_handle_dfs(struct hostapd_iface *iface); 13e5b75505Sopenharmony_ci 14e5b75505Sopenharmony_ciint hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, 15e5b75505Sopenharmony_ci int ht_enabled, int chan_offset, int chan_width, 16e5b75505Sopenharmony_ci int cf1, int cf2); 17e5b75505Sopenharmony_ciint hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq, 18e5b75505Sopenharmony_ci int ht_enabled, int chan_offset, int chan_width, 19e5b75505Sopenharmony_ci int cf1, int cf2); 20e5b75505Sopenharmony_ciint hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, 21e5b75505Sopenharmony_ci int ht_enabled, 22e5b75505Sopenharmony_ci int chan_offset, int chan_width, 23e5b75505Sopenharmony_ci int cf1, int cf2); 24e5b75505Sopenharmony_ciint hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq, 25e5b75505Sopenharmony_ci int ht_enabled, 26e5b75505Sopenharmony_ci int chan_offset, int chan_width, int cf1, int cf2); 27e5b75505Sopenharmony_ciint hostapd_is_dfs_required(struct hostapd_iface *iface); 28e5b75505Sopenharmony_ciint hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq, 29e5b75505Sopenharmony_ci int ht_enabled, int chan_offset, int chan_width, 30e5b75505Sopenharmony_ci int cf1, int cf2); 31e5b75505Sopenharmony_ciint hostapd_handle_dfs_offload(struct hostapd_iface *iface); 32e5b75505Sopenharmony_ci 33e5b75505Sopenharmony_ci#endif /* DFS_H */ 34