1. 18 Aug, 2023 1 commit
    • Robert Schmidt's avatar
      Use nr_generate_Msg4() in the case of Msg.3 with C-RNTI · 27f9d6f7
      Robert Schmidt authored
      After removing RA.crnti, there is no need to use a separate function
      nr_generate_Msg3_dcch_dtch_response() to generate Msg.4 (yes, the
      function mentions Msg3 but it does Msg3 response == Msg.4).
      
      Also, using nr_generate_Msg4() has the advantage that it waits until we
      have the reconfiguration available in RLC to be sent to the UE. Finally,
      we can delete the old nr_generate_Msg3_dcch_dtch_response() as we don't
      need it anymore.
      27f9d6f7
  2. 14 Aug, 2023 12 commits
  3. 12 Aug, 2023 8 commits
    • Robert Schmidt's avatar
      Fix: link T into oai_eth_transpro · a082f708
      Robert Schmidt authored
      Via the include of the logging system, the ethernet transport
      library implicitly depends on T. Hence, link T into
      oai_eth_transpro.
      a082f708
    • Robert Schmidt's avatar
    • Robert Schmidt's avatar
      Verify reestablishment in DU-CU split · d0bfaf4d
      Robert Schmidt authored
      d0bfaf4d
    • Robert Schmidt's avatar
      979ebdeb
    • Robert Schmidt's avatar
      Cleanup after RRC reestablishment · 792cd56f
      Robert Schmidt authored
      792cd56f
    • Robert Schmidt's avatar
      Repair reestablishment and make it work via F1 · 7a298e73
      Robert Schmidt authored
      This commit repairs the reestablishment after the introduction of the CU
      UE ID in the CU, different from the DU UE ID. Now, the CU uses an
      identifier different from the RNTI, used in the MAC, to refer to UEs.
      
      To repair the reestablishment, a number of changes needed to be
      introduced:
      
      - Handle old_gNB_DU_UE_id in MAC
      
      The MAC handles the old_gNB_DU_UE_id field in the DL RRC Message. The
      commit adds encoding/decoding of the field. The MAC will drop the old
      UE, but retain the CellGroup of the corresponding UE(!). Because a UE
      releases the spCellGroup on reestablishment, the MAC does the same; it
      needs to reapply the old configuration after a reconfiguration. For the
      latter, introduce new variables to keep a "future" CellGroupConfig to be
      applied (reconfigCellGroup) and a flag (expect_reconfiguration) that
      applies the CellGroupConfig if a DL RRC Message transfer on DCCH, which
      is assumed to be the reconfiguration.
      
      - Add RNTI change in RLC
      
      The RLC needs to reuse the old UE context. Hence, we simply change the
      RNTI in the old context, and delete the new one.
      
      - No PDCP UE ID change
      
      The previous implementation of the PDCP used the RNTI; hence, the ID
      needed to be switch (as above for the RLC). Since the PDCP now also uses
      the CU UE ID, no identifier change is needed, and we remove all
      corresponding code.
      
      - No MAC modifications/update from CU
      
      As foreseen by the spec, the CU does not modify or change the
      cellGroupConfig in the RRC during reestablishment. This change will be
      generalized in the future to all of the RRC.  Also, the
      nr_rrc_mac_remove_ue() function has been removed: the MAC handles any UE
      changes autonomeously, without being triggered from the RRC explicitly.
      
      - Remove reestablish_rnti_map
      
      The RRC does not use RNTIs for UE identification. Hence, a
      reestablish_rnti_map to link two UEs to each other is not necessary
      anymore.
      7a298e73
    • Robert Schmidt's avatar
      Implement PDCP reset counters for reestablishment · 04abbdb6
      Robert Schmidt authored
      After a reestablishment, the PDCP sequence number counters have to be
      reset. Implement an API to allow the RRC to reset the sequence numbers
      for a particular UE in the case of reestablishment
      04abbdb6
    • Robert Schmidt's avatar
      Trigger Reestablishment via resetting RLC sequence numbers · b90a59a6
      Robert Schmidt authored
      Plugin can trigger reestablishment (on DU)
      and show counters of reestablishment (on CU)
      b90a59a6
  4. 11 Aug, 2023 19 commits