Skip to content
Snippets Groups Projects

Reset E1 UE contexts after E1 Setup Response

Merged Robert Schmidt requested to merge fix-cuup-assert-reconnect into develop
All threads resolved!

38.463 sec. 8.2.3 says

This procedure also re-initialises the E1AP UE-related contexts (if any) and erases all related signalling connections in the two nodes like a Reset procedure would do.

Hence, delete all contexts after reception of E1 Setup Response. This minimizes a risk of receiving an E1 bearer setup req for an existing UE, which currently leads to an assert [we trust the CU-CP does not send the same UE ID twice, as we only "mirror" the existing UE ID].

After this MR, this is what happens if these entities fail:

  • CU-CP: all context lost implicitly, upon reconnection, both DU and CU-UP reset all contexts (like "start from zero")
  • DU fails: CU-CP triggers NGAP UE context release request immediately (radio connection with UE lost), all UE contexts attached to this DU cleared (like "start from zero" for affected DU)
  • CU-UP fails: initially, nothing (UE has no user plane); upon reconnection of CU-UP, CU-CP triggers NGAP UE context release request (cause radio connection with UE lost) and sends F1 Reset to DU, all UE contexts associated to this DU cleared (like "start from zero")

for the last case, a possible improvement could be to use the F1 Reset message to only clear affected UE conetxts. I chose not to do this, because this MR is very big now already, and possible "victim" UEs that were not at that CU-UP will reconnect as well

Edited by Robert Schmidt

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Guido Casati
  • Guido Casati
  • Guido Casati
  • Robert Schmidt added 6 commits

    added 6 commits

    • 9157e22c - Add F1 Reset enc/dec/cp/eq/free library and test
    • 4c9ed9d7 - Use (CU-initiated) F1 Reset in stack
    • df365d9a - Add F1 Reset Ack enc/dec/cp/eq/free library and test
    • ff106c41 - Use (CU-initiated) F1 Reset Acknowledgement in stack
    • d2bb779e - Refactor rrc_remove_ue() to not send NGAP ctxt release cplt
    • e8661f5a - Reset CU-CP E1 UE context after E1 Setup Response

    Compare with previous version

  • Author Maintainer

    I addressed all comments. Diff: diff

  • Guido Casati resolved all threads

    resolved all threads

  • changed milestone to %OK_TO_BE_MERGED

  • Robert Schmidt mentioned in commit 1be038c8

    mentioned in commit 1be038c8

  • Robert Schmidt mentioned in commit ff58b5e1

    mentioned in commit ff58b5e1

  • Robert Schmidt merged with merge request !3248 (merged)

    merged with merge request !3248 (merged)

  • Please register or sign in to reply
    Loading