rrc: set correct transaction id or security_mode_complete and reconfig_complete messages

master
Ismael 2 years ago committed by Ismael Gomez
parent dd174d37fa
commit e7272fd2ae

@ -587,6 +587,7 @@ void rrc_nr::send_security_mode_complete()
{ {
ul_dcch_msg_s ul_dcch_msg; ul_dcch_msg_s ul_dcch_msg;
auto& smc = ul_dcch_msg.msg.set_c1().set_security_mode_complete().crit_exts.set_security_mode_complete(); auto& smc = ul_dcch_msg.msg.set_c1().set_security_mode_complete().crit_exts.set_security_mode_complete();
ul_dcch_msg.msg.c1().security_mode_complete().rrc_transaction_id = transaction_id;
send_ul_dcch_msg(srb_to_lcid(nr_srb::srb1), ul_dcch_msg); send_ul_dcch_msg(srb_to_lcid(nr_srb::srb1), ul_dcch_msg);
} }
@ -695,6 +696,7 @@ void rrc_nr::send_rrc_reconfig_complete()
asn1::rrc_nr::ul_dcch_msg_s ul_dcch_msg; asn1::rrc_nr::ul_dcch_msg_s ul_dcch_msg;
auto& rrc_reconfig_complete = ul_dcch_msg.msg.set_c1().set_rrc_recfg_complete().crit_exts.set_rrc_recfg_complete(); auto& rrc_reconfig_complete = ul_dcch_msg.msg.set_c1().set_rrc_recfg_complete().crit_exts.set_rrc_recfg_complete();
ul_dcch_msg.msg.c1().rrc_recfg_complete().rrc_transaction_id = transaction_id;
send_ul_dcch_msg(srb_to_lcid(nr_srb::srb1), ul_dcch_msg); send_ul_dcch_msg(srb_to_lcid(nr_srb::srb1), ul_dcch_msg);
} }

Loading…
Cancel
Save