[openwrt/openwrt] wifi-scripts: ucode: only set mbssid on ax and be radios
LEDE Commits
lede-commits at lists.infradead.org
Wed Dec 11 06:43:42 PST 2024
blogic pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4c60fba3d809ff30bad1baae03b90b208b7afe0d
commit 4c60fba3d809ff30bad1baae03b90b208b7afe0d
Author: John Crispin <john at phrozen.org>
AuthorDate: Wed Dec 11 11:55:21 2024 +0100
wifi-scripts: ucode: only set mbssid on ax and be radios
Signed-off-by: John Crispin <john at phrozen.org>
---
.../config/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' ]);
More information about the lede-commits
mailing list