Commit 003c4b6c authored by Wang Tsu-Han's avatar Wang Tsu-Han

numerology fix

parent 4fdbfc31
......@@ -644,7 +644,6 @@ int wakeup_rxtx(PHY_VARS_eNB *eNB,RU_t *ru) {
}
pthread_mutex_unlock( &proc_rxtx0->mutex_rxtx );
ru_proc->emulate_rf_busy = 0;
return(0);
}
......
......@@ -700,6 +700,7 @@ static void* emulatedRF_thread(void* param) {
sparam.sched_priority = sched_get_priority_max(SCHED_FIFO);
policy = SCHED_FIFO ;
pthread_setschedparam(pthread_self(), policy, &sparam);
LOG_I(PHY,"/////////////////////******************** numerology = %d /////////////////////////////////***************************** \n",numerology);
wait_sync("emulatedRF_thread");
while(!oai_exit){
......@@ -1211,6 +1212,9 @@ void wakeup_eNBs(RU_t *ru) {
{
LOG_E(PHY,"could not wakeup eNB rxtx process for subframe %d\n", ru->proc.subframe_rx);
}
if(!eNB_list[i]->single_thread_flag){
ru->proc.emulate_rf_busy = 0;
}
}
}
}
......
......@@ -218,7 +218,7 @@ extern void init_eNB_afterRU(void);
int transmission_mode=1;
int emulate_rf = 0;
int numerology = 2;
int numerology = 0;
int codingw = 0;
int fepw = 0;
......
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