1. 23 May, 2024 5 commits
  2. 22 May, 2024 8 commits
  3. 21 May, 2024 2 commits
  4. 20 May, 2024 1 commit
  5. 16 May, 2024 3 commits
  6. 15 May, 2024 1 commit
  7. 10 May, 2024 1 commit
  8. 08 May, 2024 1 commit
    • Bartosz Podrygajlo's avatar
      Correct PRACH preamble tx power calculation. · 70f536a0
      Bartosz Podrygajlo authored
      Removed arbitrary offset of 30dB.
      Changed sign for pathloss: pathloss calculated in compute_nr_SSB_PL is the difference between transmitted and received power.
      Transmission power for preamble should compensate the pathloss, therefore power should increase with pathloss.
      70f536a0
  9. 07 May, 2024 1 commit
    • Robert Schmidt's avatar
      Merge branch 'integration_2024_w18' into 'develop' · 82bd07eb
      Robert Schmidt authored
      Integration `2024.w18`
      
      See merge request oai/openairinterface5g!2713
      
      * !2705 Fix CRC check in UE DCI detection
      * !2708 Adding few more NR bands to the list of supported ones
      * !2701 gNB archi fixes
      * !2203 DL-MMSE
      * !2684 remove asserts on min RX/TX, set the RX/TX shift as 2 in the UE
      * !2594 F1AP refactoring to align with O-RAN.WG5.C.1-v11
      82bd07eb
  10. 06 May, 2024 17 commits
    • Guido Casati's avatar
      cf22a331
    • Jaroslava Fiedlerova's avatar
    • Jaroslava Fiedlerova's avatar
    • Robert Schmidt's avatar
      NGAP: Correct encoding of AMF Set ID and Pointer · 0fb0b055
      Robert Schmidt authored
      Taking the example of the AMF Set ID, the previous version of the macro
      used another macro to encode the number, then marked the last 6 bits in
      the bit string (of length 16/2 bytes) as unused. This is wrong, because,
      assuming AMF Set ID=3, it basically truncates the number by encoding all
      16 bits and cutting off the last 6, like this:
      
        ------------------- encode 16 bits
        0000 0000 0000 0011
        ------------        take these 10 bits
      
      So what remains is these bit positions of the number:
      (16,15,14,13,12,11,10,9,8,7) -- the last 6 bits are cut (and the first 6
      are either 0 or garbage, because they don't exist).
      
      Instead, manually encode bits (10,9,8,7,6,5,4,3) in the first byte, and
      (2,1) in the second byte of the bit string, like so:
      
        ------------        encode 10 bits
        0000 0000 1100 0000
        ------------        take these 10 bits
      
      Do the same with the pointer.
      
      The AMF Region ID above is correct, as it is exactly 8 bits.
      0fb0b055
    • Robert Schmidt's avatar
      NGAP Release Cplt: indicate release PDU sessions · 8d225a7e
      Robert Schmidt authored
      We can optionally indicate the PDU session IDs. At least with OAI 5GC,
      that should help it clean up.
      8d225a7e
    • Robert Schmidt's avatar
      Handle PDU sessions in NG UE context setup request · 3e2d5f88
      Robert Schmidt authored
      In the case of PDU sessions in the NG UE context setup request, we first
      have to set up security. Hence, in this commit, implement the "delayed"
      set up of theses PDU sessions, and acknowledge the setup request after
      reconfiguration, as requested by O-RAN.WG5.C.1-v11.
      3e2d5f88
    • Robert Schmidt's avatar
      Correctly trigger NGAP UE Context Setup Response · 1fc16077
      Robert Schmidt authored
      Trigger UE ctxt setup response for the case of "registration request"
      (no PDU sessions in UE Context setup response), as mandated by
      O-RAN.WG5.C.1-v11.
      1fc16077
    • Robert Schmidt's avatar
      Trigger UE context setup req after E1 bearer setup resp · cbf446e2
      Robert Schmidt authored
      As of this commit, since we now send the UE security command as a DL NAS
      message, there is no F1 UE Context setup request. Hence, instead of
      sending a UE context modif request, send the UE context setup request
      after the E1 bearer setup response (which logically also makes more
      sense, as the E1 setup procedure comes before the F1 setup procedure).
      cbf446e2
    • Robert Schmidt's avatar
      Revert "Delay PDU session resource setup request if necessary" · 179ecb8e
      Robert Schmidt authored
      This reverts commit 0f100a6e, which
      introduced a hack to possibly wait with a PDU session setup at the RRC
      in case a RRC UE capability transaction (requesting UE capabilities from
      a UE) was ongoing. This happened, as we delayed the UE capabilities to
      after the first RRC reconfiguration; in that case, certain UEs were
      requesting the next PDU session, and if RRC did not delay the new PDU
      session (as requested from the core), this procedure might occur while
      UE capability enquiry was ongoing, leading to failures in these
      transactions.
      179ecb8e
    • Robert Schmidt's avatar
      Remove unused function for "default" RRC reconfiguration · c7a24715
      Robert Schmidt authored
      The default RRC reconfiguration was previously sent after the security
      mode command as a "first" RRC reconfiguration. However, it is simply not
      needed, as it will be triggered through a subsequent reconfiguration
      that also sets up DRBs.
      
      Move the Measurement Config to the "other/dedicated" RRC
      reconfiguration.
      
      This reconfiguration would have forwarded a NAS PDU (typically a
      registration accept). This is now done by a dedicated forwarding of NAS.
      c7a24715
    • Giulio Carota's avatar
      Revert "Send RRC UECapabilityEnquiry after reconfig, trigger UE update if necessary" · 388942b5
      Giulio Carota authored
      This reverts commit 4a7d7975.
      
      Trigger the UE capability right after security mode complete, as
      specified in O-RAN WG5.C.1-v11. Also, there is no "need" for the
      "default" RRC Reconfiguration (it will come once PDU sessions are
      requested), so remove this as well.
      388942b5
    • Giulio Carota's avatar
      Refactor Security Mode Command procedure: send in RRC DL transfer · 7340abc6
      Giulio Carota authored
      Previously, the CU sent the Security Mode Command as part of a UE
      context setup request. This was done "because it was possible", not
      because there was an inherent need to do this. However the LiteOn DU
      does not like this, as it expects to also have a DRB in the UE context
      setup request procedure, which is not always the case.
      
      Hence, send the Security Mode Command in a normal DL RRC msg transfer
      over F1. As of this commit, there is not UE context Setup Request (so it
      might not work with all DUs), but the OAI DU is cool and does not care,
      so RFsim still works.
      
      This also aligns the CU's behavior with O-RAN.WG5.C.1-v11.
      
      Finally, as of this commit, we do not trigger a UE context setup
      request, so we cannot handle PDU sessions inside the initial UE context
      setup request at the same time as the security mode command (which was
      done previously before reaching this point). This will be fixed in a
      later commit.
      7340abc6
    • Giulio Carota's avatar
      46e27ba4
    • Robert Schmidt's avatar
      Refactor F1 Setup Req/DU config update: transport slices via F1 and read config · 956df365
      Robert Schmidt authored
      In the DU, read slice information from the DU config file. Handle
      multiple slices within the F1 Setup Request structure representation,
      and forward it via F1 to CU. The DU slice information is stored in the
      setup request structure.
      956df365
    • Robert Schmidt's avatar
      Revert "kssb < 16 or we cannot do reestablishment: add assert in DU" · 740189c6
      Robert Schmidt authored
      This reverts commit eaf28414.
      
      This assertion was introduced as we (wrongfully) thought we needed to
      calculate the SSB ARFCN at the CU. Since PBCH might carry one bit, which
      is not available at the CU, only certain SSB ARFCNs would have been
      possible.
      
      With the availability of the SSB ARFCN through the
      MeasurementTimingConfiguration, this is not necessary anymore.
      740189c6
    • Robert Schmidt's avatar
      177ddaa0
    • Robert Schmidt's avatar
      Use MeasurementTimingConfiguration to look up SSB ARFCN when needed · 00cb7efa
      Robert Schmidt authored
      MeasTimingConfig may not come with F1 Setup Request: some DUs send it
      with the DU configuration update. Handle this gracefully by checking for
      MTC before using it.
      00cb7efa