]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DFS: Don't handle DFS ops for 6 GHz channels
authorAnkita Bajaj <bankita@codeaurora.org>
Wed, 27 Nov 2019 16:53:41 +0000 (22:23 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 5 Dec 2019 15:12:27 +0000 (17:12 +0200)
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>
src/ap/dfs.c

index db7130a0140a26160384566b85d2c2b0d7cf9f16..f70ecc9463287050fcc71d4ac1f73065b864c158 100644 (file)
@@ -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