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
This commit is contained in:
Yun Park 2017-01-23 16:17:11 -08:00 • committed by snandini
commit 034e9786ef

View file

@ -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);