ath11k: Change qcn9074 fw to operate in mode-2
authorSeevalamuthu Mariappan <seevalam@codeaurora.org>
Mon, 13 Dec 2021 09:53:08 +0000 (11:53 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 14 Dec 2021 15:32:34 +0000 (17:32 +0200)
commitbeefee71336bfb406c3e37a0de8a12881424e78c
tree754caccd5aff6f15c260595055a451472d45df42
parent523aafd0f071c5f9e951a861c30531c1eeb01ad4
ath11k: Change qcn9074 fw to operate in mode-2

In mode-2 QCN9074 firmware uses 15MB of host memory and firmware
request 1MB size segements in QMI, whereas in mode-0 firmware
uses 45MB of host memory and each segment is of 2MB size.
In mode-2 firmware operates with reduced number of vdevs and peers.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01838-QCAHKSWPL_SILICONZ-1

Signed-off-by: Seevalamuthu Mariappan <seevalam@codeaurora.org>
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211209104351.9811-3-kvalo@kernel.org
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/qmi.c
drivers/net/wireless/ath/ath11k/qmi.h