qcacmn: TX Optimization
Memory optimization of unused TX rings by not configuring rings that are not being used. Configure 2 rings for host in the case of IPA, instead of configuring 3. If IPA is disabled then configure only 1 set of TX rings for host. Change-Id: I251606c728f3020a13e45e8c8386970c8a641f0a CRs-Fixed: 2530572
This commit is contained in:
@@ -829,10 +829,17 @@ int wlan_cfg_per_pdev_lmac_ring(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
return cfg->per_pdev_lmac_ring;
|
||||
}
|
||||
|
||||
#ifdef DP_MEMORY_OPT
|
||||
int wlan_cfg_num_tcl_data_rings(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
int wlan_cfg_num_tcl_data_rings(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->num_tcl_data_rings;
|
||||
}
|
||||
#endif
|
||||
|
||||
int wlan_cfg_tx_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user