From c54cb02efd1962729d7a1a6c41fd43af1174e990 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Mon, 18 Dec 2017 16:35:21 +0100 Subject: [PATCH] Increased REF BW CFO loop --- lib/include/srslte/phy/ue/ue_sync.h | 2 +- srsue/src/phy/phch_recv.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/include/srslte/phy/ue/ue_sync.h b/lib/include/srslte/phy/ue/ue_sync.h index ff863c3f9..233b87b11 100644 --- a/lib/include/srslte/phy/ue/ue_sync.h +++ b/lib/include/srslte/phy/ue/ue_sync.h @@ -64,7 +64,7 @@ #define DEFAULT_CFO_BW_PSS 0.05 #define DEFAULT_CFO_PSS_MIN 400 // typical bias of PSS estimation. -#define DEFAULT_CFO_BW_REF 0.01 +#define DEFAULT_CFO_BW_REF 0.08 #define DEFAULT_CFO_REF_MIN 0 // typical bias of REF estimation #define DEFAULT_CFO_REF_MAX DEFAULT_CFO_PSS_MIN // Maximum detection offset of REF based estimation diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 75f6ae36c..b75a37b2e 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -647,7 +647,7 @@ void phch_recv::run_thread() case 1: if (last_worker) { - Warning("SF: cfo=%7.1f Hz, ref=%f Hz, pss=%f Hz\n", + Warning("SF: cfo_tot=%7.1f Hz, ref=%f Hz, pss=%f Hz\n", srslte_ue_sync_get_cfo(&ue_sync), 15000*last_worker->get_ref_cfo(), 15000*ue_sync.strack.cfo_pss_mean);