qcacmn: Send cmd to dump FW stats on suspend failure

Add support to send unit test command to FW to dump
stats on suspend failure due to pending tx completions.

Change-Id: I6afb69a862c366c66a1e1f3dc009964272dfb75a
CRs-Fixed: 3151458
Šī revīzija ir iekļauta:
Yeshwanth Sriram Guntuka
2022-03-10 15:29:21 +05:30
revīziju iesūtīja Madan Koyyalamudi
vecāks 925aca8a6b
revīzija 68116c0a80
5 mainīti faili ar 34 papildinājumiem un 1 dzēšanām

Parādīt failu

@@ -5114,6 +5114,8 @@ next_desc:
if (head_desc)
dp_tx_comp_process_desc_list(soc, head_desc, ring_id);
DP_STATS_INC(soc, tx.tx_comp[ring_id], count);
/*
* If we are processing in near-full condition, there are 3 scenario
* 1) Ring entries has reached critical state