[openwrt/openwrt] wifi-scripts: sync enable_background_radar in ucode with old version
LEDE Commits
lede-commits at lists.infradead.org
Tue Jan 14 04:51:35 PST 2025
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e5168715156ef5b71791c1ce16a9aeec0f94cb30
commit e5168715156ef5b71791c1ce16a9aeec0f94cb30
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Jan 14 13:29:40 2025 +0100
wifi-scripts: sync enable_background_radar in ucode with old version
It needs to be opt-in instead of opt-out, since there is no reliable way to
determine if the extra background radar chain has an antenna connected.
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
.../config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc
index adbfc1b978..0e3cfc5b90 100644
--- a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc
+++ b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc
@@ -493,7 +493,7 @@ function generate(config) {
if (!phy_features.radar_background || config.band != '5g')
delete config.enable_background_radar;
else
- set_default(config, 'enable_background_radar', phy_features.radar_background);
+ set_default(config, 'enable_background_radar', false);
append_vars(config, [ 'acs_chan_bias', 'acs_exclude_dfs', 'enable_background_radar' ]);
More information about the lede-commits
mailing list