minor changes after merge with develop for noS1 simulation
This commit is contained in:
@@ -112,14 +112,12 @@ void prach_procedures(PHY_VARS_eNB *eNB,
|
|||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
|
|
||||||
#ifdef DEBUG_PHY_PROC
|
|
||||||
LOG_D(PHY,"[RAPROC] Frame %d, subframe %d : Most likely preamble %d, energy %d dB delay %d (prach_energy counter %d)\n",
|
LOG_D(PHY,"[RAPROC] Frame %d, subframe %d : Most likely preamble %d, energy %d dB delay %d (prach_energy counter %d)\n",
|
||||||
frame,subframe,
|
frame,subframe,
|
||||||
max_preamble[0],
|
max_preamble[0],
|
||||||
max_preamble_energy[0]/10,
|
max_preamble_energy[0]/10,
|
||||||
max_preamble_delay[0],
|
max_preamble_delay[0],
|
||||||
eNB->prach_energy_counter);
|
eNB->prach_energy_counter);
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef Rel14
|
#ifdef Rel14
|
||||||
if (br_flag==1) {
|
if (br_flag==1) {
|
||||||
|
|||||||
@@ -1180,7 +1180,7 @@ static inline int wakeup_prach_ru(RU_t *ru) {
|
|||||||
ru->eNB_list[0]->proc.frame_prach = ru->proc.frame_rx;
|
ru->eNB_list[0]->proc.frame_prach = ru->proc.frame_rx;
|
||||||
ru->eNB_list[0]->proc.subframe_prach = ru->proc.subframe_rx;
|
ru->eNB_list[0]->proc.subframe_prach = ru->proc.subframe_rx;
|
||||||
}
|
}
|
||||||
LOG_D(PHY,"RU %d: waking up PRACH thread\n",ru->idx);
|
LOG_I(PHY,"RU %d: waking up PRACH thread\n",ru->idx);
|
||||||
// the thread can now be woken up
|
// the thread can now be woken up
|
||||||
AssertFatal(pthread_cond_signal(&ru->proc.cond_prach) == 0, "ERROR pthread_cond_signal for RU prach thread\n");
|
AssertFatal(pthread_cond_signal(&ru->proc.cond_prach) == 0, "ERROR pthread_cond_signal for RU prach thread\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user