4138c9b7d8b65cd4d63a07150c83abab3f9288ed

Currently DMA mask for the device is set during hif_enable_bus. If the datapath memory prealloc feature is enabled, there are a few dma memory allocation which is done before the DMA mask is set for the device. This leads to the aforementioned dma memory pre-allocation to be attempted at the default DMA mask. Due to this the entire device capability of dma address might not be used. Add hif api to set dma mask before hif is initialized. This is needed to set dma mask in case of datapath memory pre allocation. Change-Id: I6fd25d9cb6ab3aaacd6f959abe4e060e23f37095 CRs-Fixed: 2845020
This is CNSS WLAN Host Driver for products starting from iHelium
描述
语言
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%