qcacmn: qref debug memory tracker

add multiple history array to keep track of mem allocation and
deallocation for qref table.

Change-Id: I9fa97fbe5a5c36509cbb5a458851a152200318a5
CRs-Fixed: 3475981
This commit is contained in:
Ruben Columbus
2023-05-22 16:42:02 -07:00
committad av Rahul Choudhary
förälder 9d022375f6
incheckning d8334769f4
8 ändrade filer med 236 tillägg och 1 borttagningar

Visa fil

@@ -4081,6 +4081,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
wlan_cfg_ctx->tx_ring_size = cfg_get(psoc, CFG_DP_TX_RING_SIZE);
wlan_cfg_ctx->time_control_bp = cfg_get(psoc, CFG_DP_TIME_CONTROL_BP);
wlan_cfg_ctx->qref_control_size =
cfg_get(psoc, CFG_DP_QREF_CONTROL_SIZE);
wlan_cfg_ctx->tx_comp_ring_size = cfg_get(psoc,
CFG_DP_TX_COMPL_RING_SIZE);
@@ -4693,6 +4695,11 @@ int wlan_cfg_time_control_bp(struct wlan_cfg_dp_soc_ctxt *cfg)
return cfg->time_control_bp;
}
int wlan_cfg_qref_control_size(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->qref_control_size;
}
int wlan_cfg_tx_comp_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->tx_comp_ring_size;