wifi: ath12k: add support for BA1024
authorBaochen Qiang <quic_bqiang@quicinc.com>
Wed, 17 Jan 2024 12:05:30 +0000 (14:05 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 18 Jan 2024 05:52:02 +0000 (07:52 +0200)
commitb0970f50839ecbb71d43914fe88ea7eeb3416a21
tree600be8c39562578c751112d1e537d144519da2ab
parent60b9376583217c8726be0a57d9ff71d52e9ce261
wifi: ath12k: add support for BA1024

Currently the maximum block ACK window size supported is 256.
This results in that, when connected to an AP which supports
larger BA sizes like BA512 or BA1024, only BA256 is
established, leading to a lower peak throughput.

So add support for BA1024, this is done by allocating a larger
REO queue and advertising IEEE80211_MAX_AMPDU_BUF_EHT support
to MAC80211.

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

Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20231129020414.56425-3-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath12k/dp.h
drivers/net/wireless/ath/ath12k/hal_desc.h
drivers/net/wireless/ath/ath12k/hal_rx.c
drivers/net/wireless/ath/ath12k/mac.c