浏览代码

qcacld-3.0: Add rx refill ring history to pre-alloc memory

Add entries to pre-allocate memory region for
recording datapath rx refill ring history.

Change-Id: Icbb6d59b834ea7b8957406e68be72bf3072389bf
CRs-Fixed: 2930011
Karthik Kantamneni 4 年之前
父节点
当前提交
75f53bc5a3
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/dp/txrx3.0/dp_txrx.c

+ 3 - 0
core/dp/txrx3.0/dp_txrx.c

@@ -297,6 +297,9 @@ static struct dp_prealloc_context g_dp_context_allocs[] = {
 	{DP_RX_REINJECT_RING_HIST_TYPE, sizeof(struct dp_rx_reinject_history),
 	 false, NULL},
 #endif	/* RX_DEFRAG_DO_NOT_REINJECT */
+	/* 1 Rx refill ring history */
+	{DP_RX_REFILL_RING_HIST_TYPE, sizeof(struct dp_rx_refill_history),
+	false, NULL},
 #endif	/* WLAN_FEATURE_DP_RX_RING_HISTORY */
 #ifdef WLAN_SUPPORT_RX_FISA
 	{DP_FISA_RX_FT_TYPE, sizeof(struct dp_fisa_rx_sw_ft) * FISA_RX_FT_SIZE, false, NULL},