qcacmn: Update prealloc size for srng from CFG

Update the prealloc size for RXDMA_BUF and REO_DST
rings using the ini values which have been configured.

Change-Id: Id47fbca3a79b37bba902d1b5bd0bf8c6073648cc
CRs-Fixed: 3283986
This commit is contained in:
Rakesh Pillai
2022-09-05 03:50:08 -07:00
gecommit door Madan Koyyalamudi
bovenliggende cd40aa85ab
commit ffec5f3f9e
2 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen

Bestand weergeven

@@ -475,6 +475,8 @@ struct wlan_cfg_dp_pdev_ctxt {
* @num_reo_exception_ring_entries: num of rx exception ring entries
* @num_tx_desc: num of tx descriptors
* @num_tx_ext_desc: num of tx ext descriptors
* @num_reo_dst_ring_entries: Number of entries in REO destination ring
* @num_rxdma_buf_ring_entries: Number of entries in rxdma buf ring
*/
struct wlan_dp_prealloc_cfg {
int num_tx_ring_entries;
@@ -484,6 +486,8 @@ struct wlan_dp_prealloc_cfg {
int num_reo_exception_ring_entries;
int num_tx_desc;
int num_tx_ext_desc;
int num_reo_dst_ring_entries;
int num_rxdma_buf_ring_entries;
};
/**