uw-ictd / open5gs

open5gs is an open source implementation of the Evolved Packet Core and 5GC supporting 3GPP Release 16. This repository is a maintenance and research fork of the main upstream open5gs/open5gs.
https://open5gs.org
GNU Affero General Public License v3.0
2 stars 0 forks source link

MME releases mme-ue-s1ap-id too soon #6

Open spencersevilla opened 4 years ago

spencersevilla commented 4 years ago

I've found two unrelated (I think?) instances wherein the MME sends an error [RadioNetwork-cause=unknown-mme-ue-s1ap-id] when it shouldn't.

Case 1: eNB -> MME: DetachRequest eNB <- MME: UE ContextReleaseCommand

Case 2: eNB <- MME: InitialContextSetupRequest, Atach Accept eNB -> MME: InitialContextSetupFailure (cause=unspecified) eNB -> MME: UEContextReleaseRequest (cause=unspecified) eNB <- MME: (Unknown MME UE s1ap ID)

I haven't looked at the 3gpp spec yet but since these eNBs are commercial-grade I assume we are just releasing mme-ue-s1ap-id too soon.