Commit 3ea0425a authored by winckel's avatar winckel

Modified eNB configuration.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4964 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 547a3a65
...@@ -42,17 +42,14 @@ ...@@ -42,17 +42,14 @@
typedef struct s1ap_eNB_config_s { typedef struct s1ap_eNB_config_s {
// MME related params // MME related params
unsigned char mme_enabled; ///< MME enabled ? unsigned char mme_enabled; ///< MME enabled ?
char mme_ip_address[16]; ///< MME IP v4 address
} s1ap_eNB_config_t; } s1ap_eNB_config_t;
#if defined(OAI_EMU) #if defined(OAI_EMU)
# define EPC_MODE_ENABLED oai_emulation.info.s1ap_config.mme_enabled # define EPC_MODE_ENABLED oai_emulation.info.s1ap_config.mme_enabled
# define EPC_MODE_MME_ADDRESS oai_emulation.info.s1ap_config.mme_ip_address
#else #else
extern s1ap_eNB_config_t s1ap_config; extern s1ap_eNB_config_t s1ap_config;
# define EPC_MODE_ENABLED s1ap_config.mme_enabled # define EPC_MODE_ENABLED s1ap_config.mme_enabled
# define EPC_MODE_MME_ADDRESS s1ap_config.mme_ip_address
#endif #endif
void *s1ap_eNB_task(void *arg); void *s1ap_eNB_task(void *arg);
......
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