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
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
Robert Schmidt
b07a167370
Correct indentation in nr_rx_pdsch()
2022-07-20 10:40:32 +02:00
Robert Schmidt
24b651b465
Provide build_oai option UBSan
2022-07-20 10:38:44 +02:00
Robert Schmidt
bc3600a3f9
Merge remote-tracking branch 'origin/f1-undefined' into integration_2022_wk29
2022-07-19 18:12:48 +02:00
Robert Schmidt
fcb07ef5fd
Merge remote-tracking branch 'origin/NR_SSB_fix' into integration_2022_wk29
2022-07-19 18:12:40 +02:00
Robert Schmidt
82c62ecd5a
Merge remote-tracking branch 'origin/rename_var_to_pusch_DTX' into integration_2022_wk29
2022-07-19 18:12:31 +02:00
Robert Schmidt
05e859b1ef
Merge remote-tracking branch 'origin/fix-testbenches-doc' into integration_2022_wk29
2022-07-19 18:12:23 +02:00
Robert Schmidt
6dac7d674c
Merge remote-tracking branch 'origin/develop-SRS-Measurements' into integration_2022_wk29
2022-07-19 18:12:14 +02:00
Robert Schmidt
65c9af7d48
Merge branch 'ran-sa-b200-module-sabox-container' into 'develop'
...
Add basic SA test to RAN-Container-Parent
See merge request oai/openairinterface5g!1615
2022-07-19 07:30:37 +00:00
Robert Schmidt
04251d5b06
Correctly initialize protocol_ctxt in F1 code
...
In the previous version, not all fields, and in particular the
`eNB_index`, were not initialized, leading to errors when they were used
(e.g., the PDCP code checks that eNB_index == 0).
2022-07-18 17:39:55 +02:00
Robert Schmidt
16c758ae09
CI: Drop IP check when connectiong via SSH and pubkey
2022-07-15 16:00:52 +02:00
Robert Schmidt
ae05420c84
CI: log error if oai-amf container is not present for AMF IP addr retrieval
2022-07-15 13:35:19 +02:00
Robert Schmidt
52168e5201
Shut off quectel before running SA tests
2022-07-15 11:05:08 +02:00
Robert Schmidt
63daf5793b
Remove useless SA test sleep
2022-07-15 11:05:08 +02:00
Robert Schmidt
0c4aa33939
Trigger SA-B200 test from RAN-Container-Parent
2022-07-14 23:57:52 +02:00
Robert Schmidt
b308cbe101
Add RAN-SA-B200-Module-SABOX-Container test
2022-07-14 23:54:53 +02:00
Robert Schmidt
4b50e4b1f6
CI: decode in getBefore()
2022-07-14 23:54:53 +02:00
Robert Schmidt
87d1a53ca3
CI: Allow publickey authentication in SSHConnection
...
For pubkey, checks that we are on the right machine
2022-07-14 23:53:52 +02:00
Robert Schmidt
5928d571e7
CI: Fix log message typo in UndeployObject()
2022-07-14 23:53:52 +02:00
Robert Schmidt
f1e3f7fb1f
CI: Abort pipeline if DeployObject fails
2022-07-14 23:53:52 +02:00
Robert Schmidt
43c980d36b
CI: NSA-B200-Container: no Qlog
2022-07-07 09:29:09 +02:00
Robert Schmidt
805b35643f
Updates in TESTBench documentation
...
- Correct carabe name
- NR freq bands with "nXX"
- add amariue in figure
- minor changes
2022-07-05 16:38:52 +02:00
Robert Schmidt
5091682551
Merge branch 'integration_2022_wk26' into 'develop'
...
integration_2022_wk26
See merge request oai/openairinterface5g!1605
MR !1602 Use (std) bool instead of custom bool types
MR !1600 Discard RTX if RI changed
MR !1598 Set correct master clock rate for N320
MR !1584 enablement of statistics
MR !1603 Fix decoding multiple ULSCH in the same slot in the case of a ULSCH fails to be detected
MR !1590 Improvements and AVX2 in cpx_rotate_vector()
2022-07-04 15:03:35 +00:00
Robert Schmidt
2cced7bdb5
Merge remote-tracking branch 'origin/optim-rotate_cpx' into integration_2022_wk26
2022-06-30 15:41:28 +02:00
Robert Schmidt
b7e026fda5
Merge remote-tracking branch 'origin/fix_decoding_multi_ulsch_in_the_same_slot' into integration_2022_wk26
2022-06-29 23:15:15 +02:00
Robert Schmidt
4662ccc46a
Merge remote-tracking branch 'origin/stats' into integration_2022_wk26
2022-06-29 23:15:06 +02:00
Robert Schmidt
ae54a1bd05
Merge remote-tracking branch 'origin/fix-n320' into integration_2022_wk26
2022-06-29 23:14:51 +02:00
Robert Schmidt
94ca30e82b
Merge remote-tracking branch 'origin/NR_layers_in_harq' into integration_2022_wk26
2022-06-29 23:14:42 +02:00
Robert Schmidt
ff5ec94d33
Address review: drop bool defines
2022-06-28 09:38:48 +02:00
Robert Schmidt
0b91791f67
Use (std) bool instead of custom bool types
...
OAI is riddled with boolean_t, FALSE, TRUE, etc. This makes no sense, as
there is a standard bool type, and could lead to nasty bugs if a
definition of a bool is non-standard (0 == false, true == !false). This
commit removes all non-standard bools in the whole project.
2022-06-27 10:07:48 +02:00
Robert Schmidt
6d030ea2fa
Merge branch 'integration_2022_wk25' into 'develop'
...
integration_2022_wk25
See merge request oai/openairinterface5g!1596
MR !1549 : Remove ssb subcarrier offset from config file
MR !1589 : Putting all CM code in one file
MR !1592 : Support Fedora 36
MR !1492 : Harmonization of PUCCH Resources
MR !1581 : F1: Interoperability with Accelleran CU
MR !1599 : nr rlc: minor: update tests
2022-06-26 15:56:56 +00:00
Robert Schmidt
0e04fba03d
Fix build warnings
2022-06-23 16:18:50 +02:00
Robert Schmidt
5cebe354c5
Merge remote-tracking branch 'origin/bugfix-minor-update-nr-rlc-tests' into integration_2022_wk25
2022-06-23 14:14:37 +02:00
Robert Schmidt
b37050ac6e
Merge remote-tracking branch 'origin/F1_interop_ACC_n78' into integration_2022_wk25
2022-06-23 14:09:33 +02:00