From 3cf360b8e24b7056fda31a7d80a0a0981085b048 Mon Sep 17 00:00:00 2001 From: Ankita Bajaj Date: Wed, 27 Nov 2019 22:23:41 +0530 Subject: [PATCH] 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 --- src/ap/dfs.c | 3 +++ 1 file changed, 3 insertions(+) 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