diff options
| author | Paweł Owoc | 2025-11-07 10:59:12 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2025-11-12 11:14:53 +0000 |
| commit | cc3e2112640041a632abe35a7acec43994a2f14c (patch) | |
| tree | 2059437970dbbecf958078ebc90c406246bd719d | |
| parent | 0ad09552142a4c155811bf1ad8f59c88592cc3a1 (diff) | |
| download | openwrt-cc3e2112640041a632abe35a7acec43994a2f14c.tar.gz | |
wifi-scripts: use stationary_ap conf for AX mode
Use stationary_ap configuration for 6GHz AX AP (not only BE).
This change fixes the 6GHz network not visible issue for QCN9024.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
| -rw-r--r-- | package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc | 10 |
1 files changed, 5 insertions, 5 deletions
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 80625f25a1..c0a76bbd94 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 @@ -385,6 +385,11 @@ function device_htmode_append(config) { config.he_oper_centr_freq_seg0_idx = config.vht_oper_centr_freq_seg0_idx; } + if (config.band == "6g") { + config.stationary_ap = true; + append_vars(config, [ 'he_6ghz_reg_pwr_type', ]); + } + if (config.he_bss_color_enabled) { if (config.he_spr_non_srg_obss_pd_max_offset) config.he_spr_sr_control |= 1 << 2; @@ -425,11 +430,6 @@ function device_htmode_append(config) { if (config.hw_mode == 'a') append_vars(config, [ 'eht_oper_chwidth', 'eht_oper_centr_freq_seg0_idx' ]); - - if (config.band == "6g") { - config.stationary_ap = true; - append_vars(config, [ 'he_6ghz_reg_pwr_type', ]); - } } append_vars(config, [ 'tx_queue_data2_burst', 'stationary_ap' ]); |