Fix non-contention HO missing the T-CRNTI

master
Ismael Gomez 3 years ago
parent ce30b7e1ce
commit 66eb6f20f1

@ -220,6 +220,7 @@ void ra_proc::initialization()
preambleTransmissionCounter = 1; preambleTransmissionCounter = 1;
mux_unit->msg3_flush(); mux_unit->msg3_flush();
backoff_param_ms = 0; backoff_param_ms = 0;
transmitted_crnti = 0;
resource_selection(); resource_selection();
} }
@ -405,10 +406,12 @@ void ra_proc::tb_decoded_ok(const uint8_t cc_idx, const uint32_t tti)
rar_pdu_msg.get()->get_ta_cmd(), rar_pdu_msg.get()->get_ta_cmd(),
rar_pdu_msg.get()->get_temp_crnti()); rar_pdu_msg.get()->get_temp_crnti());
// Save Temp-CRNTI before generating the reply
rntis->temp_rnti = rar_pdu_msg.get()->get_temp_crnti();
// Perform actions when preamble was selected by UE MAC // Perform actions when preamble was selected by UE MAC
if (preambleIndex <= 0) { if (preambleIndex <= 0) {
mux_unit->msg3_prepare(); mux_unit->msg3_prepare();
rntis->temp_rnti = rar_pdu_msg.get()->get_temp_crnti();
// If this is the first successfully received RAR within this procedure, Msg3 is empty // If this is the first successfully received RAR within this procedure, Msg3 is empty
if (mux_unit->msg3_is_empty()) { if (mux_unit->msg3_is_empty()) {

Loading…
Cancel
Save