From cf0dfc4091a7ce9556eed44218b019186aba4dee Mon Sep 17 00:00:00 2001 From: Karthik Kantamneni Date: Sat, 1 May 2021 22:10:02 +0530 Subject: [PATCH] qcacld-3.0: Add TX HW desc history in pre alloc memory Add TX HW descriptor history in pre alloc memory Change-Id: I0a2756d7955bed04680d8d735c750012354b6ff7 CRs-Fixed: 2937355 --- core/dp/txrx3.0/dp_txrx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/dp/txrx3.0/dp_txrx.c b/core/dp/txrx3.0/dp_txrx.c index 61f2f2943fad..9aec84364551 100644 --- a/core/dp/txrx3.0/dp_txrx.c +++ b/core/dp/txrx3.0/dp_txrx.c @@ -307,6 +307,10 @@ static struct dp_prealloc_context g_dp_context_allocs[] = { {DP_RX_REFILL_RING_HIST_TYPE, sizeof(struct dp_rx_refill_history), false, false, NULL}, #endif /* WLAN_FEATURE_DP_RX_RING_HISTORY */ +#ifdef DP_TX_HW_DESC_HISTORY + {DP_TX_HW_DESC_HIST_TYPE, sizeof(struct dp_tx_hw_desc_history), + false, false, NULL}, +#endif #ifdef WLAN_SUPPORT_RX_FISA {DP_FISA_RX_FT_TYPE, sizeof(struct dp_fisa_rx_sw_ft) * FISA_RX_FT_SIZE, false, true, NULL},