qcacmn: Add ini support for RX low threshold interrupts

Add ini param "dp_disable_rx_buf_low_threshold" to disable
low threshold interrupts on regular rx refill ring. Default
it is enabled.

Change-Id: Ie471a4dc6862cbfe8b1eafe7c7d2ce2e0a7fcb7a
CRs-Fixed: 3313885
Esse commit está contido em:
Chaithanya Garrepalli
2022-10-16 23:14:09 +05:30
commit de Madan Koyyalamudi
commit 64c4cb3524
4 arquivos alterados com 39 adições e 1 exclusões

Ver arquivo

@@ -2803,6 +2803,9 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
CFG_DP_REO_STATUS_RING);
wlan_cfg_ctx->rxdma_refill_ring = cfg_get(psoc,
CFG_DP_RXDMA_REFILL_RING);
wlan_cfg_ctx->rxdma_refill_lt_disable =
cfg_get(psoc,
CFG_DP_RXDMA_REFILL_LT_DISABLE);
wlan_cfg_ctx->tx_desc_limit_0 = cfg_get(psoc,
CFG_DP_TX_DESC_LIMIT_0);
wlan_cfg_ctx->tx_desc_limit_1 = cfg_get(psoc,
@@ -3598,6 +3601,12 @@ wlan_cfg_get_dp_soc_rxdma_refill_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
return cfg->rxdma_refill_ring;
}
bool
wlan_cfg_get_dp_soc_rxdma_refill_lt_disable(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->rxdma_refill_lt_disable;
}
int
wlan_cfg_get_dp_soc_tx_desc_limit_0(struct wlan_cfg_dp_soc_ctxt *cfg)
{