Anilkumar Kolli <quic_akolli@xxxxxxxxxxx> 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@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> 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@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches