nr,gnb,rrc: Ignore measurementReports from UE while RRC Reconfiguration procedure is not yet complete.

master
Francisco 3 years ago committed by Francisco Paisana
parent abe2c8cba4
commit 277e6f2998

@ -397,14 +397,17 @@ void rrc::ue::parse_ul_dcch(uint32_t lcid, srsran::unique_byte_buffer_t pdu)
} }
break; break;
case ul_dcch_msg_type_c::c1_c_::types::meas_report: case ul_dcch_msg_type_c::c1_c_::types::meas_report:
if (state == RRC_STATE_REGISTERED) {
if (mobility_handler != nullptr) { if (mobility_handler != nullptr) {
mobility_handler->handle_ue_meas_report(ul_dcch_msg.msg.c1().meas_report(), std::move(original_pdu)); mobility_handler->handle_ue_meas_report(ul_dcch_msg.msg.c1().meas_report(), std::move(original_pdu));
} else {
parent->logger.warning("Received MeasReport but no mobility configuration is available");
} }
if (endc_handler != nullptr) { if (endc_handler != nullptr) {
endc_handler->handle_ue_meas_report(ul_dcch_msg.msg.c1().meas_report()); endc_handler->handle_ue_meas_report(ul_dcch_msg.msg.c1().meas_report());
} }
} else {
parent->logger.warning(
"measurementReport for rnti=0x%x ignored. Cause: RRC Reconfiguration is not yet complete", rnti);
}
break; break;
case ul_dcch_msg_type_c::c1_c_::types::ue_info_resp_r9: case ul_dcch_msg_type_c::c1_c_::types::ue_info_resp_r9:
handle_ue_info_resp(ul_dcch_msg.msg.c1().ue_info_resp_r9(), std::move(original_pdu)); handle_ue_info_resp(ul_dcch_msg.msg.c1().ue_info_resp_r9(), std::move(original_pdu));

Loading…
Cancel
Save