wifi: ath12k: Refactor data path cmem init
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Thu, 18 Apr 2024 15:30:24 +0000 (18:30 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 22 Apr 2024 12:06:31 +0000 (15:06 +0300)
commitd4e3fc4f45c6bdeae248c61727ab89c850bede64
treed65d320316f2b91964cc856c0a26464085da249b
parent682ca418d40a76f64a018edd5bef3955522ec0e0
wifi: ath12k: Refactor data path cmem init

Move the data path Tx and Rx descriptor primary page table CMEM
configuration into a helper function. This will make the code more
scalable for configuring partner device in support of multi-device MLO.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240411102226.4045323-5-quic_periyasa@quicinc.com
drivers/net/wireless/ath/ath12k/dp.c