Commit 82f00021 authored by Cedric Roux's avatar Cedric Roux

basic_simulator: wait PRACH thread in eNodeB

parent da540890
...@@ -164,6 +164,13 @@ extern void add_subframe(uint16_t *frameP, uint16_t *subframeP, int offset); ...@@ -164,6 +164,13 @@ extern void add_subframe(uint16_t *frameP, uint16_t *subframeP, int offset);
static inline int rxtx(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc, char *thread_name) { static inline int rxtx(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc, char *thread_name) {
start_meas(&softmodem_stats_rxtx_sf); start_meas(&softmodem_stats_rxtx_sf);
#if BASIC_SIMULATOR
{
eNB_proc_t *proc = &eNB->proc;
while (proc->instance_cnt_prach >= 0) usleep(500);
}
#endif
// ******************************************************************* // *******************************************************************
if (nfapi_mode == 1) { if (nfapi_mode == 1) {
......
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