qcacmn: Add tx device limit
Add tx device limit configurable from INI. This is used to limit the overall tx descriptors used in the device Change-Id: I51e9611ca14bdc146de914317b38b98329130c9f
This commit is contained in:
@@ -406,6 +406,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
CFG_DP_TX_DESC_LIMIT_1);
|
||||
wlan_cfg_ctx->tx_desc_limit_2 = cfg_get(psoc,
|
||||
CFG_DP_TX_DESC_LIMIT_2);
|
||||
wlan_cfg_ctx->tx_device_limit = cfg_get(psoc,
|
||||
CFG_DP_TX_DEVICE_LIMIT);
|
||||
wlan_cfg_ctx->rxdma_err_dst_ring = cfg_get(psoc,
|
||||
CFG_DP_RXDMA_ERR_DST_RING);
|
||||
wlan_cfg_ctx->enable_data_stall_detection =
|
||||
@@ -956,6 +958,12 @@ wlan_cfg_get_dp_soc_tx_desc_limit_2(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
return cfg->tx_desc_limit_2;
|
||||
}
|
||||
|
||||
int
|
||||
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_rxdma_err_dst_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user