qcacmn: ini config to allocate special TX descriptors of SOC

An INI dp_tx_spl_device_limit is defined and can be used to configure the
limit of TX descriptors that can reserved on the SOC to handle
special frames like EAPOL.

CRs-Fixed: 3343207
Change-Id: Ic84a11249880a3541749a72ac6d60df548f2bc5c
Este commit está contenido en:
Sreeramya Soratkal
2022-11-22 12:44:58 +05:30
cometido por Madan Koyyalamudi
padre 88124ec9b4
commit 6eba2a4482
Se han modificado 5 ficheros con 37 adiciones y 1 borrados

Ver fichero

@@ -2969,6 +2969,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
CFG_DP_TX_DESC_LIMIT_2);
wlan_cfg_ctx->tx_device_limit = cfg_get(psoc,
CFG_DP_TX_DEVICE_LIMIT);
wlan_cfg_ctx->tx_spl_device_limit = cfg_get(psoc,
CFG_DP_TX_SPL_DEVICE_LIMIT);
wlan_cfg_ctx->tx_sw_internode_queue = cfg_get(psoc,
CFG_DP_TX_SW_INTERNODE_QUEUE);
wlan_cfg_ctx->rxdma_err_dst_ring = cfg_get(psoc,
@@ -3807,6 +3809,12 @@ wlan_cfg_get_dp_soc_tx_device_limit(struct wlan_cfg_dp_soc_ctxt *cfg)
return cfg->tx_device_limit;
}
int
wlan_cfg_get_dp_soc_tx_spl_device_limit(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->tx_spl_device_limit;
}
int
wlan_cfg_get_dp_soc_tx_sw_internode_queue(struct wlan_cfg_dp_soc_ctxt *cfg)
{