1
0

qcacmn: Schedule CE tasklet when resource runs out

If there is no resourse to send packet via HTC, then check if interrupts
are not processed from that CE for last 3 seconds. If so, schedule a
tasklet to reap available entries. Also if Queue has reached 1024 entries
within 3 seconds, then also schedule tasklet.

This change is added because there is a case where intermittently
completion interrupts are not received from CE3 and hence adding
this WAR in host to come out of this issue scenario.

Change-Id: I126cd5e678517127659237308f8f6b1313f8f422
CRs-Fixed: 3234943
Este cometimento está contido em:
Nandha Kishore Easwaran
2022-06-06 17:04:05 +05:30
cometido por Madan Koyyalamudi
ascendente 053f59e4f0
cometimento 93bf7e1fb1
5 ficheiros modificados com 68 adições e 1 eliminações

Ver ficheiro

@@ -1601,8 +1601,11 @@ static enum HTC_SEND_QUEUE_RESULT htc_try_send(HTC_TARGET *target,
if (pEndpoint->async_update &&
(!IS_TX_CREDIT_FLOW_ENABLED(pEndpoint)) &&
(!tx_resources))
(!tx_resources)) {
hif_schedule_ce_tasklet(target->hif_dev,
pEndpoint->UL_PipeID);
break;
}
if (IS_TX_CREDIT_FLOW_ENABLED(pEndpoint)) {
#if DEBUG_CREDIT