1. 23 Jan, 2025 3 commits
    • Cedric Roux's avatar
      T hacks: time_meas: add a periodic tracing mode · 28a08786
      Cedric Roux authored
      Useful to debug realtime issues, for example when calling a periodical
      routine, if it's not programmed carefully enough, it may be that the first
      call takes way longer than the next ones (for example it uses some memory
      that is not mapped in the process, leading to many page faults the first
      time it's executed).
      
      Having a periodic log for the timing of this routine with min/avg/max/count
      will reveal that a call is way longer than average and will help in
      finding where exactly in the code the time is spent, thanks to the ease
      of use of the T tracer; you put T(T_XX, T_INT(1)) just before the code
      you want to measure, you put T(T_XX, T_INT(0)) just after and time_meas
      will show the delta time between those events. Then you cut the routine
      in smaller pieces, measure with T(1)/T(0), and you finally reach the small
      guilty part that takes too long.
      28a08786
    • Cedric Roux's avatar
      T hacks: minor bugfix: don't log more than once · 44637de3
      Cedric Roux authored
      In time_meas.c, when getting 0 for the event, we log delta time with
      previous 1 for the event. "start_valid" was not cleared, so receiving
      a second 0 without 1 in between may lead to wrong logging.
      
      Should not happen in practice, but still, little bug.
      
      (Note: we don't protect against streams of 1, but this case should also
      not happen.)
      44637de3
    • Cedric Roux's avatar
      e6ce301e
  2. 22 Jan, 2025 2 commits
  3. 21 Jan, 2025 1 commit
  4. 20 Jan, 2025 2 commits
  5. 17 Jan, 2025 4 commits
  6. 16 Jan, 2025 1 commit
    • Robert Schmidt's avatar
      Merge branch 'integration_2025_w03' into 'develop' · 10e07bc6
      Robert Schmidt authored
      Integration: `2025.w03`
      
      See merge request oai/openairinterface5g!3206
      
      * !3167 remove calls to clear SIMD registers, that was a historical issue
      * !3179 UE statistics improvements
      * !3193 Remove spinlock from threadpool task return
      * !3195 UE MAC: in phy-test/do-ra, fill TB randomly
      * !3201 T tracer: minor fixes for compilation
      * !3204 CI: Increase number of test trials for timing tests
      * !3034 Delay compensation for PUCCH2
      * !3205 Fix calculation of RSSI in pucch_rx.c
      10e07bc6
  7. 15 Jan, 2025 12 commits
  8. 14 Jan, 2025 13 commits
  9. 13 Jan, 2025 2 commits
    • Robert Schmidt's avatar
      Merge branch 'integration_2025_w02' into 'develop' · f7d3b728
      Robert Schmidt authored
      Integration: `2025.w02`
      
      Closes #866 and #887
      
      See merge request oai/openairinterface5g!3197
      
      * !3135 replace a set of #define by a C bit array, remove duplicated extern global variable declaration
      * !3173 nrLDPC_coding: improvements
      * !3181 Use UL actor for processSlotTx
      * !3186 chore(ci): improved errors messages visibility
      * !3101 NR gNB improvements for analog beam management
      * !3130 NR gNB MSG3 TPC
      * !3175 Improvements for PUSCH per symbol processing
      * !3177 CI: change frequency for timing and B200-SABOX pipelines
      * !3188 NR UE fix DCI mask size
      * !3119 Config files improvements for PRACH
      * !3196 Fix yaml example config file
      * !3187 nrLDPC_coding: Fix naming, comments, superfluous variables and documentation typos in coding library interfaces
      * !3076 move UL_INFO structure allocation local to a rx slot processing
      * !3189 fhi_72: allow to provide dpdk_iova_mode to xran
      * !3182 RSSI threshold for PUSCH & PUCCH power control
      * !3103 Introduce ITTI queue in RRC-to-MAC direction
      f7d3b728
    • Robert Schmidt's avatar
      Merge remote-tracking branch 'origin/rssi-thres' into integration_2025_w02 (!3182) · 959bb59f
      Robert Schmidt authored
      RSSI threshold for PUSCH & PUCCH power control
      
      To prevent ADC railing or "clipping" when the received power is too
      large, introduce RSSI threshold parameters for PUSCH and PUCCH, which
      are now configured in units of 0.1 dB. Here is how you can configure and
      use these thresholds:
      
      1. Configuration:
         - Set the pusch_RSSI_Threshold and pucch_RSSI_Threshold parameters in
           your configuration file (e.g., gnb.conf) (MACRLC section).
         - These parameters define the maximum acceptable RSSI values for
           PUSCH and PUCCH, respectively. The unit is either dBm or dBFS,
           depending on the RSSI reporting configuration.
      
      2. Usage:
         - The nr_limit_tpc function will automatically adjust the Transmit
           Power Control (TPC) commands based on the configured RSSI
           thresholds.
         - If the RSSI exceeds the threshold, the TPC command will be limited
           to prevent further increase in power, thereby avoiding ADC
           clipping.
      959bb59f