From 3a221ef96a4ec8ef76a6aa53a6514308f593fb9c Mon Sep 17 00:00:00 2001 From: Vevek Venkatesan Date: Fri, 30 Apr 2021 16:44:59 +0530 Subject: [PATCH] qcacld-3.0: add Tx desc history in non-critical prealloc memory Add the Tx desc history buffers into non-critical category of prealloc memory. Change-Id: I9e9b466a8e836cbc02ff7754e545b99b984cb02d CRs-Fixed: 2936445 --- core/dp/txrx3.0/dp_txrx.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/dp/txrx3.0/dp_txrx.c b/core/dp/txrx3.0/dp_txrx.c index 9aec84364551..0b5605e1c9fa 100644 --- a/core/dp/txrx3.0/dp_txrx.c +++ b/core/dp/txrx3.0/dp_txrx.c @@ -311,6 +311,12 @@ static struct dp_prealloc_context g_dp_context_allocs[] = { {DP_TX_HW_DESC_HIST_TYPE, sizeof(struct dp_tx_hw_desc_history), false, false, NULL}, #endif +#ifdef WLAN_FEATURE_DP_TX_DESC_HISTORY + {DP_TX_TCL_HIST_TYPE, sizeof(struct dp_tx_tcl_history), + false, false, NULL}, + {DP_TX_COMP_HIST_TYPE, sizeof(struct dp_tx_comp_history), + false, false, NULL}, +#endif /* WLAN_FEATURE_DP_TX_DESC_HISTORY */ #ifdef WLAN_SUPPORT_RX_FISA {DP_FISA_RX_FT_TYPE, sizeof(struct dp_fisa_rx_sw_ft) * FISA_RX_FT_SIZE, false, true, NULL},