浏览代码

qcacld-3.0: CONFIG_MCL cleanup for Serialization msg queue depth

Remove CONFIG_MCL for Serialization msg queue depth to make code generic.
Initialize value for Serialization msg queue depth i.e
SCHEDULER_CORE_MAX_MESSAGES to 1000 for MCL. In case
SCHEDULER_CORE_MAX_MESSAGES not defined, then
SCHEDULER_CORE_MAX_MESSAGES define to 4000 for WIN.

Change-Id: I498cfb73ed7774d9d26b1374ee87b1a7691341d9
CRs-Fixed: 2457704
sheenam monga 5 年之前
父节点
当前提交
70823870a4
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Kbuild

+ 6 - 0
Kbuild

@@ -2747,6 +2747,12 @@ ifdef WLAN_HDD_ADAPTER_MAGIC
 ccflags-y += -DWLAN_HDD_ADAPTER_MAGIC=$(WLAN_HDD_ADAPTER_MAGIC)
 endif
 
+# Max no of Serialization msg queue depth for MCL. If it is not
+# defined, then SCHEDULER_CORE_MAX_MESSAGES will be 4000 for
+# WIN.
+
+ccflags-y += -DSCHEDULER_CORE_MAX_MESSAGES=1000
+
 # Determine if we are building against an arm architecture host
 ifeq ($(findstring arm, $(ARCH)),)
 	ccflags-y += -DWLAN_HOST_ARCH_ARM=0