Continue if SIB>2 is not received

master
Ismael Gomez 7 years ago
parent ff1269add3
commit 97546d92a5

@ -394,7 +394,7 @@ void phch_worker::work_imp()
if (chest_ok) { if (chest_ok) {
if (phy->avg_rsrp_dbm > -130.0 && phy->avg_snr_db > -10.0) { 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); phy->avg_snr_db, phy->avg_rsrp_dbm);
chest_loop->in_sync(); chest_loop->in_sync();
} else { } else {
@ -1460,7 +1460,7 @@ void phch_worker::update_measurements()
dl_metrics.sinr = phy->avg_snr_db; dl_metrics.sinr = phy->avg_snr_db;
dl_metrics.turbo_iters = srslte_pdsch_last_noi(&ue_dl.pdsch); dl_metrics.turbo_iters = srslte_pdsch_last_noi(&ue_dl.pdsch);
phy->set_dl_metrics(dl_metrics); phy->set_dl_metrics(dl_metrics);
} }
} }

@ -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); rrc_log->info("Cell has no SIB%d. Obtaining SIB%d\n", i+1, i+1);
if (!si_acquire(i)) { if (!si_acquire(i)) {
rrc_log->info("Timeout while acquiring SIB%d\n", i+1); rrc_log->info("Timeout while acquiring SIB%d\n", i+1);
return false; if (i < 2) {
return false;
}
} }
} else { } else {
rrc_log->info("Cell has SIB%d\n", i+1); rrc_log->info("Cell has SIB%d\n", i+1);

Loading…
Cancel
Save