Continue if SIB>2 is not received

This commit is contained in:
Ismael Gomez 2018-04-11 16:26:03 +02:00
parent ff1269add3
commit 97546d92a5
2 changed files with 5 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);