Commit 200be2b1 authored by Raymond Knopp's avatar Raymond Knopp

Merge branch 'develop-nos1-fixes' of...

Merge branch 'develop-nos1-fixes' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop-nos1-fixes
parents 2d610d95 0d05de63
...@@ -112,14 +112,12 @@ void prach_procedures(PHY_VARS_eNB *eNB, ...@@ -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) { ...@@ -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");
} }
......
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