diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index f7fe0b9d74..738c487686 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -3929,6 +3929,8 @@ wlan_cfg_get_prealloc_cfg(struct cdp_ctrl_objmgr_psoc *ctrl_psoc, if (!ctrl_psoc || !cfg) return; + cfg->num_reo_dst_ring_entries = cfg_get(ctrl_psoc, + CFG_DP_RX_DESTINATION_RING); cfg->num_tx_ring_entries = cfg_get(ctrl_psoc, CFG_DP_TX_RING_SIZE); cfg->num_tx_comp_ring_entries = cfg_get(ctrl_psoc, CFG_DP_TX_COMPL_RING_SIZE); @@ -3940,6 +3942,8 @@ wlan_cfg_get_prealloc_cfg(struct cdp_ctrl_objmgr_psoc *ctrl_psoc, CFG_DP_REO_EXCEPTION_RING); cfg->num_tx_desc = cfg_get(ctrl_psoc, CFG_DP_TX_DESC); cfg->num_tx_ext_desc = cfg_get(ctrl_psoc, CFG_DP_TX_EXT_DESC); + cfg->num_rxdma_buf_ring_entries = cfg_get(ctrl_psoc, + CFG_DP_RXDMA_BUF_RING); } #ifdef WLAN_FEATURE_PKT_CAPTURE_V2 diff --git a/wlan_cfg/wlan_cfg.h b/wlan_cfg/wlan_cfg.h index 78b696c448..87843b9f85 100644 --- a/wlan_cfg/wlan_cfg.h +++ b/wlan_cfg/wlan_cfg.h @@ -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; }; /**