Commit 37df6df9 authored by magounak's avatar magounak

minor fixes after merging with L1_renaming

parent bc2ee097
...@@ -909,8 +909,8 @@ void init_eNB_proc(int inst) { ...@@ -909,8 +909,8 @@ void init_eNB_proc(int inst) {
proc->first_rx =1; proc->first_rx =1;
proc->first_tx =1; proc->first_tx =1;
proc->RU_mask =0; //proc->RU_mask =0;
//for (int i=0;i<10;i++) proc->RU_mask[i]=0; for (int i=0;i<10;i++) proc->RU_mask[i]=0;
proc->RU_mask_prach =0; proc->RU_mask_prach =0;
pthread_mutex_init( &eNB->UL_INFO_mutex, NULL); pthread_mutex_init( &eNB->UL_INFO_mutex, NULL);
...@@ -963,8 +963,6 @@ void init_eNB_proc(int inst) { ...@@ -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,"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) { 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 pthread_create( &L1_proc->pthread, attr0, L1_thread, proc ); //!!!!!!!!!!!!!!!!!!!!! for us it is eNB !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
......
...@@ -1143,7 +1143,6 @@ void wakeup_L1s(RU_t *ru) { ...@@ -1143,7 +1143,6 @@ void wakeup_L1s(RU_t *ru) {
eNB_proc_t *proc = &eNB->proc; eNB_proc_t *proc = &eNB->proc;
RU_proc_t *ruproc = &ru->proc; RU_proc_t *ruproc = &ru->proc;
struct timespec t; 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_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); 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"); ...@@ -1236,7 +1235,7 @@ LOG_I(PHY,"ENTERED wakeup_eNBs\n");
} }
}
static inline int wakeup_prach_ru(RU_t *ru) { static inline int wakeup_prach_ru(RU_t *ru) {
struct timespec wait; struct timespec wait;
...@@ -1752,7 +1751,7 @@ static void* ru_thread( void* param ) { ...@@ -1752,7 +1751,7 @@ static void* ru_thread( void* param ) {
resynch_done=1; resynch_done=1;
} }
wakeup_eNBs(ru); wakeup_L1s(ru);
} }
else { else {
......
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