From: Paweł Owoc Date: Fri, 16 Jan 2026 10:10:35 +0000 (+0100) Subject: mac80211: ath11k: fix for unsupported 11ax EDCA X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fc92969129a77685f21e929d46e03c06132fdf3;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/21563 Signed-off-by: Robert Marko --- 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 00000000000..df3643e3ee7 --- /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 +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 +Signed-off-by: Paweł Owoc + +--- 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) {