1. 23 Aug, 2023 1 commit
    • Laurent THOMAS's avatar
      fix-mem-overflow_64qam · 4c3d8e75
      Laurent THOMAS authored
      fix the 64QAM modulator case, that process 192 bits per iteration, then 24 bits per iteration of the tail bits, then added the last two symboles processing (no odd number of symbols case)
      4c3d8e75
  2. 22 Aug, 2023 1 commit
    • Robert Schmidt's avatar
      Merge branch 'integration_2023_w33' into 'develop' · 464a62dd
      Robert Schmidt authored
      integration_2023_w33
      
      See merge request oai/openairinterface5g!2300
      
      * !2247 Fix cppcheck warnings related to nullPointerArithmeticRedundantCheck
      * !2250 Fix cppcheck warnings related to negativeIndex
      * !2281 avoid NR UE stalling if SIB not decoded
      * !2273 NR_UE: fix limited UL data throughput in do-ra mode
      * !2295 hack: see Bye. message when quitting gnb running with aw2s
      * !2298 mapping LCID to RBID to index RLC entities
      * !2267 Make read-only global variables const, additional fixes
      * !2297 nr rlc: change retx logic
      * !2230 Readme correction
      * Lower scheduler PF averaging constant
      464a62dd
  3. 21 Aug, 2023 2 commits
    • Robert Schmidt's avatar
      Lower scheduler PF averaging constant · 8ad215f6
      Robert Schmidt authored
      This time constant plays a major role in how long a UE has to wait
      maximally before it might be scheduled. For instance, if a UE had a lot
      of traffic, the average traffic will be high, pushing the PF coefficient
      down. If another UE with no traffic in the past becomes active with
      heavy traffic, the first UE might not be scheduled for an extended
      period of time.
      
      In the AW2S-Amarisoft UE CI test pipeline, we sometimes see that the
      maximum number of RLC retransmissions was reached. While this might not
      be the (only) cause, scheduling a UE more often might prevent such
      situations, and we saw an improved stability.
      8ad215f6
    • Robert Schmidt's avatar
      4d244c5c
  4. 18 Aug, 2023 14 commits
  5. 17 Aug, 2023 1 commit
  6. 15 Aug, 2023 1 commit
    • Cedric Roux's avatar
      nr rlc: change retx logic · 3f8c8b73
      Cedric Roux authored
      When t_poll_retransmit expires we need to consider an SDU for
      retransmission.
      
      We used to take the first SDU (which could be a segment, not a full SDU)
      of the wait list and put it in the retransmit list.
      
      When testing with some UE (Amarisoft UE) a bad behavior was detected.
      
      This is what happens for the SDU with SN 6 (for illustration purpose).
      
      The gNB is sending an SDU in several pieces (it is segmented).
      
      slot n:     rlc sn 6 [1 .. 119[   p=0   RECEIVED
      slot n+x:   rlc sn 6 ]120 .. 180[ p=0   RECEIVED
      slot n+x+y: rlc sn 6 ]181 .. 210] p=1   not RECEIVED
      
      Then when t_poll_retransmit expires rlc retransmits only the PDU of
      slot n (with p=1 this time) and the UE replies with ack 6. So nothing
      happens on the gnb side.
      (We would have expected ack 7 + nack 6 181..end.)
      
      Then after t_poll_retransmit expires again rlc retransmits only PDU
      of slot n and the UE still replies with ack 6.
      
      This goes on forever (or some other timeout occurs.)
      
      The logic is now changed.
      
      When t_poll_retransmit expires we transfer all the SDUs in the wait list
      having the same SN as the head of the wait list into the retransmit list.
      
      Testing with Amarisoft UE, it seems to work properly.
      3f8c8b73
  7. 14 Aug, 2023 2 commits
  8. 13 Aug, 2023 2 commits
  9. 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
  10. 11 Aug, 2023 8 commits