1. 08 Nov, 2023 9 commits
    • Robert Schmidt's avatar
    • Robert Schmidt's avatar
      Move rrc gNB DU handling to separate file · 1153e62e
      Robert Schmidt authored
      1153e62e
    • Robert Schmidt's avatar
      Remove RRC UE context printing that depends on DU · c00b287c
      Robert Schmidt authored
      This code printed BW masks (what is this) and number of MIMO layers. It
      was dependent on the current DU, and only showed the information for the
      current DU config (SCS, band). On DU disconnect, it leads to segfaults
      to this dependency, and IMO is not useful in itself (it could rather be
      printed when receiving the UE capabilities, for all bands etc.).
      c00b287c
    • Robert Schmidt's avatar
      F1AP: send() functions take assoc_id · 4c2bfe7a
      Robert Schmidt authored
      To allow to send F1 messages to multiple DUs from the CU, we need to
      send these messages via different assoc_id (SCTP association ID,
      basically akin to a file descriptor). Currently, the assoc_id is stored
      in a context at the F1 module and retrieved in
      f1ap_itti_send_sctp_data_req().
      
      To facilitate a later change towards indicating (from the RRC) to which
      assoc_id (hence, DU) to send a message, we refactor all
      CU_send_*()/DU_send_*() functions to take the assoc_id as a parameter to
      which to send messages. In this commit, we then pass the assoc_id from
      the context. A later commit changes this (at the CU) to pass the
      assoc_id from the message to be sent.
      4c2bfe7a
    • Robert Schmidt's avatar
      Allow DUs to reconnect to CU · 474c3507
      Robert Schmidt authored
      Previous to this commit, the CU creates an F1 instance and initializes
      GTP after a successful connection establishment, and tears the F1
      instance down after the DU disconnects. This does not work when trying
      to connect multiple DUs, or have them reconnect, as e.g., GTP
      re-initialization fails (socket already bound).
      
      This commit makes the CU F1 instance creation and GTP init at CU task
      init (only once), and also frees the F1 instance only after the CU task
      exits, which is at termination of the application, typically.
      474c3507
    • Robert Schmidt's avatar
      Correctly read PCI in F1 Setup Response · 05aefb9a
      Robert Schmidt authored
      05aefb9a
    • Robert Schmidt's avatar
      F1AP: Remove commented code · 808b7684
      Robert Schmidt authored
      808b7684
    • Robert Schmidt's avatar
      11df08a8
    • Robert Schmidt's avatar
      Remove dead code in GTP · 4ad7e9c5
      Robert Schmidt authored
      Remove dead code, result of 2136ceec: we
      cannot connect() in GTP on multiple remotes (as then only packets of one
      host might be received), but might need to send to multiple remote
      sockets.
      4ad7e9c5
  2. 30 Oct, 2023 7 commits
  3. 27 Oct, 2023 24 commits