mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
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: 5b70ec6036 ("wifi: ath12k: add WMI support for EHT peer")
Signed-off-by: Ramya Gnanasekar <ramya.gnanasekar@oss.qualcomm.com>
Link: https://patch.msgid.link/20250409152341.944628-1-ramya.gnanasekar@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
This commit is contained in:
parent
cfe8af4b56
commit
1a0e65750b
|
|
@ -2372,7 +2372,7 @@ int ath12k_wmi_send_peer_assoc_cmd(struct ath12k *ar,
|
|||
|
||||
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]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user