ソースを参照

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
Yeshwanth Sriram Guntuka 5 年 前
コミット
4382d420fd
2 ファイル変更5 行追加1 行削除
  1. 4 1
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 4 - 1
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

+ 1 - 0
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