]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath12k: fix TX and RX MCS rate configurations in HE mode
authorPradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>
Thu, 9 Oct 2025 21:16:56 +0000 (14:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:30 +0000 (14:02 +0100)
commitca2a33cee1ef8bc6fb16fbb4e065fadaddea977c
treed49aac43aac00298def52d5e49caad79f23496d1
parentd911fa97dab3ba026a8b96bb7f833d007b7fc4e1
wifi: ath12k: fix TX and RX MCS rate configurations in HE mode

[ Upstream commit 9c5f229b1312a31aff762b2111f6751e4e3722fe ]

Currently, the TX and RX MCS rate configurations per peer are
reversed when sent to the firmware. As a result, RX MCS rates
are configured for TX, and vice versa. This commit rectifies
the configuration to match what the firmware expects.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Pradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20251009211656.2386085-3-quic_pradeepc@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath12k/mac.c