浏览代码

qcacld-3.0: CONFIG_MCL cleanup for WLAN_SCHED_REDUCTION_LIMIT

Remove CONFIG_MCL for reduction limit to make code generic.
Initialize value for reduction limit  i.e WLAN_SCHED_REDUCTION_LIMIT
to 0 for MCL. In case WLAN_SCHED_REDUCTION_LIMIT not defined, then
define WLAN_SCHED_REDUCTION_LIMIT to 32 for WIN.

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

+ 5 - 0
Kbuild

@@ -2776,6 +2776,11 @@ endif
 
 ccflags-y += -DSCHEDULER_CORE_MAX_MESSAGES=1000
 
+# Defining Reduction Limit 0 for MCL. If it is not defined,
+#then WLAN_SCHED_REDUCTION_LIMIT will be 32 for
+# WIN.
+ccflags-y += -DWLAN_SCHED_REDUCTION_LIMIT=0
+
 # Determine if we are building against an arm architecture host
 ifeq ($(findstring arm, $(ARCH)),)
 	ccflags-y += -DWLAN_HOST_ARCH_ARM=0