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)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 7 Aug 2024 08:14:34 +0000 (11:14 +0300)
commita66de2d0f22b1740f3f9777776ad98c4bee62dff
tree59e4456c541550aca1c327048ec5f3b26aa6b1a6
parentdd98d54db29fb553839f43ade5f547baa93392c8
wifi: ath12k: fix invalid AMPDU factor calculation in ath12k_peer_assoc_h_he()

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
drivers/net/wireless/ath/ath12k/mac.c