Commit 65a96273 authored by William Johnson's avatar William Johnson

Merge branch 'l1-sidelink' of gitlab.eurecom.fr:matzakos/LTE-D2D into l1-sidelink

parents 7dd982e1 7b283032
...@@ -712,8 +712,11 @@ static void *UE_thread_synchSL(void *arg) ...@@ -712,8 +712,11 @@ static void *UE_thread_synchSL(void *arg)
&MLind, &MLind,
&maxlev, &maxlev,
&avglev); &avglev);
if (rxoffset>=0) LOG_I(PHY,"Most likely Nid_SL/168 = %d with rxoffset %d, lev %d dB, avg %d dB\n", if (rxoffset>=0) LOG_I(PHY,"Most likely Nid_SL/168 = %d with rxoffset %d, lev %d dB, avg %d dB\n", MLind,rxoffset,dB_fixed(maxlev),dB_fixed(avglev));
MLind,rxoffset,dB_fixed(maxlev),dB_fixed(avglev));
int32_t sss_metric;
int32_t phase_max;
rx_slsss(UE,&sss_metric,&phase_max,MLind,0);
AssertFatal ( 0== pthread_mutex_lock(&UE->proc.mutex_synchSL), ""); AssertFatal ( 0== pthread_mutex_lock(&UE->proc.mutex_synchSL), "");
UE->proc.instance_cnt_synchSL--; UE->proc.instance_cnt_synchSL--;
......
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