[PATCH] ath11k: Reuse the available memory after firmware reload
Kalle Valo
kvalo at kernel.org
Tue May 10 09:33:44 PDT 2022
Anilkumar Kolli <quic_akolli at quicinc.com> wrote:
> Ath11k allocates memory when firmware requests memory in QMI.
> Coldboot calibration and firmware recovery uses firmware reload.
> On firmware reload, firmware sends memory request again. If Ath11k
> allocates memory on first firmware boot, reuse the available
> memory. Also check if the segment type and size is same
> on the next firmware boot. Reuse if segment type/size is
> same as previous firmware boot else free the segment and
> allocate the segment with size/type.
>
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.6.0.1-00752-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Anilkumar Kolli <quic_akolli at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
5962f370ce41 ath11k: Reuse the available memory after firmware reload
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220506141448.10340-1-quic_akolli@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list