From 97546d92a57aa012f56b325269fd85d4b9c16b28 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 11 Apr 2018 16:26:03 +0200 Subject: [PATCH] Continue if SIB>2 is not received --- srsue/src/phy/phch_worker.cc | 4 ++-- srsue/src/upper/rrc.cc | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/srsue/src/phy/phch_worker.cc b/srsue/src/phy/phch_worker.cc index e19912a1d..627bddaa1 100644 --- a/srsue/src/phy/phch_worker.cc +++ b/srsue/src/phy/phch_worker.cc @@ -394,7 +394,7 @@ void phch_worker::work_imp() if (chest_ok) { if (phy->avg_rsrp_dbm > -130.0 && phy->avg_snr_db > -10.0) { - log_h->debug("SNR=%.1f dB, RSRP=%.1f dBm sync=in-sync from channel estimator\n", + log_h->info("SNR=%.1f dB, RSRP=%.1f dBm sync=in-sync from channel estimator\n", phy->avg_snr_db, phy->avg_rsrp_dbm); chest_loop->in_sync(); } else { @@ -1460,7 +1460,7 @@ void phch_worker::update_measurements() dl_metrics.sinr = phy->avg_snr_db; dl_metrics.turbo_iters = srslte_pdsch_last_noi(&ue_dl.pdsch); phy->set_dl_metrics(dl_metrics); - + } } diff --git a/srsue/src/upper/rrc.cc b/srsue/src/upper/rrc.cc index 089e80f7c..9f4022825 100644 --- a/srsue/src/upper/rrc.cc +++ b/srsue/src/upper/rrc.cc @@ -442,7 +442,9 @@ bool rrc::configure_serving_cell() { rrc_log->info("Cell has no SIB%d. Obtaining SIB%d\n", i+1, i+1); if (!si_acquire(i)) { rrc_log->info("Timeout while acquiring SIB%d\n", i+1); - return false; + if (i < 2) { + return false; + } } } else { rrc_log->info("Cell has SIB%d\n", i+1);