Commit ea3ea230 authored by aligungr's avatar aligungr

5G-S-TMSI encoding fix in Initial UE Message

parent 384636f4
......@@ -67,7 +67,7 @@ void UeRrcTask::startConnectionEstablishment(OctetString &&nasPdu)
{
m_initialId.present = ASN_RRC_InitialUE_Identity_PR_ng_5G_S_TMSI_Part1;
asn::SetBitStringLong<39>(static_cast<int64_t>(gutiOrTmsi->tmsi) |
(static_cast<int64_t>((gutiOrTmsi->amfPointer & 0b1111111)) << 39ull),
(static_cast<int64_t>(gutiOrTmsi->amfPointer & 0b1111111) << 32ull),
m_initialId.choice.ng_5G_S_TMSI_Part1);
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment