Commit d2098da0 authored by Cedric Roux's avatar Cedric Roux

fix targets/COMMON/openairinterface5g_limits.h

- LMSSDR was not handled
- bad #if usage
- bad indentation

still not very clean, but better
parent 71fde414
#ifndef OPENAIRINTERFACE5G_LIMITS_H_ #ifndef OPENAIRINTERFACE5G_LIMITS_H_
#define OPENAIRINTERFACE5G_LIMITS_H_ #define OPENAIRINTERFACE5G_LIMITS_H_
#if defined(CBMIMO1) || defined(EXMIMO) || defined(OAI_USRP) #if defined(CBMIMO1) || defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_LMSSDR)
#define NUMBER_OF_eNB_MAX 1 # define NUMBER_OF_eNB_MAX 1
#define NUMBER_OF_UE_MAX 16 # define NUMBER_OF_UE_MAX 16
#define NUMBER_OF_CONNECTED_eNB_MAX 3 # define NUMBER_OF_CONNECTED_eNB_MAX 3
#else #else
#define NUMBER_OF_eNB_MAX 7 # define NUMBER_OF_eNB_MAX 7
#define NUMBER_OF_UE_MAX 20 # define NUMBER_OF_UE_MAX 20
#define NUMBER_OF_CONNECTED_eNB_MAX 3 # define NUMBER_OF_CONNECTED_eNB_MAX 3
#if STANDALONE==1 # if defined(STANDALONE) && STANDALONE==1
#define NUMBER_OF_eNB_MAX 3 # undef NUMBER_OF_eNB_MAX
#define NUMBER_OF_UE_MAX 3 # undef NUMBER_OF_UE_MAX
#endif # define NUMBER_OF_eNB_MAX 3
# define NUMBER_OF_UE_MAX 3
# endif
#if LARGE_SCALE # if defined(LARGE_SCALE) && LARGE_SCALE
#define NUMBER_OF_eNB_MAX 2 # undef NUMBER_OF_eNB_MAX
#define NUMBER_OF_UE_MAX 120 # undef NUMBER_OF_UE_MAX
#define NUMBER_OF_CONNECTED_eNB_MAX 1 // to save some memory # undef NUMBER_OF_CONNECTED_eNB_MAX
#endif # 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
#endif #endif /* OPENAIRINTERFACE5G_LIMITS_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment