1. 31 Jan, 2025 3 commits
    • 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
  2. 28 Jan, 2025 8 commits
    • Bartosz Podrygajlo's avatar
      Use a global "void_instruction" in imscope record thread · 2ea6ac26
      Bartosz Podrygajlo authored
      This avoids the issue of compare_exchange_weak always failing. The issue
      was that `store()` is not equal to `exchange()`. `exchange` uses memory
      copy while `store()` copies the value representation of the argument, which
      is not always the same thing.
      2ea6ac26
    • Bartosz Podrygajlo's avatar
      30de011f
    • Bartosz Podrygajlo's avatar
      Refactor some scope macros · c520a4e2
      Bartosz Podrygajlo authored
      Use do {} while (0) for UEdumpScopeData/gNBdumpScopeData macro
      c520a4e2
    • Bartosz Podrygajlo's avatar
      More updates to imscope IQ recorder · 2198e311
      Bartosz Podrygajlo authored
       - Added event parameter for recording which is reflected in the filename
       - Added event in the UE for DLSCH NACK
       - Added program name to the filename for ease of identification
       - Reworked spinlock to use atomics
      2198e311
    • Bartosz Podrygajlo's avatar
      Fix pdschRxdataF_comp scope for UE. · c01adc5e
      Bartosz Podrygajlo authored
      Correctly calculate the amount of data to be copied. Copy at correct offset.
      Imporve error message in case data is insufficient.
      c01adc5e
    • Bartosz Podrygajlo's avatar
      Add IQ file recording and IQ file viewer to ImScope · ab75a7cc
      Bartosz Podrygajlo authored
      This commit 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.
      ab75a7cc
    • Bartosz Podrygajlo's avatar
    • Robert Schmidt's avatar
      Merge branch 'integration_2025_w04' into 'develop' · 64a472ae
      Robert Schmidt authored
      Integration: `2025.w04`
      
      Closes #876, #896, #875, #893, and #878
      
      See merge request oai/openairinterface5g!3226
      
      * !3198 remove a set of compile options that don't work anyway
      * !3171 Refactor SCTP Association Response Handling and E1 connection loss at CU-UP
      * !3023 usrp constant and slow derive timestamp
      * !3215 Remove unused code
      * !3192 fix nr phy-test mode in ntn
      * !3214 fix(nrLDPC_coding_t2): Miscellaneous fixes related to T2
      * !3020 use ML receiver for 64 QAM UL-MIMO
      * Demote error logs to debug for "PUCCH not processed"
      * !3217 minor improvements in T hacks
      * !3199 Add a small FAPI Hex parser utility
      * !3209 Remove most of m64 type usage
      * !3211 Avoid huge calloc by alloc'ing TBs independently
      * !3212 F1AP IDs: Allow AddMod, fix concurrency bug
      * !3152 E1 Setup enc/dec library and unit test
      * !2999 Repair nFAPI in 5G
      * !3210 FHI72: FDD support
      * !3220 Improve RA logs
      64a472ae
  3. 27 Jan, 2025 29 commits