From: Rany Hany Date: Mon, 27 Oct 2025 14:36:51 +0000 (+0000) Subject: wifi-scripts: ucode: fix setting tx_queue_data2_burst in config X-Git-Tag: v25.12.0-rc1~642 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20565%2Fhead;p=thirdparty%2Fopenwrt.git wifi-scripts: ucode: fix setting tx_queue_data2_burst in config 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 Link: https://github.com/openwrt/openwrt/pull/20565 Signed-off-by: Robert Marko --- 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 840b13294de..80625f25a14 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 @@ -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;