DFS offload: Add main DFS handler for offloaded case
Add handling logic for DFS offloaded case, and add a helper function that takes the frequency (MHz) as a param and returns 1 if given channel requires DFS, or 0 otherwise. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
5de81d7a7a
commit
c13578c339
6 changed files with 109 additions and 1 deletions
|
@ -22,5 +22,9 @@ int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
|
|||
int ht_enabled,
|
||||
int chan_offset, int chan_width, int cf1, int cf2);
|
||||
int hostapd_is_dfs_required(struct hostapd_iface *iface);
|
||||
int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
|
||||
int ht_enabled, int chan_offset, int chan_width,
|
||||
int cf1, int cf2);
|
||||
int hostapd_handle_dfs_offload(struct hostapd_iface *iface);
|
||||
|
||||
#endif /* DFS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue