From: Ankita Bajaj Date: Wed, 27 Nov 2019 16:53:41 +0000 (+0530) Subject: DFS: Don't handle DFS ops for 6 GHz channels X-Git-Tag: hostap_2_10~2188 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cf360b8e24b7056fda31a7d80a0a0981085b048;p=thirdparty%2Fhostap.git DFS: Don't handle DFS ops for 6 GHz channels Skip DFS checks and CAC operation for 6 GHz channels. AFC checks will be added for 6 GHz channels later. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/dfs.c b/src/ap/dfs.c index db7130a01..f70ecc946 100644 --- a/src/ap/dfs.c +++ b/src/ap/dfs.c @@ -673,6 +673,9 @@ int hostapd_handle_dfs(struct hostapd_iface *iface) int res, n_chans, n_chans1, start_chan_idx, start_chan_idx1; int skip_radar = 0; + if (is_6ghz_freq(iface->freq)) + return 1; + if (!iface->current_mode) { /* * This can happen with drivers that do not provide mode