From e736b9410a1a1a78f10b9e7b5e6211216a8adf70 Mon Sep 17 00:00:00 2001 From: Thomas Schlichter Date: Mon, 13 Jul 2020 11:36:51 +0200 Subject: [PATCH] Apply rx_offset in rfsimulator, too --- executables/nr-ue.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/executables/nr-ue.c b/executables/nr-ue.c index f867d59b86..cdcd014caa 100644 --- a/executables/nr-ue.c +++ b/executables/nr-ue.c @@ -575,12 +575,6 @@ void syncInFrame(PHY_VARS_NR_UE *UE, openair0_timestamp *timestamp) { int computeSamplesShift(PHY_VARS_NR_UE *UE) { - if (IS_SOFTMODEM_RFSIM) { - LOG_D(PHY,"SET rx_offset %d \n",UE->rx_offset); - //UE->rx_offset_diff=0; - return 0; - } - // compute TO compensation that should be applied for this frame if ( UE->rx_offset < UE->frame_parms.samples_per_frame/2 && UE->rx_offset > 0 ) {