- 18 Nov, 2024 2 commits
-
-
Jaroslava Fiedlerova authored
Prevent segfaults in gNB stack Three fixes for segfaults, discovered while running with many UEs. See commit messages for more details.
-
Jaroslava Fiedlerova authored
Merge remote-tracking branch 'origin/NR_UE_trigger_reestablishment' into integration_2024_w46 (!2777) NR UE trigger for re-establishment The implementation in this MR triggers RRC re-establishment at the UE in case of radio link failure either for out of sync messages from lower layers or in case maximum number of RLC retransmissions is reached.
-
- 17 Nov, 2024 16 commits
-
-
Guido Casati authored
-
Guido Casati authored
/opt/oai-gnb/bin/nr-softmodem -O /opt/oai-gnb/etc/gnb.conf --sa --log_config.global_log_options level,nocolor,time --rfsimulator.options chanmod --telnetsrv --telnetsrv.listenaddr 192.168.71.150 --telnetsrv.shrmod ci ================================================================= ==7==ERROR: AddressSanitizer: odr-violation (0x7fce78b85be0): [1] size=4 'log_mem_write_side' /oai-ran/common/utils/LOG/log.c:78:14 [2] size=4 'log_mem_write_side' /oai-ran/common/utils/LOG/log.c:78:14 These globals were registered at these points: [1]: \#0 0x7fce7b691658 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341 \#1 0x7fce7bd0c47d in call_init elf/dl-init.c:70 [2]: \#0 0x7fce7b691658 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341 \#1 0x7fce7a5e2eba in call_init ../csu/libc-start.c:145 \#2 0x7fce7a5e2eba in __libc_start_main_impl ../csu/libc-start.c:379 ==7==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0 SUMMARY: AddressSanitizer: odr-violation: global 'log_mem_write_side' at /oai-ran/common/utils/LOG/log.c:78:14 ==7==ABORTING [INFO tini (1)] Spawned child process '/opt/oai-gnb/bin/entrypoint.sh' with pid '7' [INFO tini (1)] Main child exited normally (with status '1')
-
francescomani authored
-
francescomani authored
-
francescomani authored
-
francescomani authored
-
Guido Casati authored
-
Guido Casati authored
-
Guido Casati authored
-
Guido Casati authored
-
Guido Casati authored
-
Robert Schmidt authored
-
Guido Casati authored
* trigger re-establshemnt on DU: reset RLC counters on DRB 1 for OAI UE, since SRB 1 does not work for lack of periodic measurements reports * how is the re-establishment triggered? * a transmission on DRB 1 occurs * detection of a mismatch of RLC counters at the UE side * max number of RLC retransmissions reached * RLF detection * verify re-establishment on CU: we ping the core from the UE; this sends packets on DRB, and because the sequence number mismatches, will trigger a reestablishment. We accept in the ping that a couple of packets might be lost; after ping is over, reestablishment must be done as well (else the ping will already fail).
-
Robert Schmidt authored
-
Robert Schmidt authored
-
francescomani authored
-
- 15 Nov, 2024 10 commits
-
-
Jaroslava Fiedlerova authored
Clip the input for -32768 because this will make different result in... Clip the input for -32768 because this will make different result in mult_complex_vectors() compared to C version
-
Jaroslava Fiedlerova authored
T tracer: support float types in traces
-
Jaroslava Fiedlerova authored
Trigger deregistration only in SA mode Upon press of ^C, the UE triggers a NAS deregistration. This does not work in do-ra or phy-test modes, because there is no NAS. Therefore, in non-SA modes, just stop the UE directly. This can potentially improve the 5G RFsim CI test case, because together with a high RFsim timeout, the chances of the last HARQ status line being without retransmissions is much higher. If that does not help, we can further increase the retx threshold.
-
Jaroslava Fiedlerova authored
fix BSR report malformed, add SHORT BSR when it can (instead of LONG BSR)... fix BSR report malformed, add SHORT BSR when it can (instead of LONG BSR) simplify the code and make the code more explicit, but the may structure remain (nr_write_ce_ulsch_pdu interface is complex, merging it into the called would make simpler and more interstandable code), fix some asserts related to this part of code
-
Robert Schmidt authored
Similar to the previous commit, prevent the same segfault in RRC.
-
Cedric Roux authored
-
Robert Schmidt authored
In some runs of a multi-UE deployment, we see segfaults because cell_group->spCellConfig is NULL. We should not segfault in that case, so check for spCellConfig.
-
Robert Schmidt authored
When the UE list is full, the iterator will run through all MAX_MOBILES_PER_GNB UEs. It expects that eventually the pointer is NULL, which is not the case if we have MAX_MOBILES_PER_GNB (or it simply depends on the following memory). So give one array entry more, to ensure that the last one is NULL.
-
Laurent THOMAS authored
Clip the input for -32768 because this will make different result in mult_complex_vectors() compared to C version
-
Jaroslava Fiedlerova authored
UE: Set default SSB config After initial sync the UE sets the ssb index bitmap in nrUE_config with index obtained in initial sync. This allows UE to continue decoding PBCH and stay synched with the gNB till SIB1 is received.
-
- 14 Nov, 2024 1 commit
-
-
Robert Schmidt authored
Upon press of ^C, the UE triggers a NAS deregistration. This does not work in do-ra or phy-test modes, because there is no NAS. Therefore, in non-SA modes, just stop the UE directly.
-
- 13 Nov, 2024 10 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
If the RLC cannot retransmit a package, 3GPP specs say that we should declare radio link failure (RLF). Up to this commit, the code did nothing though. In this commit, add a per-UE RLF callback; the RLC will call into this function to signal that RLF has been detected through maximum retransmissions on a particular RLC bearer.
-
francescomani authored
-
francescomani authored
-
Laurent THOMAS authored
select LCG that contains the highest priorit LC with data to transmit instead of the LC with maximum waiting data size
-
Laurent THOMAS authored
fix BSR report malformed, add SHORT BSR when it can (instead of LONG BSR) simplify the code and make the code more explicit, but the may structure remain (nr_write_ce_ulsch_pdu interface is complex, merging it into the called would make simpler and more interstandable code), fix some asserts related to this part of code
-
Robert Schmidt authored
Integration: `2024.w45` See merge request oai/openairinterface5g!3097 * !3048 Cleanup and refactoring at gNB initialization * !3077 Address most thread safety issues in NR UE * !3089 Improve cross-compile documentation * !3092 Remove Interop-F1/Accelleran-CU testing pipeline * !3096 Remove x86-specific instructions from telnet server * !2949 Better polar decode * !3070 CI: Add test with 4 DL layers, 60 MHz BW to SA-2x2 pipeline * !3098 nr rlc: hotfix: test allocation valid before use * !3090 Add UL PRBs Blacklist section to NR_SA_Tutorial_COTS_UE.md * !3082 fix blocking bugs in command nr_dlsim -n100 -e27 -s35 -b 273 -R273 -x4 -y4 -z4 * !3100 CI: Remove 5g_l2sim files * !3024 Set SA mode as default * !3087 Remove some usage of the old CI sshConnection class * !3074 CI: cleanup of cls_physim.py
-
Robert Schmidt authored
CI: Cleanup of cls_physim.py - Remove unused code and file - Rework functions for CUDA and T2 log analysis - Check if test was successful for nr_ulsim and nr_dlsim in RAN-gNB-N300-Timing-Phytest-LDPC pipeline
-
Robert Schmidt authored
Remove some usage of the old CI sshConnection class
-
Jaroslava Fiedlerova authored
Set SA mode as default - Set standalone (SA) mode as the default. - Adjust commands in Docker Compose files by removing --sa flags and adding --nsa flags where applicable. - Add a function to verify that only one mode is being used at a time. - Update all relevant documentation.
-
- 12 Nov, 2024 1 commit
-
-
Jaroslava Fiedlerova authored
Increase number of cores used for T2 nr_ulsim/nr_dlsim processing to ensure a fair comparison of total gNB PHY RX/TX processing time.
-