qcacmn: CONFIG_MCL cleanup for msg queue depth and reduction limit

Remove CONFIG_MCL for Serialization msg queue depth and reduction limit to
make code generic. In case SCHEDULER_CORE_MAX_MESSAGES not defined, then
define SCHEDULER_CORE_MAX_MESSAGES to 4000 for WIN . If
WLAN_SCHED_REDUCTION_LIMIT not defined for MCL then define
WLAN_SCHED_REDUCTION_LIMIT to 32 for WIN .

Change-Id: If64f117f6f0af56f6a9e1041e583b022c6c419fb
CRs-Fixed: 2457723
This commit is contained in:
sheenam monga
2019-05-22 19:31:32 +05:30
committed by nshrivas
parent 13d57c69d2
commit dd4dc88b83
2 changed files with 3 additions and 7 deletions

View File

@@ -24,10 +24,10 @@
#include <scheduler_api.h>
#include <qdf_list.h>
#ifdef CONFIG_MCL
#define SCHEDULER_CORE_MAX_MESSAGES 1000
#else
#ifndef SCHEDULER_CORE_MAX_MESSAGES
#define SCHEDULER_CORE_MAX_MESSAGES 4000
#endif
#ifndef WLAN_SCHED_REDUCTION_LIMIT
#define WLAN_SCHED_REDUCTION_LIMIT 32
#endif
#define SCHEDULER_NUMBER_OF_MSG_QUEUE 6