Commit Graph

32388 Commits

Author SHA1 Message Date
Robert Schmidt
4713fc622a fix warnings 2026-06-02 14:44:56 +02:00
Robert Schmidt
708b650163 config: add PDU session info to avoid stop in the beginning 2026-06-02 14:25:57 +02:00
Robert Schmidt
4d209e3d53 Make RFsim server 2026-06-02 12:12:04 +02:00
Robert Schmidt
22169aef6c Configure TDD structure 2026-06-02 12:11:50 +02:00
Robert Schmidt
960af67d57 sync-ref can be > 1
Signed-off-by: Robert Schmidt <robert.schmidt@openairinterface.org>
2026-06-02 11:28:29 +02:00
Robert Schmidt
2227710359 Make configurable 2026-06-02 10:46:22 +02:00
Robert Schmidt
cb33fccf8b executable 2026-06-02 10:46:19 +02:00
Robert Schmidt
0840e5e5df PHY IF 2026-06-02 09:40:18 +02:00
Robert Schmidt
9c36f516ec Simplify sidelink: remove vars 2026-06-02 09:40:18 +02:00
Robert Schmidt
357e595dfb TODO: need to set up resource pools. Make UEs segfault-free 2026-06-02 09:34:59 +02:00
Robert Schmidt
3a847d398f MAC
src_id not configurable anymore. Is important?

mcs/sync ref (marked with "TODO") are made configurable in later commit
2026-06-02 08:19:27 +02:00
Robert Schmidt
fb93e34c34 RRC 2026-06-01 16:43:27 +02:00
Robert Schmidt
e60e055db3 TODO ueinfo_t should be generalized 2026-06-01 16:41:43 +02:00
Robert Schmidt
604d6bfa53 TODO: openair1 required? 2026-06-01 16:41:37 +02:00
Robert Schmidt
d02832ec81 check_crc() correct? 2026-06-01 16:05:50 +02:00
Robert Schmidt
9d18d4dac4 TODO: gNB changes required? FAPI defines 2026-06-01 15:59:45 +02:00
Robert Schmidt
d773453b50 TODO: remove duplicate. SL RLC+PDCP 2026-06-01 15:36:16 +02:00
Robert Schmidt
bf061f8336 SL configs 2026-06-01 15:35:47 +02:00
Robert Schmidt
e0927b58ff warnings and undeclared functions 2026-05-19 13:58:33 +02:00
Robert Schmidt
fac4760bc8 procedures 2026-05-19 13:58:33 +02:00
Robert Schmidt
22f5b3b3ba sidelink procedures
rename to psbch_pscch_pssch_processing()
introduce slsch_status_t
2026-05-19 13:58:33 +02:00
Robert Schmidt
2fae82250e is this needed? 2026-05-19 13:58:33 +02:00
Robert Schmidt
ae3a2115cd SLSCH 2026-05-19 13:57:23 +02:00
Robert Schmidt
3926a060fa defs 2026-05-19 13:55:48 +02:00
Robert Schmidt
e73133f764 CSI 2026-05-19 13:55:48 +02:00
Robert Schmidt
aca3824fde PSCCH 2026-05-19 13:55:48 +02:00
Robert Schmidt
a44481ae85 PSFCH 2026-05-19 13:55:48 +02:00
Robert Schmidt
80fc10423b SCI 2026-05-19 13:55:47 +02:00
Robert Schmidt
88ff8e2a2f TODO: nr_pusch_dmrs_delta() not defined 2026-05-19 13:52:30 +02:00
Robert Schmidt
b0c6e23dd4 channel estimation sidelink 2026-05-19 13:52:21 +02:00
Robert Schmidt
1f3fe83c96 sl_measurements 2026-05-19 13:50:46 +02:00
Robert Schmidt
c55a4bb0c5 nr_get_G_SL 2026-05-19 13:50:46 +02:00
Robert Schmidt
046ec8d839 colors 2026-05-19 13:50:46 +02:00
Robert Schmidt
56a97fdc20 PDCCH/DCI
nr_pdcch_unscrambling() will be used in sidelink code later.
2026-05-19 13:50:44 +02:00
Robert Schmidt
d503df5dc4 delay table init 2026-05-19 12:02:08 +02:00
Robert Schmidt
5b277d1eec NR_UE_PUCCH0_LUT_t: pucch0_lut 2026-05-19 12:02:08 +02:00
Robert Schmidt
81b433fc1c PUSCH 2026-05-19 12:02:07 +02:00
Robert Schmidt
4fbdf73f08 sl_harq_processes init 2026-05-19 11:56:34 +02:00
Robert Schmidt
b39d9dd0ef gold 2026-05-19 11:56:34 +02:00
Robert Schmidt
45bccc3d73 Polar 2026-05-19 11:56:34 +02:00
Robert Schmidt
5e7f4e38d0 FAPI defines 2026-05-19 11:56:34 +02:00
Robert Schmidt
d5061cf12d Move common 2026-05-19 08:10:43 +02:00
Jaroslava Fiedlerova
38dc378224 Merge branch 'integration_2026_w16' into 'develop'
Integration `2026.w16`

