qcacmn: Add source ring for direct buffer rx module
Direct Buffer Receive provides the driver with a mechanism by which target can transfer information directly into host memory via DMA. DMA rings must be initialized and configured before they can be shared to the target for transfer ot data. Host driver will use the HAL SRNG APIs to create, initialize and configure the DMA rings. Change-Id: I43cd39ccbb5f5069c9a14092459d5c88ea514dca CRs-Fixed: 2157986
This commit is contained in:
@@ -497,6 +497,18 @@ static struct hal_hw_srng_config hw_srng_table[] = {
|
||||
.reg_start = {},
|
||||
.reg_size = {},
|
||||
},
|
||||
{ /* DIR_BUF_RX_DMA_SRC */
|
||||
.start_ring_id = HAL_SRNG_DIR_BUF_RX_SRC_DMA_RING,
|
||||
.max_rings = 1,
|
||||
.entry_size = 2,
|
||||
.lmac_ring = TRUE,
|
||||
.ring_dir = HAL_SRNG_SRC_RING,
|
||||
/* reg_start is not set because LMAC rings are not accessed
|
||||
* from host
|
||||
*/
|
||||
.reg_start = {},
|
||||
.reg_size = {},
|
||||
},
|
||||
#ifdef WLAN_FEATURE_CIF_CFR
|
||||
{ /* WIFI_POS_SRC */
|
||||
.start_ring_id = HAL_SRNG_WIFI_POS_SRC_DMA_RING,
|
||||
|
Reference in New Issue
Block a user