8de279eab8604d205196a2b9118aec12a7fecc93

Currently soc->ipa_mapped flag is set to true only after all the buffers are SMMU mapped to IPA. This leads to a race window where Rx buffers routed to WLAN HOST in the replenish path are not mapped to IPA, as the ipa_mapped flag is still set to 0. The fix is to set the ipa_mapped flag to 1, right when the IPA pipes are enabled, before waiting for the complete buffer pool to be IPA SMMU mapped. With this fix, RX buffers can be unmapped and mapped to IPA domain in dp_pdev_rx_buffers_attach() and dp_pdev_nbuf_alloc_and_map_replenish() in WLAN host RX path when ipa pipes are enabled. This change also renames ipa_mapped flag to ipa_map_allowed. Change-Id: Ibbe50cb211f858a3372e31644df2f5e98f99a292 CRs-Fixed: 3569745
This is CNSS WLAN Host Driver for products starting from iHelium
Popis
Jazyky
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%