* !4040 fix: issue 911 - replace timer oneshot to periodic.
* !4041 Compilation without T: move to physims
* !4046 fix(record_db doc): correct the path for T_messages.txt and mention use of ninja/make
* !3994 Update CN5G images to release v2.2.0 and update traffic generator image
* !4024 Fix fill_srs_channel_matrix
* !3983 Add SIB 3,4 support, configurable SIB2 and refactor CU/DU SIB management
* !4030 Miscellaneous code improvements
* !4039 Verify consistency of CSI report in L2 instead of RRC
* !3991 L1 RX: use queues instead of arrays and linear search for PUCCH, PUSCH, SRS, PRACH
* !4011 CI: remove cppcheck, cleanup in build and license checks
* !4051 Fix EMA cold-start for noise and SNR/RSSI measurements

Closes #1063

See merge request oai/openairinterface5g!4048
2026.w16
2026-04-17 09:40:42 +00:00
Jaroslava Fiedlerova
93df326273 Merge remote-tracking branch 'origin/fix-ema-init' into integration_2026_w16 (!4051)
Fix EMA cold-start for noise and SNR/RSSI measurements

Initialize n0_subband_power and power control avg_snr/avg_rssi directly
from the first measurement instead of starting from zero.

Starting from zero causes the EMA to converge slowly, leading to
underestimated noise power at gNB startup. This results in inflated SNR
estimates, which triggers UE uplink power ramp-up, antenna saturation,
and a positive feedback loop of increasing noise.
2026-04-16 23:09:51 +02:00
Jaroslava Fiedlerova
e5c54b5971 Merge remote-tracking branch 'origin/ci-cppcheck-build-cleanup' into integration_2026_w16 (!4011)
CI: remove cppcheck, cleanup in build and license checks

Remove cppcheck. For those who want to use it, it's now in tools/cppcheck/,
and likely easier to use locally.
Clean up some code for CI build and license check. Remove global variable.
2026-04-16 23:09:04 +02:00
Robert Schmidt
ff97f0dea6 LicenceAndFormattingCheck: remove global variable, pass directly
Signed-off-by: Robert Schmidt <robert.schmidt@openairinterface.org>
2026-04-16 15:15:56 +02:00
Robert Schmidt
1c512f3dc5 Remove cppcheck from CI, add to tools/
We don't enforce cppcheck through the CI, although it's there since
years. It runs on Ubuntu 18/20, so it's old. For folks, it's likely not
discoverable on how to run it locally. Let's make a fresh start.

This removes cppcheck from all CI-related code. Instead, it adds it
under tools/cppcheck/, including documentation on how to run it locally,
bare-matel or in docker.

Signed-off-by: Robert Schmidt <robert.schmidt@openairinterface.org>
2026-04-16 15:15:56 +02:00
Robert Schmidt
6f2d90fee9 Add nr_mac_pc_reset_snr() to harmonize SNR reset on first reception 2026-04-16 15:03:38 +02:00
rmagueta
aa5bd641fd Fix EMA cold-start for noise and SNR/RSSI measurements
Initialize n0_subband_power and power control avg_snr/avg_rssi directly from the first measurement instead of starting from zero
2026-04-16 14:50:13 +02:00
Robert Schmidt
463a3ad1cf Merge remote-tracking branch 'origin/l1-rx-use-queues' into integration_2026_w16 (!3991)
L1 RX: use queues instead of arrays and linear search for PUCCH, PUSCH, SRS, PRACH

This MR is an attempt to reduce the time L1 RX searches in array for the
next job to process, and instead use a queue. This queue is a FIFO,
because the various jobs (FAPI messages) to process come in order, and
need to be processed in order. The MR (hopefully, to be measured)
reduces the amount of time spent searching for the next UE (because the
next job is always at the beginning of the queue), and should scale
better for many UEs.

It does the following:

- introduce two helper libraries for (1) Frame.Slot calculation (sfn_t),
  already introduced in !3521 (merged) commit 3102068e, and (2) a ring
  buffer with fixed size
- use sfn_t and ring buffer (gNB->pucch_queue) to remove the linear
  array for PUCCH (gNB->pucch)
- use sfn_t and ring buffer (gNB->pusch_queue) for some PUSCH lookups.
  Because we need to still store PUSCH contexts, gNB->pusch is still
  there
- use sfn_t and ring buffer (gNB->srs_queue) to remove the linear array
  for SRS (gNB->srs)
- use sfn_t and ring buffers (gNB->prach_ru_queue and
  gNB->prach_l1rx_queue) to remove the linear array for PRACH
  (gNB->prach_list)
- some minor cleanups, e.g., additional loops over the PUSCH array,
  using const, using pointers instead of indices, etc
2026-04-16 13:50:53 +02:00