[openwrt/openwrt] mac80211: fix parameter reading for AC_BE tx bursting

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 24 14:55:49 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b02b95d1b0816274e5cf221071e0f52482c7537a

commit b02b95d1b0816274e5cf221071e0f52482c7537a
Author: Alberto Martinez-Alvarez <amteza at gmail.com>
AuthorDate: Sat Aug 6 07:10:54 2022 +1000

    mac80211: fix parameter reading for AC_BE tx bursting
    
    The "tx_burst" option which should control the value was
    expecting more of a list and hence tx_queue_data2_burst
    value wasn't updated.
    
    Yes, it would make sense to have a list for this, the
    existing  code only updates tx_queue_data2_burst and
    not the other tx_queue_data[0134]_burst values.
    
    Signed-off-by: Alberto Martinez-Alvarez <amteza at gmail.com>
    (formatted commit message, wrote extra information into commit,
    moved tx_burst to existing json_get_vars)
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index f524940854..f462fc8ad9 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -138,8 +138,8 @@ mac80211_hostapd_setup_base() {
 	[ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] &&
 		append base_cfg "acs_exclude_dfs=1" "$N"
 
-	json_get_vars noscan ht_coex min_tx_power:0
-	json_get_values ht_capab_list ht_capab tx_burst
+	json_get_vars noscan ht_coex min_tx_power:0 tx_burst
+	json_get_values ht_capab_list ht_capab
 	json_get_values channel_list channels
 
 	[ "$auto_channel" = 0 ] && [ -z "$channel_list" ] && \




More information about the lede-commits mailing list