From 60b81f47f1cb941cbde08b47930538d33d662d19 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Thu, 14 Dec 2017 12:57:44 +0100 Subject: [PATCH] Do chest on filter only when sic_pss is enabled. Do not equalize SSS by default (something is not ok and takes more time to decode it) --- lib/src/phy/ue/ue_sync.c | 2 +- srsue/src/phy/phch_recv.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/phy/ue/ue_sync.c b/lib/src/phy/ue/ue_sync.c index 7eb877b3b..511cdde2f 100644 --- a/lib/src/phy/ue/ue_sync.c +++ b/lib/src/phy/ue/ue_sync.c @@ -272,7 +272,7 @@ int srslte_ue_sync_init_multi_decim(srslte_ue_sync_t *q, srslte_sync_set_cfo_cp_enable(&q->sfind, true); srslte_sync_set_cfo_pss_enable(&q->sfind, true); srslte_sync_set_pss_filt_enable(&q->sfind, true); - srslte_sync_set_sss_eq_enable(&q->sfind, true); + srslte_sync_set_sss_eq_enable(&q->sfind, false); // During track, we do CFO correction outside the sync object srslte_sync_set_cfo_i_enable(&q->strack, false); diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 473011d7b..06ae1baa2 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -196,7 +196,7 @@ void phch_recv::set_ue_sync_opts(srslte_ue_sync_t *q) worker_com->args->cfo_loop_pss_tol, worker_com->args->cfo_loop_pss_conv); - q->strack.pss.chest_on_filter = true; + q->strack.pss.chest_on_filter = worker_com->args->sic_pss_enabled; int time_correct_period = worker_com->args->time_correct_period; if (time_correct_period > 0) {