From 034e9786ef0f9f186ae78a1eb6ae6a54237d8322 Mon Sep 17 00:00:00 2001 From: Yun Park Date: Mon, 23 Jan 2017 16:17:11 -0800 Subject: [PATCH] qcacld-3.0: Fix Tx comp ring size to total byte counts for WDI Tx pipe As IPA requires total byte counts of Tx comp ring for ipa_connect_wdi_pipe, fix to pass the total byte counts of the ring. Change-Id: I6150115ad2fdf3635ac7a84f592e4545f6dc934a CRs-Fixed: 1114930 --- core/hdd/src/wlan_hdd_ipa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c index 90203977ea60..d1b911e9afc6 100644 --- a/core/hdd/src/wlan_hdd_ipa.c +++ b/core/hdd/src/wlan_hdd_ipa.c @@ -2991,6 +2991,7 @@ QDF_STATUS hdd_ipa_uc_ol_init(hdd_context_t *hdd_ctx) pipe_in.u.dl.comp_ring_base_pa = ipa_ctxt->ipa_resource.tx_comp_ring_base_paddr; + /* IPA requires total byte counts of Tx comp ring */ pipe_in.u.dl.comp_ring_size = ipa_ctxt->ipa_resource.tx_comp_ring_size * sizeof(qdf_dma_addr_t);