Robert Schmidt
030e0c40aa
Add .clang-format file
2022-08-26 20:14:40 +02:00
Robert Schmidt
e28fccc7fb
Hardcode (implicit) physim OC server to use
2022-08-23 10:36:16 +02:00
Robert Schmidt
ad8381a66b
Merge branch 'integration_2022_wk33' into 'develop'
...
integration_2022_wk33
See merge request oai/openairinterface5g!1667
MR !1604 RRC harmonization of multiple BWPs configuration
MR !1657 NR fixes for 100MHz and 2 layers
MR !1646 Add 4G L2simulator test
MR !1662 fix a bug: multi ues in rfsimulator 4G
MR !1559 NR UE multi SSB meas
changes to disable legacy 4G F1 test
MR !1661 fix bugs in config module and config usage
MR !1562 Correctly handle SIGINT/stop signal in nr-softmodem
MR !1659 Fix segFault in SRS for odd number of PRBs
2022-08-21 06:10:51 +00:00
Robert Schmidt
2ea9618a8d
Limit function name string length for logging output
2022-08-19 18:22:23 +02:00
Robert Schmidt
8aaede906d
Do not hard-code default global log level
2022-08-19 18:22:23 +02:00
Robert Schmidt
909b511ed0
Merge remote-tracking branch 'origin/develop-SRS-segFault-51PRBs' into integration_2022_wk33
2022-08-19 18:22:23 +02:00
Robert Schmidt
4674cddb71
Merge remote-tracking branch 'origin/fix-nrsoftmodem-stop' into integration_2022_wk33
2022-08-19 18:22:23 +02:00
Robert Schmidt
5ebe28565e
Merge remote-tracking branch 'origin/fix-config-module' into integration_2022_wk33
2022-08-19 18:22:22 +02:00
Robert Schmidt
84f7634874
Disable legacy 4G F1 test and XML scenario files
2022-08-19 18:22:22 +02:00
Robert Schmidt
f3cdc11269
Merge remote-tracking branch 'origin/NR_UE_multi_SSB_meas' into integration_2022_wk33
2022-08-18 20:53:04 +02:00
Robert Schmidt
db31ddc341
Merge remote-tracking branch 'origin/bug-rfsim-4G-multi-UEs' into integration_2022_wk33
2022-08-18 20:52:21 +02:00
Robert Schmidt
71d0e95f1f
Merge remote-tracking branch 'origin/ci-test-4g-l2sim' into integration_2022_wk33
2022-08-18 20:52:04 +02:00
Robert Schmidt
70627a9953
Merge remote-tracking branch 'origin/NR_100MHz_2layers_fixes' into integration_2022_wk33
2022-08-18 20:51:23 +02:00
Robert Schmidt
e0a802df16
Remove irrelevant RU/L1/RFsim config from L2sim gNB config
2022-08-18 20:39:31 +02:00
Robert Schmidt
6c31639522
Only call NR_PHY_config_req when no (n)FAPI
2022-08-18 20:37:06 +02:00
Robert Schmidt
b712e77527
Don't block nr-softmodem in nFAPI mode, not needed
2022-08-18 20:18:18 +02:00
Robert Schmidt
238c8a62b4
Delete dead code in nr-softmodem main()
2022-08-18 20:18:18 +02:00
Robert Schmidt
6bf0f98e7f
Skip scheduling of UEs if there are no free HARQs
2022-08-18 19:59:50 +02:00
Robert Schmidt
a08d78d79d
Correctly show proxy build info
2022-08-17 23:50:23 +02:00
Robert Schmidt
c139204ce0
Make one L2sim proxy build scenario file
2022-08-17 23:50:23 +02:00
Robert Schmidt
ab5a67463a
Reuse existing files from 4g_rfsimulator_fdd_05MHz
2022-08-17 17:35:44 +02:00
Robert Schmidt
5cadafc154
CI: check for final 'Bye.' message
2022-08-16 14:44:23 +02:00
Robert Schmidt
6f40b6190c
Stop containers before undeploying
2022-08-16 14:44:23 +02:00
Robert Schmidt
d08ef0490d
Correctly call stop functions in nr-softmodem main
2022-08-16 14:44:23 +02:00
Robert Schmidt
1df60139e2
Automatically close GTP sockets at program end
2022-08-16 14:44:22 +02:00
Robert Schmidt
19d83ad21e
Make GTPV1U REQ in one allocation to avoid mem leak at GTP
2022-08-16 14:44:22 +02:00
Robert Schmidt
51a7b7bd6e
Remove memory leaks in FAPI PUCCH 0-4 PDU handling
2022-08-16 14:44:22 +02:00
Robert Schmidt
2465f1fb51
Don't allocate gNB rxdataF, it is managed at the RU
...
Removes phy_procedures_gNB_common_RX() (only used in nr_ulsim) + fixes
in pucchsim
2022-08-16 14:44:22 +02:00
Robert Schmidt
9957056f38
Drop empty logging statement
2022-08-16 14:44:22 +02:00
Robert Schmidt
61ead59d13
Check oai_exit in wait_on_condition() and friends, no volatile
2022-08-16 14:44:22 +02:00
Robert Schmidt
fffb2d14de
Close rfsimulator sockets
2022-08-16 14:44:22 +02:00
Robert Schmidt
649e059f90
RFsim: Mark FD non-blocking once; show errno on problem
2022-08-16 14:44:22 +02:00
Robert Schmidt
69cf59f32d
Stop USRP write thread if necessary
2022-08-16 14:44:21 +02:00
Robert Schmidt
e28bd9ff2a
Free USRP objects in trx_usrp_end()
2022-08-16 14:43:59 +02:00
Robert Schmidt
0ae3d3027d
Don't call trx_end_func() at nr-softmodem, is done in ru_thread()
2022-08-16 14:41:02 +02:00
Robert Schmidt
004d6d3bab
Correctly stop tx_reorder and L1_stats threads
2022-08-16 14:41:02 +02:00
Robert Schmidt
1512e39e4e
Rewrite kill_NR_RU_proc() and reuse functions
2022-08-16 14:41:02 +02:00
Robert Schmidt
9ec3deb5bd
Improve thread pool documentation
2022-08-16 14:41:02 +02:00
Robert Schmidt
fafed7d181
Remove unused restrictRNTI variable in Tpool
2022-08-16 14:41:02 +02:00
Robert Schmidt
31dcdf2152
Implement abortNotifiedFIFO() to unlock FIFO waits
2022-08-16 14:41:02 +02:00
Robert Schmidt
dfd9a91b50
Rename abortNotifiedFIFO() to abortNotifiedFIFOJob()
2022-08-16 14:41:02 +02:00
Robert Schmidt
d73e1a4133
Handle NULL return of pullTpool()
2022-08-16 14:41:02 +02:00
Robert Schmidt
178e2773ed
Handle abortFIFO in FIFO functions
2022-08-16 14:41:02 +02:00
Robert Schmidt
e63cc03c9d
Implement abortTpool()
...
This stops all ongoing threads (using pthread_join()), and marks FIFOs
to not block anymore. In this case, returned messages will be NULL.
2022-08-16 14:41:02 +02:00
Robert Schmidt
078d6fa15b
threadCreate(): don't create detached threads
...
A detached thread cannot be joined with pthread_join(). However, this
is crucial for correct resetting of the nr-softmodem. Therefore, do not
create threads in detached state.
2022-08-16 14:41:02 +02:00
Robert Schmidt
fc298b77b5
Don't stop nr-softmodem on FEP thread exit cond
2022-08-16 14:41:02 +02:00
Robert Schmidt
76f399cdd6
Threading/memory improvements at nr-softmodem end
...
- First stop threads then free memory
- Don't call kill_NR_RU_proc() twice (is called in stop_RU())
- Memory allocation optimizations
2022-08-16 14:41:02 +02:00
Robert Schmidt
c4a657cc33
Avoid additional malloc() for queues and Tpool
2022-08-16 14:41:01 +02:00
Robert Schmidt
31d5bb6ffd
Rename abortTpool() to abortTpoolJob(), fix doc
2022-08-16 14:41:01 +02:00
Robert Schmidt
70bb1a3858
Add L2sim-4G to RAN-Container-Parent and documentation
2022-08-16 09:59:36 +02:00
Robert Schmidt
793c8de2ae
CI: Add L2sim-4G iperf DL&UL test
2022-08-13 15:17:42 +02:00
Robert Schmidt
71c13d85fc
Add 4G L2sim XML scenario files
2022-08-13 15:17:42 +02:00
Robert Schmidt
7f8031f69a
Add docker-compose.yml for l2sim-4g
2022-08-13 15:17:42 +02:00
Robert Schmidt
c7f79e71e7
Add more users for dummy CI 4G UE sim configuration
2022-08-13 15:17:42 +02:00
Robert Schmidt
df05475b6b
Add eNB L2sim config file for enb container image
2022-08-13 15:17:42 +02:00
Robert Schmidt
61312ca6e2
Merge branch 'integration_2022_wk32' into 'develop'
...
integration_2022_wk32
See merge request oai/openairinterface5g!1658
MR !1551 Use F1 internally: RRC Message Transfer
MR !1645 fix(ci): Fixes for the legacy LTE bench
MR !1654 Fix for NDI init at UE
MR !1656 ngap: minor fix: access the array correctly
MR !1635 Fix SDAP in RFSIM mode
MR !1643 add asn1c logs
MR !1647 Function to get sample rate and BW
2022-08-12 05:33:12 +00:00
Robert Schmidt
6a0605b000
Merge remote-tracking branch 'origin/get_samplerate_and_bw' into integration_2022_wk32
2022-08-11 18:11:15 +02:00
Robert Schmidt
9c94f86451
Merge remote-tracking branch 'origin/add-asn1c-codec-logs' into integration_2022_wk32
2022-08-11 18:10:55 +02:00
Robert Schmidt
ef526692b5
Merge remote-tracking branch 'origin/fix_sdap' into integration_2022_wk32
2022-08-11 18:04:47 +02:00
Robert Schmidt
44f363c63c
Merge remote-tracking branch 'origin/minor-fix-bad-sd-flag' into integration_2022_wk32
2022-08-10 20:40:24 +02:00
Robert Schmidt
c607e5c3d6
Merge remote-tracking branch 'origin/NR_phytest_UE_ndi' into integration_2022_wk32
2022-08-10 20:40:03 +02:00
Robert Schmidt
f065de0811
Merge remote-tracking branch 'origin/ci-fix-legacy-bench' into integration_2022_wk32
2022-08-10 20:39:57 +02:00
Robert Schmidt
f1c5378e3b
Shorten 5G RFsim tab names
2022-08-09 15:05:58 +02:00
Robert Schmidt
c21f86421e
Test SDAP in 5G FDD RFsim test
2022-08-09 15:05:50 +02:00
Robert Schmidt
9622a56bf1
gNB RRC: handle F1AP_UL_RRC_MESSAGE
2022-08-07 20:03:05 +02:00
Robert Schmidt
18a68387c4
Transfer Initial UL RRC Message through internal F1
2022-08-07 20:03:04 +02:00
Robert Schmidt
a126cd1220
Delete ITTI-SIM
2022-08-07 19:58:35 +02:00
Robert Schmidt
52dbc6fe75
Refactor linear allocator from LTE/NR; separate LTE/NR headers
2022-08-07 19:49:08 +02:00
Robert Schmidt
0c9006ec66
Do not initialize MAC multiple times
2022-08-07 19:49:08 +02:00
Robert Schmidt
f52809a8fb
Add MAC-RRC UL stubs for F1AP and direct
2022-08-07 19:49:08 +02:00
Robert Schmidt
f75cdbcad7
Use F1 DL RRC message transfer internally for RRCSetup
2022-08-07 19:49:08 +02:00
Robert Schmidt
4154e9e9d5
Merge branch 'integration_2022_wk31b' into 'develop'
...
integration_2022_wk31b
See merge request oai/openairinterface5g!1649
MR !1624 NR PUCCH2 fix
MR !1627 fix for pusch dtx in phytest mode
MR !1634 Minor optimization in function init_symbol_rotation
MR !1637 gtp: small fix: set E if there is an extension header
MR !1641 Resolve AMF ip address using FQDN
delete files rxsigF0.m, txsig0.m, ldpctest_BG_1_Zc_384_rate_1-3_block_length_8448_maxit_5.txt
MR !1593 Reworking of BWP handling at MAC (initial MR)
MR !1652 fix for 3-digit MNC in asn1_msg.c
2022-08-07 17:47:12 +00:00
Robert Schmidt
4f2e97d91c
Merge remote-tracking branch 'origin/nr_sib1_mnc_hotfix' into integration_2022_wk31b
2022-08-07 19:39:15 +02:00
Robert Schmidt
ebc55ea206
Merge remote-tracking branch 'origin/NR_BWP_config' into integration_2022_wk31b
2022-08-04 19:13:57 +02:00
Robert Schmidt
ddc6df0bf4
Remove files accidentally added in MR 1382
2022-08-04 18:51:02 +02:00
Robert Schmidt
b0c7a3efe9
Merge remote-tracking branch 'origin/amf-fqdn-support' into integration_2022_wk31b
2022-08-04 18:49:49 +02:00
Robert Schmidt
0c29e5ea5b
Merge remote-tracking branch 'origin/gtp-hotfix' into integration_2022_wk31b
2022-08-04 18:49:41 +02:00
Robert Schmidt
cb4e60eed3
Merge remote-tracking branch 'origin/init_symbol_rotation_optimization' into integration_2022_wk31b
2022-08-04 18:49:33 +02:00
Robert Schmidt
0352f98467
Merge remote-tracking branch 'origin/NR_PUSCH_phytest_DTX_fix' into integration_2022_wk31b
2022-08-04 18:49:25 +02:00
Robert Schmidt
7f910a2e36
Merge branch 'integration_2022_wk30b' into 'develop'
...
integration_2022_wk30b
See merge request oai/openairinterface5g!1630
MR !1594 Schedule BWP switching to the first active BWP when RA with Msg3 carrying DCCH or DTCH message
MR !1628 Fix a segmentation fault when there is no spCellConfigDedicated with maxMIMO_Layers parameter
MR !1528 CSI Feedback
MR !1631 Fix floating point for SRS
MR !1632 gtp pgu session header
MR !1633 Improve SIB1 length to support maximum value specified in 3GPP TS 38.331 section 5.2.1
MR !1463 Support arbitrary number of retransmissions (up to 8)
2022-08-03 06:42:38 +00:00
Robert Schmidt
a21c31a6a5
Merge remote-tracking branch 'origin/HARQ_rv_circular_array' into integration_2022_wk30b
2022-08-02 11:04:04 +02:00
Robert Schmidt
f29fe05031
Merge remote-tracking branch 'origin/NR_MAC_SIB1_Improvements' into integration_2022_wk30b
2022-08-02 11:04:04 +02:00
Robert Schmidt
d2a784280d
Merge remote-tracking branch 'origin/impl-pdu-session-header' into integration_2022_wk30b
2022-08-02 11:04:04 +02:00
Robert Schmidt
48b045b0b0
Merge remote-tracking branch 'origin/develop-SRS-fix' into integration_2022_wk30b
2022-08-02 11:04:04 +02:00
Robert Schmidt
fc6122759b
Merge remote-tracking branch 'origin/develop-CSI-Measurements' into integration_2022_wk30b
2022-08-02 11:04:04 +02:00
Robert Schmidt
eb46f216b1
Upgrade path to AS lteue after simulator upgrade
2022-08-02 11:04:03 +02:00
Robert Schmidt
3e7864eb53
Merge remote-tracking branch 'origin/Fix_segfault_when_no_spCellConfigDedicated' into integration_2022_wk30b
2022-08-02 11:04:03 +02:00
Robert Schmidt
add469e7ca
Merge branch 'integration_2022_wk30' into 'develop'
...
integration_2022_wk30
See merge request oai/openairinterface5g!1626
MR !1616 NR SA tutorials v2
MR !1620 nr_pdcp: nia1 implementation
MR !1622 CI: do not trigger tests if nothing is tagged NSA
MR !1623 Fix for ssb subcarrier offset in case of f<3GHz
MR !1606 code maintenance
MR !1568 Add undefined behavior sanitizer in build_oai, fix some errors
MR !1587 Dynamically build L2sim proxy
2022-07-28 11:59:36 +00:00
Robert Schmidt
08e30bf4ab
Merge remote-tracking branch 'origin/l2proxy-build' into integration_2022_wk30
2022-07-28 09:45:24 +02:00
Robert Schmidt
57c545d4b3
Merge remote-tracking branch 'origin/use-ubsan' into integration_2022_wk30
2022-07-28 09:45:10 +02:00
Robert Schmidt
c663688fb2
Merge remote-tracking branch 'origin/accumulated-fixes-2022june' into integration_2022_wk30
2022-07-26 17:22:00 +02:00
Robert Schmidt
878491334f
Merge remote-tracking branch 'origin/another_SSB_bugfix' into integration_2022_wk30
2022-07-26 17:15:32 +02:00
Robert Schmidt
8b26160d4d
Merge remote-tracking branch 'origin/fix-jenkins-trig-nsa' into integration_2022_wk30
2022-07-26 17:15:16 +02:00
Robert Schmidt
c59912d7ee
Merge remote-tracking branch 'origin/nr-pdcp-nia1' into integration_2022_wk30
2022-07-26 16:39:11 +02:00
Robert Schmidt
a20a6ba431
Merge remote-tracking branch 'origin/NR_SA_Tutorials_v2' into integration_2022_wk30
2022-07-26 16:38:45 +02:00
Robert Schmidt
e1798745ef
Dynamically build L2sim proxy
2022-07-26 09:54:53 +02:00
Robert Schmidt
3c2375eada
CI: do not trigger tests if nothing is tagged NSA
...
The previous version would trigger sub-pipelines (LTE-2x2, ...) if no MR
had the NSA tag (without a commit, etc). Of course, this would make all
pipelines subsequently fail (as not enough arguments, such as the
commit, were given). In this commit, we read the output of `jq` from
JSON, which will result in an empty list if no MR is tagged with the NSA
label (and the output in the console will be nicer as well).
2022-07-21 17:57:26 +02:00
Robert Schmidt
72bf1b1d3c
Merge branch 'integration_2022_wk29' into 'develop'
...
integration_2022_wk29
See merge request oai/openairinterface5g!1619
2022-07-20 16:30:58 +00:00
Robert Schmidt
db7f39ba19
Use correct structure in sctp_eNB_accept_associations()
2022-07-20 10:40:32 +02:00
Robert Schmidt
6b757c5320
Correct array sizes in dlsim
2022-07-20 10:40:32 +02:00