Robert Schmidt
a981291ba8
Merge branch 'integration_2022_wk09_b' into 'develop'
...
Integration 2022 wk09 b
See merge request oai/openairinterface5g!1483
2022-03-06 18:14:42 +00:00
Robert Schmidt
07e6ea7edd
Merge remote-tracking branch 'origin/fix-nrofHARQ' into integration_2022_wk09_b
2022-03-05 13:35:06 +01:00
Robert Schmidt
cadbf67f67
Merge remote-tracking branch 'origin/tx-thread-stats-fix' into integration_2022_wk09_b
2022-03-05 13:34:15 +01:00
Robert Schmidt
0220f4a6e9
Merge remote-tracking branch 'origin/NR_RRC_256QAM_DL' into integration_2022_wk09_b
2022-03-05 13:33:18 +01:00
Robert Schmidt
9ea4b3cdb0
Merge remote-tracking branch 'origin/ci_fix_log_rotation' into integration_2022_wk09_b
2022-03-04 17:55:15 +01:00
Robert Schmidt
a45bbd4022
Merge branch 'integration_2022_wk09' into 'develop'
...
Integration 2022 wk09
See merge request oai/openairinterface5g!1477
2022-03-04 12:57:53 +00:00
Robert Schmidt
807e5dd71c
Merge remote-tracking branch 'origin/NR_SA_pdu_session_modify_release' into integration_2022_wk09
2022-03-03 18:05:27 +01:00
Robert Schmidt
29fa474673
Correctly reconfigure nrofHARQ processes
2022-03-03 16:38:16 +01:00
Robert Schmidt
48f26086d3
Merge remote-tracking branch 'origin/x2-release-req-no-sctp' into integration_2022_wk09
2022-03-01 18:52:52 +01:00
Robert Schmidt
7857522d95
Merge remote-tracking branch 'origin/ci_improve_reporting_xnb' into integration_2022_wk09
2022-03-01 18:52:42 +01:00
Robert Schmidt
d6dc279439
Merge remote-tracking branch 'origin/NR_UE_CSIRS_scheduling' into integration_2022_wk09
2022-03-01 18:52:33 +01:00
Robert Schmidt
6146f44b80
CI: log to see why RT stats checking fails
2022-03-01 18:50:53 +01:00
Robert Schmidt
98a684d157
Tpool: no measurements (no trials) if not measured
2022-03-01 08:57:32 +01:00
Robert Schmidt
261c80d659
Tpool: don't override positive performanceFlag
2022-03-01 08:49:38 +01:00
Robert Schmidt
17a956067a
Fix HTML
2022-03-01 08:33:28 +01:00
Robert Schmidt
37e09d1ca8
Merge remote-tracking branch 'origin/NR_SA_10MHz' into integration_2022_wk09
2022-02-28 23:43:10 +01:00
Robert Schmidt
bf70a3bfb4
Merge branch 'integration_2022_wk08_b' into 'develop'
...
integration_2022_wk08_b
See merge request oai/openairinterface5g!1469
2022-02-28 20:39:22 +00:00
Robert Schmidt
f2ffe3f9b0
Fix CI code
2022-02-28 16:58:11 +01:00
Robert Schmidt
63dea20c64
Address review comments
2022-02-28 14:35:18 +01:00
Robert Schmidt
d90f9d8d6f
CI: show correct Tx Processing in HTML, add processing count number
2022-02-28 14:13:01 +01:00
Robert Schmidt
2adf56b08a
Lower logging in handle_nr_ulsch()
2022-02-26 16:10:03 +01:00
Robert Schmidt
6d165912f5
Merge remote-tracking branch 'origin/episys-ul-info-cleanup' into integration_2022_wk08_b
2022-02-26 16:10:03 +01:00
Robert Schmidt
2736d0fe16
Merge remote-tracking branch 'origin/repair-f1-5g' into integration_2022_wk08_b
2022-02-25 23:54:04 +01:00
Robert Schmidt
48df6e0ebb
Merge remote-tracking branch 'origin/ci_run_sanitize_and_debug' into integration_2022_wk08_b
2022-02-25 23:53:40 +01:00
Robert Schmidt
17675e5989
Merge remote-tracking branch 'origin/fix-Nid_cell-different_from_0' into integration_2022_wk08_b
2022-02-25 23:37:38 +01:00
Robert Schmidt
af0048c86c
Merge remote-tracking branch 'origin/bugfix-nr-rlc-2022-w08' into integration_2022_wk08_b
2022-02-25 23:37:29 +01:00
Robert Schmidt
823aaa70dd
Fix warning in lte UE scope and ocp-enb
2022-02-25 18:06:04 +01:00
Robert Schmidt
26d0d65747
get execution time_stats_t from Tpool job
2022-02-25 17:55:27 +01:00
Robert Schmidt
211b6feadf
Use (portable) rdtsc_oai() in tpool
2022-02-25 17:55:27 +01:00
Robert Schmidt
c6ac88ffa6
Remove deprecated ocp-gnb
2022-02-25 17:55:27 +01:00
Robert Schmidt
cf815ffbce
Fix compilation error in ocp-enb
2022-02-25 17:55:27 +01:00
Robert Schmidt
7d70d45d13
Remove dead code
2022-02-25 17:27:02 +01:00
Robert Schmidt
8419166fc4
Move time_meas.{c,h} to common/utils/
2022-02-25 17:27:02 +01:00
Robert Schmidt
9ead3d7ad2
Clean up CMakeLists.txt (no functional changes)
2022-02-25 17:27:02 +01:00
Robert Schmidt
76d609f7fa
Delete unused code
2022-02-25 17:27:02 +01:00
Robert Schmidt
d20ff45fc6
Remove logging module dependency from Tpool
2022-02-25 17:22:02 +01:00
Robert Schmidt
b742717fb8
Remove timing functions from logging module
2022-02-25 17:22:01 +01:00
Robert Schmidt
a0ac75a45b
Delete unused files
2022-02-25 17:21:17 +01:00
Robert Schmidt
8a43a0306f
fix nr_ulsim
2022-02-25 17:21:17 +01:00
Robert Schmidt
b9b2eb007a
Fix for nr_dlsim
2022-02-25 17:21:17 +01:00
Robert Schmidt
8b526c3cb7
Address review comment
2022-02-24 20:52:43 +01:00
Robert Schmidt
f19ea82f8e
Drop an sgNB release request if no SCTP endpoint available
2022-02-24 12:54:04 +01:00
Robert Schmidt
61e608adb5
Support reconfiguration of number of HARQ processes
...
In F1, the time until the serving cell config comes from CU can be
longer than when we want to schedule a particular UE. Then, if we don't
configure the default number of HARQ processes, we can have a segfault.
In this commit, we initially configure 8 HARQ processes. When we get the
right number from RRC, we reconfigure.
2022-02-23 21:54:03 +01:00
Robert Schmidt
048b539050
Correctly initialize PDCP in F1 mode
2022-02-23 21:21:54 +01:00
Robert Schmidt
ae803b5370
Prevent heap buffer overflow in nr_dlsch_channel_compensation()
...
The TX correlation calculation incremented the pointer over the outer
TX antenna inside the inner TX antenna loop. Incrementing the pointer
in the outer loop instead prevents overflowing.
2022-02-23 16:58:25 +01:00
Robert Schmidt
34edc9c04c
Increase CI physim time limit
2022-02-23 12:33:23 +01:00
Robert Schmidt
6fbfa3b066
Merge branch 'integration_2022_wk08' into 'develop'
...
Integration 2022 wk08
See merge request oai/openairinterface5g!1459
2022-02-23 07:19:58 +00:00
Robert Schmidt
70ba0cda0e
Free rx_ind if dl_indication not called
2022-02-22 19:42:50 +01:00
Robert Schmidt
7b73a9e14e
Build phy sims with optimizations
...
As of this commit, the CI would take too much time to process dl_sim.
This commit activate optimizations to be within the CI time limits.
2022-02-22 19:33:49 +01:00
Robert Schmidt
04e2d4f6f8
Fix polar encoder memory leaks
2022-02-21 22:38:22 +01:00
Robert Schmidt
ec00d84299
Prevent memory leak of rx_ind message
2022-02-21 22:35:22 +01:00
Robert Schmidt
9656d646db
reallocarray -> realloc since CI env has no reallocarray
2022-02-21 20:08:42 +01:00
Robert Schmidt
27aa036f0e
Merge remote-tracking branch 'origin/iqreplay_bugfix' into integration_2022_wk08
2022-02-21 20:07:21 +01:00
Robert Schmidt
a5fd5c3e6b
Merge remote-tracking branch 'origin/multiple-ues-min-prbs-bug-fix' into integration_2022_wk08
2022-02-21 20:06:55 +01:00
Robert Schmidt
d5280c679f
Merge remote-tracking branch 'origin/ci-improve-rfsim-test' into integration_2022_wk08
2022-02-21 20:05:03 +01:00
Robert Schmidt
719f82870d
Don't redirect stack trace to file
2022-02-21 19:47:14 +01:00
Robert Schmidt
b112282e2b
Suppress warning, print stacktrace to stdout
2022-02-21 19:42:45 +01:00
Robert Schmidt
0ad3faaf2a
Disable ASAN on ulsim
2022-02-21 13:37:32 +01:00
Robert Schmidt
32824030f4
Fix cmake command target CMakeLists.txt
2022-02-21 13:37:32 +01:00
Robert Schmidt
f51590b546
Don't leak check in {nr_,}{d,u}lsim, fix buffer overflows in dlsim
2022-02-21 13:37:32 +01:00
Robert Schmidt
52fdca3141
Do not create CMakeLists.txt; new build_oai option -d
2022-02-21 13:37:30 +01:00
Robert Schmidt
cdea2899bc
Remove memory leaks from ldpctest
...
except for:
- config module
2022-02-21 13:36:41 +01:00
Robert Schmidt
fe61216a66
Correctly free memory in nr_pbchsim
...
Except for:
- polar code
2022-02-21 13:36:41 +01:00
Robert Schmidt
3f4fa05c74
nr_pucchsim: correctly free SR PDU
2022-02-21 13:36:41 +01:00
Robert Schmidt
d601209036
Fix nr_ulschsim: correct size for N_RB_UL
2022-02-21 13:36:41 +01:00
Robert Schmidt
2251453cbd
Fix nr_dlschsim: correct size for N_RB_DL
...
Fix warning, drop undefined function
2022-02-21 13:36:41 +01:00
Robert Schmidt
65c6456472
Resolve buffer overflows polartest
2022-02-21 13:36:41 +01:00
Robert Schmidt
51625f3c8f
Resolve memory issues in nr_prachsim
...
Except for config module and dlopen()
2022-02-21 13:36:41 +01:00
Robert Schmidt
dcae857463
Fix memory problems in nr_pucchsim
...
except:
- from dlopen()
- from configuration module
- uninitialized value
2022-02-21 13:36:41 +01:00
Robert Schmidt
81537701b2
Fix: channel chF large enough for 5G
2022-02-21 13:36:39 +01:00
Robert Schmidt
b4dbf46dde
Provide term_freq_channel() to free memory in abstraction.c
2022-02-21 13:35:36 +01:00
Robert Schmidt
32c7795aad
Fixes for 0bdb1b9f402c5315a591b1fbc4310dbc62fc820d
2022-02-21 13:35:36 +01:00
Robert Schmidt
0827b2f5b8
Fix leaks & unitialized memory in nr_ulschsim
2022-02-21 13:35:35 +01:00
Robert Schmidt
399e6d78f7
new_nr_ue_ulsch(): no abstraction_flag, add term_nr_ue_transport()
2022-02-21 13:35:35 +01:00
Robert Schmidt
20a8704c98
unitialized jump dlschsim
2022-02-21 13:35:35 +01:00
Robert Schmidt
e66e9eef7d
UL Ref Sig Seq: initialize only once, free and reset to NULL
2022-02-21 13:35:35 +01:00
Robert Schmidt
7638e65379
Free memory in nr_dlschsim
2022-02-21 13:35:35 +01:00
Robert Schmidt
338019601c
new_nr_ue_dlsch(): remove abstraction_flag
2022-02-21 13:35:35 +01:00
Robert Schmidt
20e13db86b
Implement logTerm() to close logging subsystem
2022-02-21 13:35:35 +01:00
Robert Schmidt
d2523bfa44
Remove unused SI and RA DLSCH from nr_dlschsim
2022-02-21 13:35:35 +01:00
Robert Schmidt
efd62d14a7
Implement term_nr_ue_signal(), remove abstraction_flag from init_nr_ue_signal()
...
term_nr_ue_signal() frees all memory, except for dfts lib load
2022-02-21 13:35:34 +01:00
Robert Schmidt
5794c07c94
Correctly implement phy_free_nr_gNB()
...
Frees all allocated memory, except for library loading related, and ul
reference signal sequences, which are allocated in static variables
2022-02-21 13:34:40 +01:00
Robert Schmidt
331575ebab
Fix memory leaks in nr_ulschsim
2022-02-21 13:34:40 +01:00
Robert Schmidt
136cc93aa9
Fix memory leaks in nr_dlschsim
2022-02-21 13:34:40 +01:00
Robert Schmidt
ac0af5a84e
Fix shlib loaded: free memory, handle lib reload
...
- introduce loader_reset() that frees all memory
- resolve memory leak in loader_format_shlibpath()
- correctly handle library reload: check if a function has been
retrieved already. Don't leak memory (strdup()), and handle multiple
reloads of different functions from the same SO
2022-02-21 13:34:40 +01:00
Robert Schmidt
923edebd3c
Enable Address Sanitizer on physical simulators
...
- install libasan in physim containers
- run physim containers with SYS_CAP_PTRACE capability
- remove static-libasan: not available in RHEL8:
The physims are tested in a container environment on top of RHEL8. To
my knowledge, no package provides the static ASan library there.
Therefore, remove it here to be able to run these tests.
2022-02-21 13:34:39 +01:00
Robert Schmidt
86c4882245
Merge remote-tracking branch 'origin/NR_2port_CSIRS' into integration_2022_wk08
2022-02-20 19:48:34 +01:00
Robert Schmidt
72a4ed80da
Merge remote-tracking branch 'origin/msc-removal' into integration_2022_wk08
2022-02-19 19:43:11 +01:00
Robert Schmidt
21f862641c
Merge remote-tracking branch 'origin/cleanup-20220125' into integration_2022_wk08
2022-02-19 19:34:01 +01:00
Robert Schmidt
454aae1d96
Merge branch 'integration_2022_wk07_c' into 'develop'
...
integration_2022_wk07_c
See merge request oai/openairinterface5g!1451
This merges the following MRs:
- MR !1436 fairRR LTE scheduler fixes: should make the connection more stable, less UL retransmissions
- MR !1386 phy sync improvements: the 5G NR UE should sync better
- MR !1361 FDD support (no traffic): adds FDD support for the scheduler, but heavy traffic has not been tested
- MR !1447 using uid for PUCCH RRC conf: use the RRC UID to decide on PUCCH resources, should in particular avoid the "PUCCH straddles DC carrier" assert
- fix for 5G F1 RFsim test fail
2022-02-19 16:28:53 +00:00
Robert Schmidt
6569fd7614
Do not prematurely overwrite scheduler information
...
Overwriting sched_pusch information at that stage would in particular
lose information on the current frame/slot. Overwriting sched_pusch with
the retInfo structure is already done at the end of
allocate_ul_retransmission(), and is therefore not necessary at this
stage.
2022-02-18 12:52:59 +01:00
Robert Schmidt
9b302d0432
Fix DU default config, increase 5G F1 RFsim throughput requirements
2022-02-18 12:20:06 +01:00
Robert Schmidt
63989e8a69
Fix for F1 RFsim fail
...
We compute the preferred DL TDAs when receiving the cellGroup from the
RRC. However, in F1 and the RFsim, it seems that the scheduler tries to
access the preferred DL TDAs before they have been set after receiving
the cellGroup. In this commit, add a simple check to verify the
preferred TDA has been set up.
2022-02-18 12:16:08 +01:00
Robert Schmidt
e890cee31c
Reduce max_num_ue after successful PUCCH alloc
2022-02-17 13:58:27 +01:00
Robert Schmidt
fd40aa2666
Make nr_find_nb_rb() take minimum RBsize
...
Fixes a bug when scheduling multiple UEs
2022-02-17 13:58:24 +01:00
Robert Schmidt
ff0fb53056
Merge remote-tracking branch 'origin/nr-fdd-scheduling' into integration_2022_wk07_c
2022-02-17 09:32:44 +01:00
Robert Schmidt
b97d26cb86
Merge remote-tracking branch 'origin/NR_SA_UID' into integration_2022_wk07_c
2022-02-17 09:02:16 +01:00
Robert Schmidt
9a7154f3d4
Merge remote-tracking branch 'origin/fairRR-sched-debug' into integration_2022_wk07_c
2022-02-16 10:34:36 +01:00
Robert Schmidt
cfa3b0caf0
Merge remote-tracking branch 'origin/ue-phy-sync-improvements' into integration_2022_wk07_c
2022-02-16 10:08:59 +01:00
Robert Schmidt
af6836d9f1
Merge branch 'integration_2022_wk07_b' into 'develop'
...
integration_2022_wk07_b
See merge request oai/openairinterface5g!1448
2022-02-15 21:18:48 +00:00