• Robert Schmidt's avatar
    Merge remote-tracking branch 'origin/fix-bug-release-no-amf' into integration_2026_w03 (!3857) · bd6ce9ba
    Robert Schmidt authored
    Fix bug "no AMF for UE"
    
    It might happen that the RRC does not know the AMF UE NGAP ID, yet. Even
    in that case, we should forward the release request to the NGAP module,
    which can either forward a message to the AMF, or reply back to release
    the UE. This avoids an error where the CU claims there was no AMF, when
    there actually is.
    
    One possible problematic behavior is if a UE disconnects before the gNB
    receives an NGAP Initial Context Setup. In this case, the AMF UE NGAP ID
    was not forwarded to the RRC (although it was known at NGAP), thus
    blocking the release of the UE.
    
    This is the main fix, the rest are minor fixes:
    
    - store AMF UE NGAP ID as early as possible
    - warn in MAC if UE unknown for UE context release command
    - show TEIDs with correct endianness in GTP
    - avoid NG Setup Failure+Setup log.
    bd6ce9ba
rrc_gNB.c 149 KB