qcacmn: support more dp srng with memory pre-allocation

add more ring type's size to wlan_dp_prealloc_cfg structure,
add DP_MON_PDEV_TYPE memory pre-allocation support.

Change-Id: I23aebaf7e7e78206ac49ebf02719f6b4dee99875
CRs-Fixed: 3314209
此提交包含在:
Jinwei Chen
2022-10-17 00:23:27 -07:00
提交者 Madan Koyyalamudi
父節點 61db6e2df1
當前提交 2a6561273c
共有 4 個檔案被更改,包括 15 行新增3 行删除

查看文件

@@ -483,6 +483,9 @@ struct wlan_cfg_dp_pdev_ctxt {
* @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
* @num_rxdma_refill_ring_entries: Number of entries in rxdma refill ring
* @num_reo_status_ring_entries: Number of entries in REO status ring
* @num_mon_status_ring_entries: Number of entries in monitor status ring
*/
struct wlan_dp_prealloc_cfg {
int num_tx_ring_entries;
@@ -494,6 +497,9 @@ struct wlan_dp_prealloc_cfg {
int num_tx_ext_desc;
int num_reo_dst_ring_entries;
int num_rxdma_buf_ring_entries;
int num_rxdma_refill_ring_entries;
int num_reo_status_ring_entries;
int num_mon_status_ring_entries;
};
/**