1. 14 Nov, 2025 21 commits
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'origin/logging-improvements' into integration_2025_w46 (!3751) · d8f5c9f1
      Jaroslava Fiedlerova authored
      Update log header format to align log output
      
      The new format:
      - left-aligns the log header name and enforces a minimum width of 6 characters,
        padding shorter names with spaces while allowing longer names to be printed in
        full
      - shortens UTC timestamp
      - align function names to 32 characters
      
      Example output:
      
      [19:51:34.647930] [NGAP]   I (ngap_gNB_decode_initiat:100)   Handover Resource Allocation initiating message
      [19:51:34.648539] [NGAP]   D (decode_ng_handover_requ:267)   AllowedNSSAI.list.count 2
      [19:51:34.648586] [NGAP]   I (ngap_gNB_handle_handove:728)   Received NG Handover Request from AMF OAI-AMF (ID=1)
      [19:51:34.648627] [NR_RRC] I (rrc_gNB_process_Handove:1199)  Received Handover Request (on NR Cell ID=11111111, PCI=1)
      [19:51:34.648647] [NR_RRC] A (rrc_gNB_create_ue_conte:230)   [--] (cellID 0, UE ID 1 RNTI ffff) Create UE context: CU UE ID 1 DU UE ID 4294967295 (rnti: ffff, random ue id ffffffffffffffff)
      [19:51:34.648659] [NR_RRC] A (set_UE_security_algos:692)     [--] (cellID 0, UE ID 1 RNTI ffff) Selected security algorithms: ciphering 0, integrity 2
      d8f5c9f1
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'origin/UE_issues' into integration_2025_w46 (!3750) · 517a1403
      Jaroslava Fiedlerova authored
      Handling newly opened UE issues
      
      Closes #1025 #1024 #1026 #1031 #1030
      517a1403
    • francescomani's avatar
    • francescomani's avatar
    • francescomani's avatar
      88baba89
    • francescomani's avatar
    • francescomani's avatar
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch... · a4516759
      Jaroslava Fiedlerova authored
      Merge remote-tracking branch 'origin/improve-readability-phy_procedures_gNB_uespec_RX' into integration_2025_w46 (!3707)
      
      Cleanup phy_procedures_gNB_uespec_RX
      
      phy_procedures_gNB_uespec_RX is too long function with too long lines of code,
      this commit only shorten lines and improve a bit the readability
      a4516759
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'origin/mac-e2-ci' into integration_2025_w46 (!3752) · 304c3ef9
      Jaroslava Fiedlerova authored
      [MAC] Add UL total/used aggregated MAC stats; [E2 agent] Properly calculate
      used UE PRBs in KPM; [CI] Simplify and improve the Undeploy_Object() and
      implement Stop_Object()
      
      - Create common dlul_mac_stats_t struct for both DL and UL total/used aggregated
        PRBs
      - Use correct unit [%] for RRU.PrbTotDl and RRU.PrbTotUl , instead of [PRBs]
      - Use correct unit [Mb] for DRB.PdcpSduVolumeDL and DRB.PdcpSduVolumeUL [kb]
      - Implement Stop_Object() (docker compose stop = SIGTERM)
      - Simplify the Undeploy_Object() function
      - Improve the logging for Deploy/Undeploy_Object() functions
      - OAI-FlexRIC CI: properly stop all the containers (one by one or a subgroup of
        running containers), and rename oai-flexric to nearRT-RIC container
      304c3ef9
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'origin/2l-ul-aerial' into integration_2025_w46 (!3755) · b7d867ea
      Jaroslava Fiedlerova authored
      CI: Increase tested UL throughput on Aerial pipeline using 2L UL
      
      The goal of this MR is to activate the use of 2-layer uplink by enabling SRS
      and to increase the tested UL throughput in CI.
      b7d867ea
    • Robert Schmidt's avatar
      875ec96f
    • Robert Schmidt's avatar
      Update log header format to improve visual alignment · ea1aa382
      Robert Schmidt authored
      The new format left-aligns the component name and enforces a minimum width
      of 7 (log component) characters, padding shorter names with spaces after
      the closing "]".
      
      Example output:
      
          [14:05:43.395376] [E1AP]   I releasing UE 1
          [14:05:43.395400] [GTPU]   I [91] UE ID 1: Delete all tunnels (1 tunnels)
          [14:05:43.395414] [NR_RRC] A [DL] (cellID bc614e, UE ID 1 RNTI 8e27) Send RRC Release
          [14:05:43.395431] [RRC]    I UE 1: received bearer release complete
          [14:05:43.424551] [RLC]    W Remove UE 36391
          [14:05:43.424597] [NR_RRC] I removed UE CU UE ID 1/RNTI 8e27
          [14:05:43.424773] [NR_RRC] A [--] (cellID bc614e, UE ID 1 RNTI 8e27) Remove UE context
          [14:05:43.425205] [NR_MAC] I Remove NR rnti 0x8e27
          [14:05:43.582158] [HW]     W Lost socket
          ^C
          ** Caught SIGTERM, shutting down
          Returned from ITTI signal handler
          [14:05:43.948721] [GNB_APP] I stopping nr-softmodem
          [14:05:43.948746] [PHY]    I Killing gNB 0 processing threads
          [14:05:44.574818] [PHY]    I Stopping RU 0 processing threads
          [14:05:44.575000] [PHY]    I RU 0 RF device stopped
          [14:05:44.575006] [GNB_APP] I turned off RU rfdevice
      ea1aa382
    • Robert Schmidt's avatar
      log: Only print one space if no level selected · 7f570191
      Robert Schmidt authored
      Prior to this change, when no "level" option is given to the logging
      module, we see
      
          [PHY]   RU 0 RF started cpu_meas_enabled 0
          [HW]   No connected device, generating void samples...
      
      with three spaces, which is too much. This change reduces the amount of
      spaces to 1 without log level.
      Co-authored-by: default avatarRobert Schmidt <robert.schmidt@openairinterface.org>
      7f570191
    • Robert Schmidt's avatar
      Simplify logging UTC option to only show time · 090cf00c
      Robert Schmidt authored
      We probably almost never care about the date, but it takes a lot of
      space. Remove it; if somebody needs the full time stamp including the
      date, we could still add it with a new option.
      090cf00c
    • Teodora's avatar
      OAI-FLEXRIC-RAN-Integration-Test CI pipeline · 6a6588e9
      Teodora authored
      1. Rename oai-flexric to nearRT-RIC. FlexRIC is a project combining nearRT-RIC, xApps, and E2 agent emulators.
      2. Instead of undeploying all the containers at the same time, and not checking the logs for xApps and nearRT-RIC, do the following:
      - Stop containers (docker compose stop) - one or subgroup of running containers in the following order:
         a) xapp-kpm-moni
         b) xapp-kpm-rc
         c) xapp-gtp-mac-rlc-pdcp-moni
         d) oai-nr-ue oai-nr-ue2
         e) oai-gnb
         f) nearRT-RIC
      - Undeploy containers (docker compose down), collect and analyze all the logs.
      6a6588e9
    • Robert Schmidt's avatar
      Implement StopObject() · 81680e29
      Robert Schmidt authored
      For some test cases, we might want to stop a service earlier. This
      functionality is done by StopObject().
      
      Test log collection is still done by UndeployObject(), which will
      collect the logs of all services (at that point, stopped or not).
      81680e29
    • Robert Schmidt's avatar
      Remove services to be undeployed from XML files · de8d0991
      Robert Schmidt authored
      In all these cases, the intention is to undeploy all services.
      Correspondingly, remove the services from the XML to avoid any
      ambiguity.
      de8d0991
    • Robert Schmidt's avatar
      Improve logging in CI Undeploy/DeployObject() · ddcb216a
      Robert Schmidt authored
      Consistently print requested services (if applicable)
      and outcome of the step.
      ddcb216a
    • Robert Schmidt's avatar
      Simplify UndeployObject() and GetDeployedObjects() · 247e908b
      Robert Schmidt authored
      GetRunningServices() was returning all services, running or stopped.
      Hence, rename to reflect what this function does, and rewrite slightly
      to better capture what is actually happening. Also, don't return the
      container ID, as we don't use it.
      
      Call stop on all services, as we will down the deployment right after.
      The list of services is still used to retrieve logs.
      
      Remove a stray "return False", which would sometimes prevent us from
      seeing all error messages.
      247e908b
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'origin/ue-fixes' into integration_2025_w46 (!3745) · 603fc231
      Jaroslava Fiedlerova authored
      Collection of small fixes
      
      A few fixes needed while testing FHI libraries
      - set subcarrier spacing in PUSCH PDU in NRUE
      - a set of two LOG_Ds that prints out the PUSCH allocation on gNB & UE
      603fc231
    • Jaroslava Fiedlerova's avatar
      Merge remote-tracking branch 'Rakesh_B_B/develop' into integration_2025_w46 (!3722) · 3a1d8afd
      Jaroslava Fiedlerova authored
      [NGAP] Fix incorrect AMF Set ID type (uint8 → uint16) causing AMF lookup failure
      
      This PR fixes issue #1012 , a data type issue related to the AMF Set ID used
      during UE RRC reestablishment. The AMF Set ID was mistakenly declared as uint8_t
      instead of uint16_t, even though it is a 10-bit field as specified in 3GPP TS
      23.003 section 2.10.1. As a result, AMF Set IDs greater than 255 were truncated,
      leading to failed AMF lookups and the following warning: No matching AMF found
      for PLMN (MCC=%03d MNC=%0*d) and AMF SetID=%u.
      Verified reestablishment succeeds with AMF Set IDs >255.
      3a1d8afd
  2. 13 Nov, 2025 10 commits
  3. 12 Nov, 2025 5 commits
  4. 11 Nov, 2025 2 commits
    • Thomas Schlichter's avatar
    • Thomas Schlichter's avatar
      gNB: fix MAC TA command scheduling if measurement gaps are configured · 81242034
      Thomas Schlichter authored
      In the current implementation, if UE transmission is interrupted via nr_mac_interrupt_ue_transmission(),
      UE_sched_ctrl.ta_frame is modified to be the previous frame avoiding TA scheduling in the measurement gap.
      So the next scheduled TA is shifted to be in 99 frames. As there are other measurement gaps before that,
      the scheduled TA is always shifted, but actually never reached, effectively disabling the MAC TA commands.
      
      To fix this, UE_sched_ctrl.ta_frame is changed to not indicate the last TA command transmission, but the
      next one. This allows to check in nr_mac_interrupt_ue_transmission() if the next TA command transmission
      is within the measurement gap and if so shift it to just after that gap.
      81242034
  5. 08 Nov, 2025 1 commit
  6. 06 Nov, 2025 1 commit
    • Guido Casati's avatar
      SDAP: guard RX header parsing with enable_sdap and init per-entity · 7274e7c4
      Guido Casati authored
      !3519 refactored the SDAP to use the QFI from the header rather
      than pass it to the rx function and got rid of the initialization
      of QFI to -1.
      However, entity roles are stored into the drb2qfi table, and the
      indexing implies that the QFI is known. While in TX it is not an
      issue since packets are forwarded based on the QFI, in RX the QFI
      can only be parsed from the heaedr, therefore if headers are
      disabled (--enable_sdap) the QFI is not there and it is wrong to
      access the header (`buf[0]`) and looking for it.
      
      This commit adds `enable_sdap` to `nr_sdap_entity_t` and initialize
      it in `nr_sdap_add_entity()` from `sdap->role`
      (disabled when `NO_SDAP_HEADER`). In `nr_sdap_rx_entity()`, only
      parse `buf[0]` for QFI and derive `sdap_ul_rx`/`sdap_dl_rx` when
      `enable_sdap` is true; otherwise, keep `offset=0` and forward
      payload unchanged.
      7274e7c4