summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbian <gbian@qti.qualcomm.com>2016-06-03 16:16:24 +0800
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-06-17 21:00:06 +0530
commit41636653d63ebf7b498df77ad8103ddeb88e2700 (patch)
tree3c44db48483ca6e75b51af7cd71fb8a6a921ba7d
parent2b92e51b14f293b08bb2ee130f151472f818899d (diff)
qcacld-2.0: fix a mboxping tx ramdom failure issue
Remove bundle logic in HTCProcessCreditRpt to avoid random mboxping tx failure. HTCTrySend will be skipped if TxCredits can not meet Bundle Size requirement which reduce the opportunity the Pkts get transmitted. This may lead to pkts pending in driver too long time and OS does not pump pkts to driver anymore. Change-Id: I7c5abf540705696bf4e0ef2956ec7250204e539f CRs-Fixed: 1024016
-rw-r--r--CORE/SERVICES/HTC/htc_send.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/CORE/SERVICES/HTC/htc_send.c b/CORE/SERVICES/HTC/htc_send.c
index 3f9f8addb9c6..3019ee83f3d9 100644
--- a/CORE/SERVICES/HTC/htc_send.c
+++ b/CORE/SERVICES/HTC/htc_send.c
@@ -1844,21 +1844,7 @@ void HTCProcessCreditRpt(HTC_TARGET *target, HTC_CREDIT_REPORT *pRpt, int NumEnt
if (pEndpoint->ServiceID == HTT_DATA_MSG_SVC){
HTCSendDataPkt(target, NULL, 0);
} else {
-#ifdef HIF_SDIO
- if (WLAN_IS_EPPING_ENABLED(vos_get_conparam())) {
- if (((pEndpoint->ServiceID == WMI_DATA_BE_SVC) &&
- (pEndpoint->TxCreditFlowEnabled) &&
- (pEndpoint->TxCredits >= HTC_MAX_MSG_PER_BUNDLE_TX + 1)) ||
- (target->is_nodrop_pkt)) {
- /* Bundle TX for mboxping test */
- HTCTrySend(target, pEndpoint, NULL);
- }
- } else {
-#endif
- HTCTrySend(target,pEndpoint,NULL);
-#ifdef HIF_SDIO
- }
-#endif
+ HTCTrySend(target,pEndpoint,NULL);
}
#endif
LOCK_HTC_TX(target);