From 0ae6685dbb3fb12e1ddb8686b58e9111c4ae60c5 Mon Sep 17 00:00:00 2001 From: Bo Zhao Date: Wed, 21 Aug 2019 11:58:57 +0200 Subject: [PATCH] Bug fix: use NR prach table init function --- openair1/PHY/INIT/nr_init_ue.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openair1/PHY/INIT/nr_init_ue.c b/openair1/PHY/INIT/nr_init_ue.c index d16858aed4..a559b35e7e 100644 --- a/openair1/PHY/INIT/nr_init_ue.c +++ b/openair1/PHY/INIT/nr_init_ue.c @@ -940,7 +940,11 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue, // enable MIB/SIB decoding by default ue->decode_MIB = 1; ue->decode_SIB = 1; - init_prach_tables(839); + + ue->ssb_periodicity = 5; // initialization of ssb periodicity to 5ms according to TS38.213 section 4.1 + + init_nr_prach_tables(839); + return 0; }