wifi-scripts: ucode: only set mbssid on ax and be radios

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2024-12-11 11:55:21 +01:00
parent 5bc82dede0
commit 4c60fba3d8

View File

@ -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' ]);