]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath12k: fix invalid AMPDU factor calculation in ath12k_peer_assoc_h_he()
authorBaochen Qiang <quic_bqiang@quicinc.com>
Wed, 10 Jul 2024 02:18:19 +0000 (10:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:28:50 +0000 (16:28 +0200)
commit0a9445aa8e8fb7c04739d2be18de098d9356abed
tree8756dbd24b55c638cc183d48cf16d07d737db977
parentaafd6ad1d9d6b17918ac4c34b99472738e2c6deb
wifi: ath12k: fix invalid AMPDU factor calculation in ath12k_peer_assoc_h_he()

[ Upstream commit a66de2d0f22b1740f3f9777776ad98c4bee62dff ]

Currently ampdu_factor is wrongly calculated in ath12k_peer_assoc_h_he(), fix it.

This is found during code review.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240710021819.87216-1-quic_bqiang@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath12k/mac.c