qcacmn: MCL Buffer Replenishment
Add support for replenishing the rx buffers using the host to firmware buffer ring. This includes adding a flag QCA_HOST2FW_RXBUF_RING: When QCA_HOST2FW_RXBUF_RING is enabled the host will do the following: - Allocate the refill buffer ring (HTT_HOST1_TO_FW_RXBUF_RING) and populate it with rx buffers - Send the refill buffer ring configuration to the firmware - Allocate the rx DMA ring (HTT_RXDMA_HOST_BUF_RING), leave it empty. - Send the rx DMA ring configuration to the firmware When QCA_HOST2FW_RXBUF_RING is disabled, the host will do the following: - Allocate the rx DMA ring (HTT_RXDMA_HOST_BUF_RING), and populate it with rx buffers - Send the rx DMA ring configuration to the firmware CRs-Fixed: 1074199 Change-Id: Iec05a973cd9d628c742e3aaa16b8dabc7797625d
这个提交包含在:
@@ -111,11 +111,12 @@ enum hal_srng_ring_id {
|
||||
HAL_SRNG_LMAC1_ID_START = 128,
|
||||
HAL_SRNG_WMAC1_SW2RXDMA0_BUF = HAL_SRNG_LMAC1_ID_START,
|
||||
HAL_SRNG_WMAC1_SW2RXDMA1_BUF = 129,
|
||||
HAL_SRNG_WMAC1_SW2RXDMA0_STATBUF = 130,
|
||||
HAL_SRNG_WMAC1_SW2RXDMA1_STATBUF = 131,
|
||||
HAL_SRNG_WMAC1_RXDMA2SW0 = 132,
|
||||
HAL_SRNG_WMAC1_RXDMA2SW1 = 133,
|
||||
/* 134-142 unused */
|
||||
HAL_SRNG_WMAC1_SW2RXDMA2_BUF = 130,
|
||||
HAL_SRNG_WMAC1_SW2RXDMA0_STATBUF = 131,
|
||||
HAL_SRNG_WMAC1_SW2RXDMA1_STATBUF = 132,
|
||||
HAL_SRNG_WMAC1_RXDMA2SW0 = 133,
|
||||
HAL_SRNG_WMAC1_RXDMA2SW1 = 134,
|
||||
/* 135-142 unused */
|
||||
HAL_SRNG_LMAC1_ID_END = 143
|
||||
};
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户