From fa3cb430b36c8308c6af8333f6ff667bef62b12c Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Fri, 24 May 2019 13:55:05 +0530 Subject: [PATCH] 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 --- Kbuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Kbuild b/Kbuild index fb7a24e6ef26..e9ecebd936c6 100644 --- a/Kbuild +++ b/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