From 4c60fba3d809ff30bad1baae03b90b208b7afe0d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 11 Dec 2024 11:55:21 +0100 Subject: [PATCH] wifi-scripts: ucode: only set mbssid on ax and be radios Signed-off-by: John Crispin --- .../wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc | 5 ++++- 1 file changed, 4 insertions(+), 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 2f6c4ddc40..f7eaa2741d 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 @@ -478,7 +478,7 @@ function generate(config) { device_rates(config); /* beacon */ - append_vars(config, [ 'beacon_int', 'beacon_rate', 'rnr_beacon', 'mbssid' ]); + append_vars(config, [ 'beacon_int', 'beacon_rate', 'rnr_beacon' ]); /* wpa_supplicant co-exist */ append_vars(config, [ 'noscan' ]); @@ -510,6 +510,9 @@ function generate(config) { } device_htmode_append(config); + if (config.ieee80211ax || config.ieee80211be) + append_vars(config, [ 'mbssid' ]); + /* 6G power mode */ if (config.band != '6g') append_vars(config, [ 'reg_power_type' ]); -- 2.30.2