developer | bddc9db | 2023-09-11 13:34:36 +0800 | [diff] [blame^] | 1 | From 0381565e342ecf407ffb6a32212c6d7123417c73 Mon Sep 17 00:00:00 2001 |
developer | d8126d1 | 2023-02-17 11:50:45 +0800 | [diff] [blame] | 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Mon, 13 Feb 2023 11:03:53 +0800 |
developer | bddc9db | 2023-09-11 13:34:36 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 15/40] hostapd: mtk: 6G band does not require DFS |
developer | d8126d1 | 2023-02-17 11:50:45 +0800 | [diff] [blame] | 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 |
developer | bddc9db | 2023-09-11 13:34:36 +0800 | [diff] [blame^] | 11 | index 48c5fc9..dcf89ce 100644 |
developer | d8126d1 | 2023-02-17 11:50:45 +0800 | [diff] [blame] | 12 | --- a/src/ap/dfs.c |
| 13 | +++ b/src/ap/dfs.c |
developer | 5e0a8d7 | 2023-05-12 18:58:17 +0800 | [diff] [blame] | 14 | @@ -1511,6 +1511,7 @@ int hostapd_is_dfs_required(struct hostapd_iface *iface) |
developer | d8126d1 | 2023-02-17 11:50:45 +0800 | [diff] [blame] | 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 | -- |
developer | bddc9db | 2023-09-11 13:34:36 +0800 | [diff] [blame^] | 23 | 2.18.0 |
developer | d8126d1 | 2023-02-17 11:50:45 +0800 | [diff] [blame] | 24 | |