diff --git a/Kbuild b/Kbuild index e90769cb3d71..329fc0f86bea 100644 --- a/Kbuild +++ b/Kbuild @@ -2751,7 +2751,10 @@ cppflags-y += -DDP_MOB_DEFS 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 76df7098425a..234ad9886c40 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -375,6 +375,7 @@ endif 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