aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkita Bajaj <bankita@codeaurora.org>2019-11-27 16:53:41 (GMT)
committerJouni Malinen <j@w1.fi>2019-12-05 15:12:27 (GMT)
commit3cf360b8e24b7056fda31a7d80a0a0981085b048 (patch)
tree1b29cebf5bb9d82624260952ff4aa28c60ae7173
parentee0030e814088adee3b72a2dbf7bc30014eff06c (diff)
downloadhostap-3cf360b8e24b7056fda31a7d80a0a0981085b048.zip
hostap-3cf360b8e24b7056fda31a7d80a0a0981085b048.tar.gz
hostap-3cf360b8e24b7056fda31a7d80a0a0981085b048.tar.bz2
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 <jouni@codeaurora.org>
-rw-r--r--src/ap/dfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/dfs.c b/src/ap/dfs.c
index db7130a..f70ecc9 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