From afed3d0c36fc1f2cd092b18df9284961c135e5d4 Mon Sep 17 00:00:00 2001 From: Karthik Kantamneni Date: Sun, 7 Mar 2021 11:58:00 +0530 Subject: [PATCH] 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 --- core/dp/txrx3.0/dp_txrx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/dp/txrx3.0/dp_txrx.c b/core/dp/txrx3.0/dp_txrx.c index 8d9f5d012b13..c8ff968d699b 100644 --- a/core/dp/txrx3.0/dp_txrx.c +++ b/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},