qcacmn: Check tx completions pending before disabling pipes

wlan Tx completions doorbell is rung after IPA pipes are disabled
To fix this, Check if tx completions are pending before disable IPA
pipes.

Change-Id: I1903e593cd6a546a277979073f0a9ba62b681644
CRs-Fixed: 2796989
This commit is contained in:
Ananya Gupta
2020-10-20 14:24:09 +05:30
committed by snandini
父節點 a420fc8730
當前提交 c8a732e132
共有 2 個文件被更改,包括 42 次插入0 次删除

查看文件

@@ -24,6 +24,10 @@
#define IPA_REO_DEST_RING_IDX 3
#define IPA_RX_REFILL_BUF_RING_IDX 2
/* Adding delay before disabling ipa pipes if any Tx Completions are pending */
#define TX_COMP_DRAIN_WAIT_MS 50
#define TX_COMP_DRAIN_WAIT_TIMEOUT_MS 200
/**
* struct dp_ipa_uc_tx_hdr - full tx header registered to IPA hardware
* @eth: ether II header