aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath12k/wmi.c
diff options
context:
space:
mode:
authorRamya Gnanasekar <[email protected]>2025-04-09 15:23:41 +0000
committerJeff Johnson <[email protected]>2025-04-12 04:19:28 +0000
commit1a0e65750b55d2cf5de4a9bf7d6d55718784bdb7 (patch)
treeedd1c9d56ad470948355514ddf90b1778e0f369c /drivers/net/wireless/ath/ath12k/wmi.c
parentwifi: ath12k: Disable broadcast TWT feature in HE MAC capabilities (diff)
downloadkernel-1a0e65750b55d2cf5de4a9bf7d6d55718784bdb7.tar.gz
kernel-1a0e65750b55d2cf5de4a9bf7d6d55718784bdb7.zip
wifi: ath12k: Fix WMI tag for EHT rate in peer assoc
Incorrect WMI tag is used for EHT rate update from host to firmware while encoding peer assoc WMI. Correct the WMI tag used for EHT rate update from WMI_TAG_HE_RATE_SET to the proper tag. This ensures firmware does not mistakenly update HE rate during parsing. Found during code review. Compile tested only. Fixes: 5b70ec6036c1 ("wifi: ath12k: add WMI support for EHT peer") Signed-off-by: Ramya Gnanasekar <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jeff Johnson <[email protected]>
Diffstat (limited to 'drivers/net/wireless/ath/ath12k/wmi.c')
-rw-r--r--drivers/net/wireless/ath/ath12k/wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath12k/wmi.c b/drivers/net/wireless/ath/ath12k/wmi.c
index d0f3e27c87e3..ea303dca38b5 100644
--- a/drivers/net/wireless/ath/ath12k/wmi.c
+++ b/drivers/net/wireless/ath/ath12k/wmi.c
@@ -2372,7 +2372,7 @@ skip_ml_params:
for (i = 0; i < arg->peer_eht_mcs_count; i++) {
eht_mcs = ptr;
- eht_mcs->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_HE_RATE_SET,
+ eht_mcs->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_EHT_RATE_SET,
sizeof(*eht_mcs));
eht_mcs->rx_mcs_set = cpu_to_le32(arg->peer_eht_rx_mcs_set[i]);