Commit bf2e88bf authored by Lionel Gauthier's avatar Lionel Gauthier

R.K. modifications

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5607 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent f080f6ef
...@@ -107,6 +107,7 @@ endif ...@@ -107,6 +107,7 @@ endif
OBJ += $(ENB_APP_OBJS) OBJ += $(ENB_APP_OBJS)
ifeq ($(RTAI),1) ifeq ($(RTAI),1)
CFLAGS += -I/usr/realtime/include -I/usr/realtime/include/asm
LOG_OBJS= LOG_OBJS=
RTAI_OBJ+=$(LOG_DIR)/vcd_signal_dumper.o RTAI_OBJ+=$(LOG_DIR)/vcd_signal_dumper.o
RTAI_OBJ+=$(LOG_DIR)/log.o RTAI_OBJ+=$(LOG_DIR)/log.o
......
...@@ -232,8 +232,13 @@ static char *conf_config_file_name = NULL; ...@@ -232,8 +232,13 @@ static char *conf_config_file_name = NULL;
static char *itti_dump_file = NULL; static char *itti_dump_file = NULL;
#endif #endif
#ifndef USRP
double tx_gain = 20;
double rx_gain = 30;
#else
double tx_gain = 120; double tx_gain = 120;
double rx_gain = 30; double rx_gain = 30;
#endif
double sample_rate=30.72e6; double sample_rate=30.72e6;
double bw = 14e6; double bw = 14e6;
...@@ -849,9 +854,11 @@ static void * eNB_thread_tx(void *param) { ...@@ -849,9 +854,11 @@ static void * eNB_thread_tx(void *param) {
rt_make_hard_real_time(); rt_make_hard_real_time();
#endif #endif
#ifndef USRP
subframe_tx = (proc->subframe+1)%10;
#else
subframe_tx = (proc->subframe+2)%10; subframe_tx = (proc->subframe+2)%10;
#endif
while (!oai_exit){ while (!oai_exit){
vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_eNB_PROC_TX0+(2*proc->subframe),0); vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_eNB_PROC_TX0+(2*proc->subframe),0);
...@@ -1881,7 +1888,7 @@ int main(int argc, char **argv) { ...@@ -1881,7 +1888,7 @@ int main(int argc, char **argv) {
// initialize the log (see log.h for details) // initialize the log (see log.h for details)
logInit(); logInit();
set_glog(LOG_WARNING, LOG_MED); set_glog(LOG_DEBUG, LOG_MED);
if (UE_flag==1) if (UE_flag==1)
{ {
printf("configuring for UE\n"); printf("configuring for UE\n");
......
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