Skip to contentSkip to conversation

wifi: ath11k: Fix the WMM param type

PATCH New testuser7 1 participant 1 message Jan 19 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore

testuser7

author
#0 lore raw

PATCH 1/1 wifi: ath11k: Fix the WMM param type

From: Gautham Kumar Senthilkumaran <[email protected]>

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")
---
 drivers/net/wireless/ath/ath11k/wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/wmi.c +1 -1
index 451cc4c719ae..2779ebb5e88b 100644
@@ -2700,7 +2700,7 @@ int ath11k_wmi_send_wmm_update_cmd_tlv(struct ath11k *ar, u32 vdev_id,
 			  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) {
Signature · 1 line
2.52.0