1. 03 Feb, 2025 3 commits
    • Robert Schmidt's avatar
      Merge branch 'integration_2025_w05' into 'develop' · 0053a3d0
      Robert Schmidt authored
      Integration: `2025.w05`
      
      Closes #885
      
      See merge request oai/openairinterface5g!3233
      
      * !3102 Dockerized development environment
      * !3185 Add IQ file recording and IQ file viewer to ImScope
      * !3218 more layer1 cleaning
      * !3224 Ensure execution of processSlotTX in order in NR UE
      * !3231 Bugfix in frame and slot setting for ULSCH beam allocation
      * !3229 Verify the integrity protection of the RRCReestablishment message
      * !3230 FHI72: fix for single distributed antenna array for xran F release
      * !2984 NAS 5GS refactor
      * !3235 Parametrized JenkinsNode and JenkinsResource
      * !2799 Changes to support multiple TDD patterns
      * !3208 Downgrade gNB power limit LOG from "warning" to "debug"
      0053a3d0
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/avoid-powerlimit-flood' into integration_2025_w05 (!3208) · 616c6775
      Robert Schmidt authored
      Downgrade gNB power limit LOG from "warning" to "debug"
      
      Downgrade the UE power limited LOG from LOG_W to LOG_D. This is to avoid
      flooding stdout when UE in low coverage enters power limited state for a
      longer period of time. The same information can be inferred from the
      periodic UE print which also contains PH value (negative PH values
      indicate that the UE is power limited)
      
      Also, correct some typos in PH calculation.
      
      Closes #885
      616c6775
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/Mult_TDD_Pattern' into integration_2025_w05 (!2799) · 1cb82bae
      Robert Schmidt authored
      Changes to support multiple TDD patterns
      
      - Updated the configuration changes for 2 Patterns
      - Update the TDD table configuration for NFAPI
      - Added the tdd bitmap for the period
      - Adapted the bitmap for UL/DL for the multi TDD pattern
      - Updated the RACH procedure for multi TDD pattern
      - Updated DL and UL scheduler for multi TDD pattern
      1cb82bae
  2. 31 Jan, 2025 20 commits
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/nu-ci-colosseum-jenkins-update' into... · 1e3e695f
      Robert Schmidt authored
      Merge remote-tracking branch 'origin/nu-ci-colosseum-jenkins-update' into integration_2025_w05 (!3235)
      
      Parametrized JenkinsNode and JenkinsResource
      
      Parametrized variables in Jenkinsfile for automated tests on Colosseum
      after update of OAI Jenkins server.
      1e3e695f
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/nr-ue-nas-improvements' into integration_2025_w05 (!2984) · e0865421
      Robert Schmidt authored
      NAS 5GS refactor
      
      The goal of this MR is to reorganize the NR NAS code into:
      
      - enc/dec library functions (5GS, 5GMM, 5GSM, NR_NAS_defs.h,
        nr_fgs_nas_lib.c)
      - handlers and callbacks (nr_nas_msg.c)
      
      The following changes are introduced:
      
      1. migrate 5GS enc/dec lib (5GMM and 5GSM) to a dedicated folder
      2. add a nested CMakeLists structure
      3. refactor NR NAS enc/dec functions
      4. refactor NR NAS messages struct definitions
      5. remove most of dependency from NAS LTE
      6. further refactor of PDU Session Establishment Accept processing to
         separate enc/dec from handling
      7. made naming of 5GS definitions consistent whenever necessary
      8. cleanup unused code
      9. remove redundant struct definitions
      
      Also:
      
      1. fix decoding of AMF Set ID in 5G-S-TMSI UE identity
      2. replace Byte_t directly with uint8_t
      e0865421
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/fhi72-f-release-fix-distributed-arr' into... · 70e70f6f
      Robert Schmidt authored
      Merge remote-tracking branch 'origin/fhi72-f-release-fix-distributed-arr' into integration_2025_w05 (!3230)
      
      FHI72: fix for a distributed antenna array for xran F release
      
      in the Rx callback I reset the number of section descriptions/number of
      fragments to 0, but for each antenna up to max number of antennas per
      RU, instead of up to max number of distributed antenna array
      70e70f6f
    • Guido Casati's avatar
      fcea7d9f
    • vijay chadachan's avatar
    • vijay chadachan's avatar
    • vijay chadachan's avatar
      Refactoring of is_xlsch_in_slot usage in MAC · 4fc74c17
      vijay chadachan authored
      * Remove the ulsch_slot_bitmap and dlsch_slot_bitmap from nrmac
      * Adopt the new is_dl_slot/is_ul_slot functions in the stack
        to replace is_xlsch_in_slot: these functions are getting
        the DL and UL slots as they are set in the TDD configuration
        stored in tdd_slot_bitmap (frame_structure_t)
      * Keep is_xlsch_in_slot in openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c:
        this is necessary because the phy-test pre-processors are using the bitmaps
        dlsch_slot_bitmap and ulsch_slot_bitmap to check which DL/UL slots to use
        for transmission among those set in the TDD configuration
      Co-authored-by: default avatarGuido Casati <guido.casati@firecell.io>
      4fc74c17
    • Guido Casati's avatar
      Refactor servingNetworkName · 529b142d
      Guido Casati authored
      529b142d
    • Bartosz Podrygajlo's avatar
      d44279a9
    • Leonardo Bonati's avatar
      474c004f
    • Guido Casati's avatar
      Refactor registration accept decoding · d6e2bf16
      Guido Casati authored
      previously we had decodeRegistrationAccept acting as a handler and calling
      decode_registration_accept to do the decoding. However the logic was mixed
      between the two functions, the naming was confusing and the code was hard
      understand. The goal of this commit is to simplify the code, improve
      readability and maintainability, while adapting the relevant function
      to the new OAI NAS libs structure.
      
      To this purpose:
      
      * move enc/dec logic to NAS lib openair3/NAS/NR_UE/5GS/5GMM/MSG/RegistrationAccept.c -
        the logic of parse_allowed_nssai, get_allowed_nssai has been moved to
        decode_registration_accept and decode_nssai_ie
      * add decode_nssai_ie and use it for both Allowed/Configured NSSAIs list (IE handling was added)
      * do processing in the handler handle_registration_accept
      * simplify the code by removing nested calls
      * improve handling of PDU length
      
      Currently only Registration Result, 5GS Mobile Identity, Allowed/Configured NSSAI
      are decoded. The other optional IEIs are skipped (only the length is processed).
      d6e2bf16
    • Bartosz Podrygajlo's avatar
      Downgrade gNB power limit LOG from "warning" to "debug" · 1e667b37
      Bartosz Podrygajlo authored
      Downgrade the UE power limited LOG from LOG_W to LOG_D. This is to avoid flooding
      stdout when UE in low coverage enters power limited state for a longer period of
      time. The same information can be inferred from the periodic UE print which also
      contains PH value (negative PH values indicate that the UE is power limited)
      1e667b37
    • Teodora's avatar
      F release: fix for a distributed antenna array · 04bfabcb
      Teodora authored
        - in the Rx callback I reset the number of section descriptions/number of fragments to 0,
          but for each antenna up to max number of antennas per RU, instead of up to max number of a distributed antenna array
      04bfabcb
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/RRCReestablishment_integrity' into... · 85edbc8e
      Robert Schmidt authored
      Merge remote-tracking branch 'origin/RRCReestablishment_integrity' into integration_2025_w05 (!3229)
      
      Verify the integrity protection of the RRCReestablishment message
      85edbc8e
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/NR_ULSCH_beam_allocation_bugfix' into... · 44fe1175
      Robert Schmidt authored
      Merge remote-tracking branch 'origin/NR_ULSCH_beam_allocation_bugfix' into integration_2025_w05 (!3231)
      
      Bugfix in frame and slot setting for ULSCH beam allocation
      44fe1175
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/process-slot-tx-in-order' into integration_2025_w05 (!3224) · 31c8ca9c
      Robert Schmidt authored
      Ensure execution of processSlotTX in order in NR UE
      
      Make sure that processSlotTX is executed in slot order.
      
      There is a bug that causes decoding error when processSlotTX is executed
      out of order. The root cause is not known at this point, but this change
      avoids the bug altogether.
      31c8ca9c
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/more-layer1-cleaning' into integration_2025_w05 (!3218) · 723acf7e
      Robert Schmidt authored
      More Layer1 cleaning
      
      Cleanup, see commits for info
      723acf7e
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/imscope-recorder' into integration_2025_w05 (!3185) · be6321c8
      Robert Schmidt authored
      Add IQ file recording and IQ file viewer to ImScope
      
      This changeset introduces the following changes to ImScope:
      
      - Added the ability to record IQ data using the same mechanism as
        ImScope.
      - Added a new executable target imscope_iq_file_viewer for viewing IQ
        files.
      - Introduced a command line argument --imscope-record that enables data
        recording mode.
      - Refactored a lot of the scope code
      
      Usage:
      
      - To record IQ data, run a modem with --imscope-record flag.  The
        recording happens whenever a modem calls dumpScopeData, which
        currently is done only in gNB on PUSCH DTX and PUSCH CRC NOK.  There
        is a limit of ~1GB of files written by the thread in a signle run to
        avoid accidentally exhausting disk space.  If a directory imscope-dump
        is available the data will be recorded there in .imscope files.
        Otherwise files are written to the directory the modem was run. This
        is done so that the directory can be mapped in a docker container.
      - To view recorded IQ files, use the new executable
        imscope_iq_file_viewer. This can be done by running:
      
        ./imscope_iq_file_viewer <path_to_iq_file>
      
        Replace <path_to_iq_file> with the path to the IQ file you want to view.
      be6321c8
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/docker-dev-env' into integration_2025_w05 (!3102) · b34708fa
      Robert Schmidt authored
      Dockerized development environment
      
      This commit introduces a fully dockerized dev env you can start on any
      machine that has docker without installing any direct OAI dependencies
      on host.
      
      This allows to migrate development environments between machines easily.
      Several complementary scripts were added to enable smooth transition
      between your docker environment and host environment. Your user and sudo
      should work inside the environment.
      
      In its current state, the environment can be used to compile
      nr-softmodem with 7.2 FHI but it cannot run it due to missing
      dependencies.
      b34708fa
    • Bartosz Podrygajlo's avatar
      Dockerized development environment · 8ca0a80d
      Bartosz Podrygajlo authored
      This commit introduces a fully dockerized dev env you can start on any
      machine that has docker without installing any direct OAI dependencies
      on host.
      
      This allows to migrate development environments between machines easily. Several
      complementary scripts were added to enable smooth transition between your docker
      environment and host environment. Your user and sudo should work inside the
      environment.
      8ca0a80d
  3. 30 Jan, 2025 17 commits