Robert Schmidt
d0079ce554
Add clang-format specific pre-commit hook
2022-08-26 20:14:40 +02:00
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
Roberto Louro Magueta
1638bbba8a
Add intermediate variable
2022-08-18 17:00:21 +01:00
laurent
d6d4d87e0b
code review comments
2022-08-18 16:43:26 +02:00
laurent
8b159d6ddc
remove unclear function free_configmodule(), as we have end_configmodule() that do the same
2022-08-18 09:47:44 +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
frtabu
983c956b77
Fix config module memory leaks
2022-08-16 17:58:55 +02:00
Cedric Roux
0618812554
T tracer: simplify
...
- don't call exit() if get_message() fails, simply terminate the thread and
disable the T tracer
- T_dont_fork disappears, monitor_and_kill() as well, so now it's only 2
processes: the main (enb/gnb/ue) and the local tracer
2022-08-16 14:44:23 +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
Florian Kaltenberger
7e82f2f4e8
sending small end-of-burst TX packet when exiting softmodem
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