Skip to content
Snippets Groups Projects
Forked from oai / openairinterface5G
23553 commits behind the upstream repository.
openairinterface5g_limits.h 588 B
#ifndef OPENAIRINTERFACE5G_LIMITS_H_
#define OPENAIRINTERFACE5G_LIMITS_H_

#if defined(CBMIMO1) || defined(EXMIMO) || defined(OAI_USRP)
	#define NUMBER_OF_eNB_MAX 1
	#define NUMBER_OF_UE_MAX 16
	#define NUMBER_OF_CONNECTED_eNB_MAX 3
#else
	#define NUMBER_OF_eNB_MAX 7
	#define NUMBER_OF_UE_MAX 20
	#define NUMBER_OF_CONNECTED_eNB_MAX 3

	#if STANDALONE==1
		#define NUMBER_OF_eNB_MAX 3
		#define NUMBER_OF_UE_MAX 3
	#endif

	#if LARGE_SCALE
		#define NUMBER_OF_eNB_MAX 2
		#define NUMBER_OF_UE_MAX 120
		#define NUMBER_OF_CONNECTED_eNB_MAX 1 // to save some memory
	#endif
#endif

#endif