qca-wifi-7: fix 6Ghz multiple_bssid configuration

Fixes: WIFI-15260
Signed-off-by: ruanyaoyu <ruanyaoyu@cigtech.com>
This commit is contained in:
ruanyaoyu 2025-12-03 15:04:57 +08:00 committed by John Crispin
parent 61c858f3a9
commit eac3e7dc2e

View File

@ -520,14 +520,15 @@ mac80211_hostapd_setup_base() {
append base_cfg "he_mu_edca_ac_vo_timer=255" "$N" append base_cfg "he_mu_edca_ac_vo_timer=255" "$N"
fi fi
if [ "$enable_be" != "0" ]; then [ "$band" = 6g ] && multiple_bssid=1
append base_cfg "ieee80211be=1" "$N"
[ "$band" = 6g ] && multiple_bssid=1 if [ "$enable_be" != "0" ]; then
[ "$hwmode" = "a" ] && { append base_cfg "ieee80211be=1" "$N"
append base_cfg "eht_oper_chwidth=$eht_oper_chwidth" "$N" [ "$hwmode" = "a" ] && {
append base_cfg "eht_oper_centr_freq_seg0_idx=$eht_center_seg0" "$N" append base_cfg "eht_oper_chwidth=$eht_oper_chwidth" "$N"
} append base_cfg "eht_oper_centr_freq_seg0_idx=$eht_center_seg0" "$N"
fi }
fi
hostapd_prepare_device_config "$hostapd_conf_file" nl80211 hostapd_prepare_device_config "$hostapd_conf_file" nl80211
cat >> "$hostapd_conf_file" <<EOF cat >> "$hostapd_conf_file" <<EOF