diff --git a/targets/RT/USER/lte-enb.c b/targets/RT/USER/lte-enb.c index 834210f2b5..03f81bdd0e 100644 --- a/targets/RT/USER/lte-enb.c +++ b/targets/RT/USER/lte-enb.c @@ -909,8 +909,8 @@ void init_eNB_proc(int inst) { proc->first_rx =1; proc->first_tx =1; - proc->RU_mask =0; - //for (int i=0;i<10;i++) proc->RU_mask[i]=0; + //proc->RU_mask =0; + for (int i=0;i<10;i++) proc->RU_mask[i]=0; proc->RU_mask_prach =0; pthread_mutex_init( &eNB->UL_INFO_mutex, NULL); @@ -963,8 +963,6 @@ void init_eNB_proc(int inst) { LOG_I(PHY,"eNB->single_thread_flag:%d\n", eNB->single_thread_flag); - LOG_I(PHY,"proc_rxtx[0]->instance_cnt_rxtx %d,proc_rxtx[1]->instance_cnt_rxtx %d\n", - proc_rxtx[0].instance_cnt_rxtx,proc_rxtx[1].instance_cnt_rxtx); if ((get_thread_parallel_conf() == PARALLEL_RU_L1_SPLIT || get_thread_parallel_conf() == PARALLEL_RU_L1_TRX_SPLIT) && nfapi_mode!=2) { pthread_create( &L1_proc->pthread, attr0, L1_thread, proc ); //!!!!!!!!!!!!!!!!!!!!! for us it is eNB !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 diff --git a/targets/RT/USER/lte-ru.c b/targets/RT/USER/lte-ru.c index dbbb24e43b..13d471b2d1 100644 --- a/targets/RT/USER/lte-ru.c +++ b/targets/RT/USER/lte-ru.c @@ -1143,7 +1143,6 @@ void wakeup_L1s(RU_t *ru) { eNB_proc_t *proc = &eNB->proc; RU_proc_t *ruproc = &ru->proc; struct timespec t; -LOG_I(PHY,"ENTERED wakeup_eNBs\n"); LOG_D(PHY,"wakeup_eNBs (num %d) for RU %d (state %s)ru->eNB_top:%p\n",ru->num_eNB,ru->idx, ru_states[ru->state],ru->eNB_top); LOG_D(PHY,"wakeup_L1s (num %d) for RU %d ru->eNB_top:%p\n",ru->num_eNB,ru->idx, ru->eNB_top); @@ -1236,7 +1235,7 @@ LOG_I(PHY,"ENTERED wakeup_eNBs\n"); } - +} static inline int wakeup_prach_ru(RU_t *ru) { struct timespec wait; @@ -1752,7 +1751,7 @@ static void* ru_thread( void* param ) { resynch_done=1; } - wakeup_eNBs(ru); + wakeup_L1s(ru); } else {