remove all conditional FlexRAN-related compilation directives

This commit is contained in:
Robert Schmidt
2018-02-12 14:38:44 +01:00
parent 3768723c62
commit adec4e39df
12 changed files with 4 additions and 50 deletions
+1 -2
View File
@@ -1319,12 +1319,11 @@ int main( int argc, char **argv )
}
#endif
#ifdef FLEXRAN_AGENT_SB_IF
/* Start the agent. If it is turned off in the configuration, it won't start */
RCconfig_flexran();
for (i = 0; i < RC.nb_L1_inst; i++) {
flexran_agent_start(i);
}
#endif
// init UE_PF_PO and mutex lock
pthread_mutex_init(&ue_pf_po_mutex, NULL);
+2 -4
View File
@@ -31,6 +31,8 @@
#include "PHY/defs.h"
#include "SIMULATION/ETH_TRANSPORT/proto.h"
#include "flexran_agent.h"
#if defined(ENABLE_ITTI)
#if defined(ENABLE_USE_MME)
#include "s1ap_eNB.h"
@@ -271,8 +273,4 @@ void init_eNB_afterRU(void);
extern int stop_L1L2(module_id_t enb_id);
extern int restart_L1L2(module_id_t enb_id);
#ifdef FLEXRAN_AGENT_SB_IF
#include "flexran_agent.h"
#endif
#endif
+1 -3
View File
@@ -76,9 +76,7 @@ uint8_t config_smbv = 0;
char smbv_ip[16];
#endif
#if defined(FLEXRAN_AGENT_SB_IF)
# include "flexran_agent.h"
#endif
#include "flexran_agent.h"
#include "oaisim_functions.h"