Просмотр исходного кода

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
Yun Park 8 лет назад
Родитель
Сommit
034e9786ef
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      core/hdd/src/wlan_hdd_ipa.c

+ 1 - 0
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);