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@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/20565
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rany Hany 2025-10-27 14:36:51 +00:00 committed by Robert Marko
parent 8e457b69a2
commit 372fc5419c

View 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;