Commit cfec3ffd authored by Wang Tsu-Han's avatar Wang Tsu-Han
Browse files

adding EMULATE_RF into CMakelist

parent 67c37417
...@@ -597,6 +597,7 @@ add_boolean_option(NAS_ADDRESS_FIX False "specific to oaisim: for nasmesh driver ...@@ -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(NAS_NETLINK False "???? Must be True to compile nasmesh driver without rtai")
add_boolean_option(OAISIM False "specific to oaisim") add_boolean_option(OAISIM False "specific to oaisim")
add_boolean_option(OAI_NW_DRIVER_USE_NETLINK True "????") 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_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") add_list_string_option(PACKAGE_NAME "NotDefined" "As per attribute name")
......
...@@ -99,9 +99,6 @@ const int itti_debug = (ITTI_DEBUG_ISSUES | ITTI_DEBUG_MP_STATISTICS); ...@@ -99,9 +99,6 @@ const int itti_debug = (ITTI_DEBUG_ISSUES | ITTI_DEBUG_MP_STATISTICS);
# define ITTI_MEM_SIZE (16 * 1024 * 1024) # define ITTI_MEM_SIZE (16 * 1024 * 1024)
#endif #endif
#ifndef EMULATE_RF
#define EMULATE_RF
#endif
typedef enum task_state_s { typedef enum task_state_s {
TASK_STATE_NOT_CONFIGURED, TASK_STATE_STARTING, TASK_STATE_READY, TASK_STATE_ENDED, TASK_STATE_MAX, TASK_STATE_NOT_CONFIGURED, TASK_STATE_STARTING, TASK_STATE_READY, TASK_STATE_ENDED, TASK_STATE_MAX,
......
...@@ -676,8 +676,8 @@ typedef enum { ...@@ -676,8 +676,8 @@ typedef enum {
REMOTE_MBP_IF5 =2, REMOTE_MBP_IF5 =2,
REMOTE_IF4p5 =3, REMOTE_IF4p5 =3,
REMOTE_IF1pp =4, REMOTE_IF1pp =4,
MAX_RU_IF_TYPES =5, MAX_RU_IF_TYPES =5
EMULATE_RF =6 //EMULATE_RF =6
} RU_if_south_t; } RU_if_south_t;
typedef struct RU_t_s{ typedef struct RU_t_s{
......
...@@ -40,9 +40,6 @@ ...@@ -40,9 +40,6 @@
# endif # endif
# include "enb_app.h" # include "enb_app.h"
#ifndef EMULATE_RF
#define EMULATE_RF
#endif
int create_tasks(uint32_t enb_nb, uint32_t ue_nb) int create_tasks(uint32_t enb_nb, uint32_t ue_nb)
{ {
......
...@@ -110,9 +110,6 @@ unsigned short config_frames[4] = {2,9,11,13}; ...@@ -110,9 +110,6 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "T.h" #include "T.h"
#ifndef EMULATE_RF
#define EMULATE_RF
#endif
extern volatile int oai_exit; extern volatile int oai_exit;
extern int numerology; extern int numerology;
......
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