From 98aa9e1c565e70a08c24576be39b6409e1c38951 Mon Sep 17 00:00:00 2001 From: Hongzhi Wang <hongzhi.wang@tcl.com> Date: Tue, 12 Jun 2018 17:43:17 +0200 Subject: [PATCH] ue nr pbch bug fix --- openair1/PHY/NR_REFSIG/refsig_defs_ue.h | 2 ++ openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openair1/PHY/NR_REFSIG/refsig_defs_ue.h b/openair1/PHY/NR_REFSIG/refsig_defs_ue.h index 4cbc2e0db7..49d8add3f1 100644 --- a/openair1/PHY/NR_REFSIG/refsig_defs_ue.h +++ b/openair1/PHY/NR_REFSIG/refsig_defs_ue.h @@ -40,4 +40,6 @@ int nr_pbch_dmrs_rx(unsigned int *nr_gold_pbch, int32_t *output ); int length_dmrs, unsigned short nb_pdsch_rb);*/ +void nr_gold_pbch(PHY_VARS_NR_UE* ue); + #endif diff --git a/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c b/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c index ccc031ed84..eb1c5bb820 100644 --- a/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c +++ b/openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c @@ -258,7 +258,7 @@ int nr_initial_sync(PHY_VARS_NR_UE *ue, runmode_t mode) set_default_frame_parms_single(config,&ue->frame_parms); nr_init_frame_parms_ue(config,&ue->frame_parms); - nr_gold_pbch(ue); + //nr_gold_pbch(ue); ret = pbch_detection(ue,mode); // write_output("rxdata2.m","rxd2",ue->common_vars.rxdata[0],10*frame_parms->samples_per_tti,1,1); -- GitLab