qcacld-3.0: Increase QDF nbuf history for Lithium targets

For some of the stability issues triggered by H.W,
by the time host detects it most of the QDF history
is getting overwritten to avoid this increasing QDF
nbuf history. So that there will be less chance of
events getting overwritten.

Change-Id: Ia4bad1a175976af2e56126b56ae8c92a988e4289
CRs-Fixed: 2942868
This commit is contained in:
Karthik Kantamneni 2021-05-11 11:19:14 +05:30 committed by Madan Koyyalamudi
parent 478ae5eefb
commit d16c504bf9
2 changed files with 5 additions and 0 deletions

3
Kbuild
View File

@ -3627,6 +3627,9 @@ cppflags-$(CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY) += -DWLAN_FEATURE_DP_RX_RING_
cppflags-$(CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY) += -DWLAN_FEATURE_DP_TX_DESC_HISTORY
cppflags-$(CONFIG_REO_QDESC_HISTORY) += -DREO_QDESC_HISTORY
cppflags-$(CONFIG_DP_TX_HW_DESC_HISTORY) += -DDP_TX_HW_DESC_HISTORY
ifdef CONFIG_QDF_NBUF_HISTORY_SIZE
ccflags-y += -DQDF_NBUF_HISTORY_SIZE=$(CONFIG_QDF_NBUF_HISTORY_SIZE)
endif
cppflags-$(CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG) += -DWLAN_DP_PER_RING_TYPE_CONFIG
cppflags-$(CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG) += -DWLAN_CE_INTERRUPT_THRESHOLD_CONFIG
cppflags-$(CONFIG_SAP_DHCP_FW_IND) += -DSAP_DHCP_FW_IND

View File

@ -1125,6 +1125,7 @@ ifeq ($(CONFIG_LITHIUM), y)
CONFIG_ALLOW_PKT_DROPPING := y
CONFIG_REO_QDESC_HISTORY := y
CONFIG_DP_TX_HW_DESC_HISTORY := y
CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
endif
ifeq ($(CONFIG_CNSS2_DEBUG), y)
CONFIG_HIF_CE_DEBUG_DATA_BUF := y
@ -1134,6 +1135,7 @@ ifeq ($(CONFIG_LITHIUM), y)
CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY := y
CONFIG_REO_QDESC_HISTORY := y
CONFIG_DP_TX_HW_DESC_HISTORY := y
CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
endif
CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y
CONFIG_ALLOW_PKT_DROPPING := y