wifi: ath11k: Fix the WMM param type
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")
Signed-off-by Gautham Kumar Senthilkumaran <[email protected]>
Signed-off-by Paweł Owoc <[email protected]>
--- drivers/net/wireless/ath/ath11k/wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/wmi.c +1 -1
@@ -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