1. 21 Oct, 2024 7 commits
    • Robert Schmidt's avatar
      Merge branch 'integration_2024_w42' into 'develop' · ec06c78b
      Robert Schmidt authored
      Integration: `2024.w42`
      
      Closes #547, #853, #854, #858, #859, #862, #844, and #746
      
      See merge request oai/openairinterface5g!3053
      
      * !3047 Resolve compilation warnings on ARM
      * !3052 Optimize T_ID() macro.
      * !3045 CI: Reduce tested DL throughput on Aerial
      * !3039 fix for Other SI reception when BWP start != 0
      * !2997 websrv regression
      * !3041 Update NR SA Tutorials
      * !3042 Update TESTBenches.md to reflect current testbench
      * !3004 Hotfix to remove an unwanted TX power reduction when using multiple TX antenna ports.
      * reduce ssPBCH_BlockPower in gNB config of FHI7.2 pipeline
      * !3046 A testsuite and a benchmark for RLC AM mode
      * !3038 Various bugfixes for gNB stability, cleanup
      * !3051 PUCCH2 DTX detection
      * nr_psbchsim: fix segv by providing correct get_nrUE_params()
      * !3049 Improve PUSCH and PUCCH SNR stability
      * !3054 Allocate and add sD to DRB NSSAI in case sD != 0xffffff
      ec06c78b
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'origin/fix-nssai-f1ap' into integration_2024_w42 (!3054) · 3f511975
      Jaroslava Fiedlerova authored
      Currently, sD has not been allocated, so the octet string is empty. Fix the
      allocation to correctly write&read NSSAIs in UE context setup/modification
      request messages.
      3f511975
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'origin/Improve_UL_SNR_stability' into integration_2024_w42 (!3049) · 784ae2a4
      Jaroslava Fiedlerova authored
      Reset TPC to 0 dB, after sending it to the UE, to not request new gain multiple
      times before computing new value for SNR.
      784ae2a4
    • Robert Schmidt's avatar
      2fe1c2f7
    • Robert Schmidt's avatar
      psbchsim.c: add license banner · 78fc4722
      Robert Schmidt authored
      78fc4722
    • Robert Schmidt's avatar
      nr_psbchsim: fix segv by providing correct get_nrUE_params() · 44616a6a
      Robert Schmidt authored
      When running, nr_psbchsim, we get this UBsan error:
      
          openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c:79:16: runtime error: member access within misaligned address 0x0ff4278c791c for type 'struct nrUE_params_t', which requires 8 byte alignment
      
      The problem is that the corresponding definition of
      get_nrUE_params() in psbchsim.c does not actually return the UE params,
      but void, so we might or might not get something that resembles valid
      data in nr_adjust_synch_ue.c. Fix this by including nr-uesoftmodem.h
      (that provides the correct declaration) and define it correctly. Due to
      type mismatches, also adapt downlink_frequency, uplink_frequency_offset,
      and openair_cfg (which might result in the same type of bugs).
      44616a6a
    • V. Tuan Ngo's avatar
      da84a704
  2. 19 Oct, 2024 4 commits
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/pucch2_dtx' into integration_2024_w42 (!3051) · dd7c3f80
      Robert Schmidt authored
      This adds DTX detection in PUCCH 2 receiver. This is detected by MAC
      already which will drop PUCCH 2 indications that are detected as DTX.
      For the moment this uses the same pucch0_dtx_threshold value indicated
      in L1 section of the configuration file. The feature firstly reduces
      unnecessary logging on stdout and the use of invalid CSI measurements in
      the MAC scheduler.
      
      Closes: #547
      dd7c3f80
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/bugfixes-gnb-stability' into integration_2024_w42 (!3038) · 4c0fa908
      Robert Schmidt authored
      - Fixes #853, #854, #858, #859, #862
      - handle repeated NGAP Initial context setup requests, thereby fixing assert:
      
            Assertion (!ue_p->as_security_active) failed!
            In rrc_gNB_generate_SecurityModeCommand() /home/eurecom/raymond/openairinterface5g/openair2/RRC/NR/rrc_gNB.c:2590
            logic error: security already activ
      
      - A lot of cleanup: remove almost all use of protocol_ctxt_t in 5G RRC and use
        existing pointers instead
      4c0fa908
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/rlc-benchmark' into integration_2024_w42 (!3046) · 5f5d8596
      Robert Schmidt authored
      Introduce two tests for NR RLC AM entity:
      
      - test_nr_rlc_am_entity
      - benchmark_nr_rlc_am_entity
      
      The benchmark can be used to verify processing time improvements for NR RLC AM
      entity. The benchmark creates two entities and creates an unbalanced
      communication channel between them with 10% loss packet loss and 100:1 PDU sent
      ratio. This allows the lists in RLC to build up and triggers RLC AM code
      related to looking through the segment/pdu lists.
      
      Example benchmark output:
      
          ubuntu@zeus:~/bpodrygajlo/openairinterface5g/cmake_targets/build$ ./openair2/LAYER2/nr_rlc/tests/benchmark_nr_rlc_am_entity
          [LOG] init aborted, configuration couldn't be performed
          log init done
          CMDLINE: "./openair2/LAYER2/nr_rlc/tests/benchmark_nr_rlc_am_entity"
          [CONFIG] debug flags: 0x00400000
          2024-10-16T14:58:20+02:00
          Running ./openair2/LAYER2/nr_rlc/tests/benchmark_nr_rlc_am_entity
          Run on (8 X 4700 MHz CPU s)
          CPU Caches:
            L1 Data 48 KiB (x4)
            L1 Instruction 32 KiB (x4)
            L2 Unified 1280 KiB (x4)
            L3 Unified 12288 KiB (x1)
          Load Average: 0.48, 0.27, 0.20
          ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
          --------------------------------------------------------------------
          Benchmark                          Time             CPU   Iterations
          --------------------------------------------------------------------
          BM_nr_rlc_am_entity/100        50096 ns        50097 ns        13101
          BM_nr_rlc_am_entity/256       140386 ns       140387 ns         4868
          BM_nr_rlc_am_entity/1024      536323 ns       536311 ns         1309
          BM_nr_rlc_am_entity/4096     2084464 ns      2084385 ns          338
          BM_nr_rlc_am_entity/16384    8309318 ns      8309458 ns           81
          BM_nr_rlc_am_entity/20000    9843792 ns      9843774 ns           68
      5f5d8596
    • Jaroslava Fiedlerova's avatar
      CI: lower ssPBCH_BlockPower in gNB conf for `RAN-SA-FHI72-CN5G` pipeline · 08972f35
      Jaroslava Fiedlerova authored
      Tests showed that a UE connected much faster, and did not fail as often
      on Msg3.
      08972f35
  3. 18 Oct, 2024 12 commits
  4. 17 Oct, 2024 17 commits