diff options
| author | Yun Park <yunp@codeaurora.org> | 2017-01-23 16:17:11 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-24 15:25:46 -0800 |
| commit | 8cbbb718ded922a7d87817ea24ab2c60a1b21e72 (patch) | |
| tree | 3426729e90cbc035739ae2ede7a05d26fd4dba17 | |
| parent | aacc01f8632c9402f802c4baa1b668aff92b837f (diff) | |
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
| -rw-r--r-- | core/hdd/src/wlan_hdd_ipa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c index 9f89f8b64d3a..2c7b25eb4e2f 100644 --- a/core/hdd/src/wlan_hdd_ipa.c +++ b/core/hdd/src/wlan_hdd_ipa.c @@ -2693,8 +2693,10 @@ static 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; + ipa_ctxt->ipa_resource.tx_comp_ring_size * + sizeof(qdf_dma_addr_t); pipe_in.u.dl.ce_ring_base_pa = ipa_ctxt->ipa_resource.ce_sr_base_paddr; pipe_in.u.dl.ce_door_bell_pa = ipa_ctxt->ipa_resource.ce_reg_paddr; |
