wifi-scripts: ucode: fix setting tx_queue_data2_burst in config
authorRany Hany <[email protected]>
Mon, 27 Oct 2025 14:36:51 +0000 (14:36 +0000)
committerRobert Marko <[email protected]>
Fri, 7 Nov 2025 20:18:15 +0000 (21:18 +0100)
Currently we unconditionally set it to 2.0 if 802.11ac and disregard
what the user set. This sets it to 2.0 only as a default in case
user didn't specify a tx_burst setting.

Signed-off-by: Rany Hany <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20565
Signed-off-by: Robert Marko <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc

index 840b13294deb8ecc65dd2541e5e9e4fd91f09dfa..80625f25a14fbc6abdd36ec303cda05d7f90d13a 100644 (file)
@@ -303,7 +303,7 @@ function device_htmode_append(config) {
                        config.short_gi_160 = 0;
                }
 
-               config.tx_queue_data2_burst = '2.0';
+               set_default(config, 'tx_queue_data2_burst', '2.0');
 
                let vht_capab = phy_capabilities.vht_capa;