[openwrt/openwrt] wifi-scripts: ucode: fix setting tx_queue_data2_burst in config

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 7 12:18:18 PST 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/372fc5419cfe5ca81505ed9c81a01257644d80a5

commit 372fc5419cfe5ca81505ed9c81a01257644d80a5
Author: Rany Hany <rany_hany at riseup.net>
AuthorDate: Mon Oct 27 14:36:51 2025 +0000

    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 <rany_hany at riseup.net>
    Link: https://github.com/openwrt/openwrt/pull/20565
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 840b13294d..80625f25a1 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;
 		




More information about the lede-commits mailing list