In openairinterface5g many definitions in many layers of UE or eNB NB_MAX. We created a file called openairinterface5g_limits.h located at openairinterface5g_dir/targets/COMMON/ declaring the number max of UE and eNB to be used in ALL layers depending on launching conditions (LARGE_SCALE for example).
21 lines
505 B
C
21 lines
505 B
C
#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
|