From 610cfc66e13567aa819084e857c40c3b23757f80 Mon Sep 17 00:00:00 2001 From: Roberto Louro Magueta Date: Wed, 9 Nov 2022 15:13:39 +0000 Subject: [PATCH] Call multipath_channel() function in nr_ulsim to apply the Doppler Effect --- openair1/SIMULATION/NR_PHY/ulsim.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/openair1/SIMULATION/NR_PHY/ulsim.c b/openair1/SIMULATION/NR_PHY/ulsim.c index e393e8a487..6beb8a7180 100644 --- a/openair1/SIMULATION/NR_PHY/ulsim.c +++ b/openair1/SIMULATION/NR_PHY/ulsim.c @@ -1297,11 +1297,7 @@ int main(int argc, char **argv) } } - if (UE2gNB->max_Doppler == 0) { - multipath_channel(UE2gNB, s_re, s_im, r_re, r_im, slot_length, 0, (n_trials==1)?1:0); - } else { - multipath_tv_channel(UE2gNB, s_re, s_im, r_re, r_im, 2*slot_length, 0); - } + multipath_channel(UE2gNB, s_re, s_im, r_re, r_im, slot_length, 0, (n_trials == 1) ? 1 : 0); add_noise(rxdata, (const double **) r_re, (const double **) r_im, sigma, slot_length, slot_offset, ts, delay, pdu_bit_map, frame_parms->nb_antennas_rx); } /*End input_fd */