Commit 3217b512 authored by WANG Tsu-Han's avatar WANG Tsu-Han

simulation fix

parent 860d4069
...@@ -2341,7 +2341,9 @@ void init_RU_proc(RU_t *ru) { ...@@ -2341,7 +2341,9 @@ void init_RU_proc(RU_t *ru) {
LOG_I(PHY,"%s() DJP - added creation of pthread_prach\n", __FUNCTION__); LOG_I(PHY,"%s() DJP - added creation of pthread_prach\n", __FUNCTION__);
pthread_create( &proc->pthread_prach, attr_prach, ru_thread_prach, (void *)ru ); pthread_create( &proc->pthread_prach, attr_prach, ru_thread_prach, (void *)ru );
ru->state=RU_RUN; ru->state=RU_RUN;
/*fill_rf_config(ru,ru->rf_config_file); if(!get_softmodem_params()->emulate_rf)
{
fill_rf_config(ru,ru->rf_config_file);
init_frame_parms(ru->frame_parms,1); init_frame_parms(ru->frame_parms,1);
ru->frame_parms->nb_antennas_rx = ru->nb_rx; ru->frame_parms->nb_antennas_rx = ru->nb_rx;
phy_init_RU(ru); phy_init_RU(ru);
...@@ -2354,7 +2356,8 @@ void init_RU_proc(RU_t *ru) { ...@@ -2354,7 +2356,8 @@ void init_RU_proc(RU_t *ru) {
if (setup_RU_buffers(ru)!=0) { if (setup_RU_buffers(ru)!=0) {
LOG_I(PHY,"Exiting, cannot initialize RU Buffers\n"); LOG_I(PHY,"Exiting, cannot initialize RU Buffers\n");
exit(1); exit(1);
}*/ }
}
} }
if (get_thread_worker_conf() == WORKER_ENABLE) { if (get_thread_worker_conf() == WORKER_ENABLE) {
......
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