qcacmn: Add Tx Mon configs to DP prealloc
Add Tx Mon configs to DP prealloc. Change-Id: I34a480cdb59c9347e535e95972b6a342a8722047 CRs-Fixed: 3415819
Tento commit je obsažen v:

odevzdal
Madan Koyyalamudi

rodič
08ea5c2b80
revize
0a089680ce
@@ -5463,6 +5463,10 @@ wlan_cfg_get_prealloc_cfg(struct cdp_ctrl_objmgr_psoc *ctrl_psoc,
|
|||||||
CFG_DP_REO_STATUS_RING);
|
CFG_DP_REO_STATUS_RING);
|
||||||
cfg->num_mon_status_ring_entries = cfg_get(ctrl_psoc,
|
cfg->num_mon_status_ring_entries = cfg_get(ctrl_psoc,
|
||||||
CFG_DP_RXDMA_MONITOR_STATUS_RING);
|
CFG_DP_RXDMA_MONITOR_STATUS_RING);
|
||||||
|
cfg->num_tx_mon_buf_ring_entries = cfg_get(ctrl_psoc,
|
||||||
|
CFG_DP_TX_MONITOR_BUF_RING);
|
||||||
|
cfg->num_tx_mon_dst_ring_entries = cfg_get(ctrl_psoc,
|
||||||
|
CFG_DP_TX_MONITOR_DST_RING);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
|
#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
|
||||||
|
@@ -581,6 +581,9 @@ struct wlan_cfg_dp_pdev_ctxt {
|
|||||||
* @num_rxdma_refill_ring_entries: Number of entries in rxdma refill 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_reo_status_ring_entries: Number of entries in REO status ring
|
||||||
* @num_mon_status_ring_entries: Number of entries in monitor status ring
|
* @num_mon_status_ring_entries: Number of entries in monitor status ring
|
||||||
|
* @num_tx_mon_buf_ring_entries: Number of entries in Tx monitor buf ring
|
||||||
|
* @num_tx_mon_dst_ring_entries: Number of entries in Tx monitor
|
||||||
|
* destination ring
|
||||||
*/
|
*/
|
||||||
struct wlan_dp_prealloc_cfg {
|
struct wlan_dp_prealloc_cfg {
|
||||||
int num_tx_ring_entries;
|
int num_tx_ring_entries;
|
||||||
@@ -595,6 +598,8 @@ struct wlan_dp_prealloc_cfg {
|
|||||||
int num_rxdma_refill_ring_entries;
|
int num_rxdma_refill_ring_entries;
|
||||||
int num_reo_status_ring_entries;
|
int num_reo_status_ring_entries;
|
||||||
int num_mon_status_ring_entries;
|
int num_mon_status_ring_entries;
|
||||||
|
int num_tx_mon_buf_ring_entries;
|
||||||
|
int num_tx_mon_dst_ring_entries;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Odkázat v novém úkolu
Zablokovat Uživatele