blob: 642c625db67ad64c9e2a5a87c33c090719806c3b [file] [log] [blame]
developerd8126d12023-02-17 11:50:45 +08001From 619075bb430c908c61a818c45e36f1ca76020741 Mon Sep 17 00:00:00 2001
2From: Peter Chiu <chui-hao.chiu@mediatek.com>
3Date: Mon, 13 Feb 2023 11:03:53 +0800
4Subject: [PATCH 15/15] hostapd: mtk: 6G band does not require DFS
5
6---
7 src/ap/dfs.c | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/src/ap/dfs.c b/src/ap/dfs.c
11index 1c3f6785b..4b1e64246 100644
12--- a/src/ap/dfs.c
13+++ b/src/ap/dfs.c
14@@ -1506,6 +1506,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--
232.25.1
24