qcacmn: Add support for Direct Link refill ring
Add support and ops for initialization and deinitialization of Direct Link refill ring. Change-Id: I2c7018c4f8411fb7a590cfbb8b991f9152b22397 CRs-Fixed: 3316656
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
4fb2121bbe
當前提交
99615e170d
@@ -573,6 +573,13 @@ int htt_srng_setup(struct htt_soc *soc, int mac_id,
|
||||
(lmac_id * HAL_MAX_RINGS_PER_LMAC))) {
|
||||
htt_ring_id = HTT_RXDMA_HOST_BUF_RING;
|
||||
htt_ring_type = HTT_SW_TO_HW_RING;
|
||||
#ifdef FEATURE_DIRECT_LINK
|
||||
} else if (srng_params.ring_id ==
|
||||
(HAL_SRNG_WMAC1_RX_DIRECT_LINK_SW_REFILL_RING +
|
||||
(lmac_id * HAL_MAX_RINGS_PER_LMAC))) {
|
||||
htt_ring_id = HTT_LPASS_TO_FW_RXBUF_RING;
|
||||
htt_ring_type = HTT_SW_TO_SW_RING;
|
||||
#endif
|
||||
} else {
|
||||
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s: Ring %d currently not supported",
|
||||
|
Reference in New Issue
Block a user