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
这个提交包含在:
@@ -176,6 +176,7 @@ struct wlan_srng_cfg {
|
||||
* @int_timer_threshold_mon:
|
||||
* @tx_ring_size:
|
||||
* @time_control_bp:
|
||||
* @qref_control_size: list size for memory history arrays
|
||||
* @tx_comp_ring_size:
|
||||
* @tx_comp_ring_size_nss:
|
||||
* @int_rx_mon_ring_mask: Bitmap of Rx monitor ring interrupts mapped to each
|
||||
@@ -376,6 +377,7 @@ struct wlan_cfg_dp_soc_ctxt {
|
||||
int int_timer_threshold_mon;
|
||||
int tx_ring_size;
|
||||
int time_control_bp;
|
||||
int qref_control_size;
|
||||
int tx_comp_ring_size;
|
||||
int tx_comp_ring_size_nss;
|
||||
uint8_t int_tx_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS];
|
||||
@@ -1580,6 +1582,14 @@ void wlan_cfg_set_tx_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
*/
|
||||
int wlan_cfg_time_control_bp(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
/**
|
||||
* wlan_cfg_qref_control_size - Get debug array size
|
||||
* @cfg: soc configuration context
|
||||
*
|
||||
* Return: array size
|
||||
*/
|
||||
int wlan_cfg_qref_control_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
/**
|
||||
* wlan_cfg_tx_comp_ring_size - Get Tx completion ring size (WBM Ring)
|
||||
* @cfg: soc configuration context
|
||||
|
在新工单中引用
屏蔽一个用户