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
This commit is contained in:
sheenam monga 2019-05-24 13:55:05 +05:30 • committed by nshrivas
commit fa3cb430b3

5
Kbuild
View file

@ -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