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:
@@ -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
|
||||
|
Reference in New Issue
Block a user