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
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
luis_pereira87
604d52a431
Replace sleep by mutex in itti_wait_tasks_end()
2022-08-16 14:41:01 +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
francescomani
df1f4381a2
fix in sib1 memcpy size
2022-08-16 11:18:00 +02:00
francescomani
166aae35ab
fixes to get 100MHz working with 2 layers
2022-08-16 11:18:00 +02:00
Robert Schmidt
70bb1a3858
Add L2sim-4G to RAN-Container-Parent and documentation
2022-08-16 09:59:36 +02:00
laurent
65b399fcd7
fix bugs in config module and config usage
...
fix bug from this MR
fix bug from this MR
stupid-mistake
2022-08-16 09:22:15 +02:00
laurent
d46a7e40a8
fix a bug: multi ues in rfsimulator 4G
2022-08-16 08:51:37 +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
francescomani
0289bb5791
SRS for multiple BWPs
2022-08-12 15:39:48 +02:00
francescomani
8403b2c6d5
Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP
2022-08-12 13:05:11 +02:00
francescomani
2e4f55f6f1
Merge remote-tracking branch 'origin/develop' into ul-phr
2022-08-12 12:22:48 +02:00
Cedric Roux
1b029be058
nr rlc stats: make avg time to tx optional
...
Introduce the function nr_rlc_activate_avg_time_to_tx() to
activate/deactivate collection of avg time to tx stats (which
may have an impact on realtime processing, so better not compute
them when not needed).
Fix a little bug in time_average_get_average() for when there is not stat.
2022-08-12 12:19:09 +02:00
Chieh-Chun Chen
c0394bc09c
Add avg time to tx an sdu for RLC UM & TM mode
2022-08-12 12:19:09 +02:00