[openwrt/openwrt] mac80211: ath11k: fix for unsupported 11ax EDCA

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 2 03:17:10 PST 2026


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5fc92969129a77685f21e929d46e03c06132fdf3

commit 5fc92969129a77685f21e929d46e03c06132fdf3
Author: Paweł Owoc <frut3k7 at gmail.com>
AuthorDate: Fri Jan 16 11:10:35 2026 +0100

    mac80211: ath11k: fix for unsupported 11ax EDCA
    
    Currently publicly available firmware for ath11k does not support
    the 11ax EDCA parameter.
    Skipping sending this parameter allows the use of STA mode.
    
    Fixes: https://github.com/openwrt/openwrt/issues/20702
    Signed-off-by: Paweł Owoc <frut3k7 at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/21563
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../948-wifi-ath11k-Fix-the-WMM-param-type.patch   | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/package/kernel/mac80211/patches/ath11k/948-wifi-ath11k-Fix-the-WMM-param-type.patch b/package/kernel/mac80211/patches/ath11k/948-wifi-ath11k-Fix-the-WMM-param-type.patch
new file mode 100644
index 0000000000..df3643e3ee
--- /dev/null
+++ b/package/kernel/mac80211/patches/ath11k/948-wifi-ath11k-Fix-the-WMM-param-type.patch
@@ -0,0 +1,24 @@
+From c420c1f66235b5ab4fc8d94da72bd5ae6397117f Mon Sep 17 00:00:00 2001
+From: Gautham Kumar Senthilkumaran <gauthamk at qti.qualcomm.com>
+Date: Mon, 19 Jan 2026 11:55:51 +0100
+Subject: [PATCH] wifi: ath11k: Fix the WMM param type
+
+Since FW does not support the 11ax EDCA parameter in WMI TLV command.
+FW was crashing as host was sending this parameter, now changed the
+WMM parameter type as default zero before sending to FW.
+
+Fixes: b78c02f7c710 ("wifi: ath11k: add support for MU EDCA")
+Signed-off-by: Gautham Kumar Senthilkumaran <gauthamk at qti.qualcomm.com>
+Signed-off-by: Paweł Owoc <frut3k7 at gmail.com>
+
+--- a/drivers/net/wireless/ath/ath11k/wmi.c
++++ b/drivers/net/wireless/ath/ath11k/wmi.c
+@@ -2682,7 +2682,7 @@ int ath11k_wmi_send_wmm_update_cmd_tlv(s
+ 			  FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE);
+ 
+ 	cmd->vdev_id = vdev_id;
+-	cmd->wmm_param_type = wmm_param_type;
++	cmd->wmm_param_type = WMI_WMM_PARAM_TYPE_LEGACY;
+ 
+ 	for (ac = 0; ac < WME_NUM_AC; ac++) {
+ 		switch (ac) {




More information about the lede-commits mailing list