forked from mirror/openwrt
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>
This commit is contained in:
parent
0a8bccf85d
commit
5fc9296912
1 changed files with 24 additions and 0 deletions
|
|
@ -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) {
|
||||
Loading…
Add table
Reference in a new issue