developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 1 | From 931c93d5d19249a0b4e4efbc5957f537578dfd81 Mon Sep 17 00:00:00 2001 |
| 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Mon, 13 Feb 2023 11:03:53 +0800 |
| 4 | Subject: [PATCH 043/104] mtk: hostapd: 6G band does not require DFS |
| 5 | |
| 6 | --- |
| 7 | src/ap/dfs.c | 1 + |
| 8 | 1 file changed, 1 insertion(+) |
| 9 | |
| 10 | diff --git a/src/ap/dfs.c b/src/ap/dfs.c |
| 11 | index ece27d070..44f3a2cb1 100644 |
| 12 | --- a/src/ap/dfs.c |
| 13 | +++ b/src/ap/dfs.c |
| 14 | @@ -1525,6 +1525,7 @@ int hostapd_is_dfs_required(struct hostapd_iface *iface) |
| 15 | if ((!(iface->drv_flags & WPA_DRIVER_FLAGS_DFS_OFFLOAD) && |
| 16 | !iface->conf->ieee80211h) || |
| 17 | !iface->current_mode || |
| 18 | + is_6ghz_freq(iface->freq) || |
| 19 | iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A) |
| 20 | return 0; |
| 21 | |
| 22 | -- |
| 23 | 2.39.2 |
| 24 | |