Added the judgment of the NGAP field in the configuration file

This commit is contained in:
yaojie
2020-10-27 07:40:09 +00:00
parent a9b76b5341
commit a5343618cf
3 changed files with 41 additions and 14 deletions
+2
View File
@@ -42,11 +42,13 @@
typedef struct ngap_gNB_config_s {
// MME related params
unsigned char amf_enabled; ///< AMF enabled ?
unsigned char ngap_enabled; ///< NGAP enabled ?
} ngap_gNB_config_t;
extern ngap_gNB_config_t ngap_config;
#define AMF_MODE_ENABLED ngap_config.amf_enabled
#define NGAP_CONF_MODE ngap_config.ngap_enabled
void *ngap_gNB_process_itti_msg(void*);