summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaweł Owoc2026-01-16 10:10:35 +0000
committerHauke Mehrtens2026-02-03 23:03:44 +0000
commita62b5fe71cfd3844343c6095a3284d953d74e928 (patch)
treefc6abaf62ef419c20795d095f366e54e24d02a1a
parent9bf33c02d5c4dc9cb50bfaa2c23bb4398a99c49d (diff)
downloadopenwrt-a62b5fe71cfd3844343c6095a3284d953d74e928.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21563 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 5fc92969129a77685f21e929d46e03c06132fdf3) Link: https://github.com/openwrt/openwrt/pull/21575 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/kernel/mac80211/patches/ath11k/948-wifi-ath11k-Fix-the-WMM-param-type.patch24
1 files changed, 24 insertions, 0 deletions
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@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@qti.qualcomm.com>
+Signed-off-by: Paweł Owoc <frut3k7@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) {