adding EMULATE_RF into CMakelist

This commit is contained in:
Wang Tsu-Han
2018-01-16 15:50:57 +01:00
parent 67c37417b6
commit cfec3ffd56
5 changed files with 3 additions and 11 deletions
+1
View File
@@ -597,6 +597,7 @@ add_boolean_option(NAS_ADDRESS_FIX False "specific to oaisim: for nasmesh driver
add_boolean_option(NAS_NETLINK False "???? Must be True to compile nasmesh driver without rtai")
add_boolean_option(OAISIM False "specific to oaisim")
add_boolean_option(OAI_NW_DRIVER_USE_NETLINK True "????")
add_boolean_option(EMULATE_RF True "allows to run lte-softmodem without HW")
add_boolean_option(USE_MME False "this flag is used only one time in lte-softmodem.c")
add_list_string_option(PACKAGE_NAME "NotDefined" "As per attribute name")
-3
View File
@@ -99,9 +99,6 @@ const int itti_debug = (ITTI_DEBUG_ISSUES | ITTI_DEBUG_MP_STATISTICS);
# define ITTI_MEM_SIZE (16 * 1024 * 1024)
#endif
#ifndef EMULATE_RF
#define EMULATE_RF
#endif
typedef enum task_state_s {
TASK_STATE_NOT_CONFIGURED, TASK_STATE_STARTING, TASK_STATE_READY, TASK_STATE_ENDED, TASK_STATE_MAX,
+2 -2
View File
@@ -676,8 +676,8 @@ typedef enum {
REMOTE_MBP_IF5 =2,
REMOTE_IF4p5 =3,
REMOTE_IF1pp =4,
MAX_RU_IF_TYPES =5,
EMULATE_RF =6
MAX_RU_IF_TYPES =5
//EMULATE_RF =6
} RU_if_south_t;
typedef struct RU_t_s{
-3
View File
@@ -40,9 +40,6 @@
# endif
# include "enb_app.h"
#ifndef EMULATE_RF
#define EMULATE_RF
#endif
int create_tasks(uint32_t enb_nb, uint32_t ue_nb)
{
-3
View File
@@ -110,9 +110,6 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "T.h"
#ifndef EMULATE_RF
#define EMULATE_RF
#endif
extern volatile int oai_exit;
extern int numerology;