qcacld-3.0: Enable large ce desc history only for helium
Enable large ce desc history only for helium.
Change-Id: Ia4261736f48b7bd9859506f6e6917a0e6ed287f8
CRs-Fixed: 2568325
diff --git a/Kbuild b/Kbuild
index e90769c..329fc0f 100644
--- a/Kbuild
+++ b/Kbuild
@@ -2751,7 +2751,10 @@
cppflags-y += -DDP_PRINT_NO_CONSOLE
cppflags-y += -DDP_INTR_POLL_BOTH
cppflags-y += -DDP_INVALID_PEER_ASSERT
-cppflags-y += -DHIF_CE_HISTORY_MAX=8192
+
+ifdef CONFIG_HIF_LARGE_CE_RING_HISTORY
+ccflags-y += -DHIF_CE_HISTORY_MAX=$(CONFIG_HIF_LARGE_CE_RING_HISTORY)
+endif
#endof dummy flags
ccflags-$(CONFIG_ENABLE_SIZE_OPTIMIZE) += -Os
diff --git a/configs/default_defconfig b/configs/default_defconfig
index 76df709..234ad98 100644
--- a/configs/default_defconfig
+++ b/configs/default_defconfig
@@ -375,6 +375,7 @@
ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
CONFIG_OL_RX_INDICATION_RECORD := y
CONFIG_TSOSEG_DEBUG := y
+CONFIG_HIF_LARGE_CE_RING_HISTORY := 8192
endif
endif #CONFIG_HELIUMPLUS