Browse Source

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
Karthik Kantamneni 3 years ago
parent
commit
d16c504bf9
2 changed files with 5 additions and 0 deletions
  1. 3 0
      Kbuild
  2. 2 0
      configs/default_defconfig

+ 3 - 0
Kbuild

@@ -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

+ 2 - 0
configs/default_defconfig

@@ -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