Pedro Alvarez
c5979f59eb
Clang format UE, eNB and lib ( #850 )
...
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
2019-12-16 16:04:22 +01:00
Andre Puschmann
7885b5b9ee
add CMake flag to enable 5G-NR components
2019-12-11 17:50:11 +01:00
Andre Puschmann
b20f7ba541
refactor RLC UM and add NR receiver
2019-11-16 14:35:16 +01:00
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
2019-10-23 19:33:25 +01:00
Francisco Paisana
67d6a25194
Moving mac timers to stack timers ( #638 )
...
* first step towards moving MAC timers to stack. Mac is still using its own timers. srslte::timers class can be restructured.
* moved timers out of the UE MAC
2019-09-04 15:28:09 +02:00
Francisco Paisana
58e2e51044
removed rlc_interfaces. The rlc_cnfg types are now part of the rrc_interface_types. Removed implicit RB initialization in the RLC.
2019-07-05 10:44:15 +02:00
Andre Puschmann
701db61fde
rlc: extend stress tester to simulate MAC PDU corruption
2019-07-04 14:43:20 +02:00
Andre Puschmann
58763fb714
stack: move initialization of log object into ctor
...
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
2019-06-27 14:51:33 +02:00
Francisco Paisana
415d3418b6
reorganized enb to mirror ue director/class structure with a stack class
2019-06-07 15:41:56 +02:00
Andre Puschmann
e8d6236975
remove init for all RLC TM/UM/AM
...
- all RLC entities are now initialized during contruction
- there is no need to check for, e.g., existance of timers, during
runtime
- there is also no need to call re-init during resume
- timers are freed in dtor
2019-06-06 14:34:25 +02:00
Andre Puschmann
e47010130f
extend thread class to set unique thread name in ctor
...
this will also extend all classes that use srslte::thread
to specify the name of the thread in the ctor as well
as to set the name of the worker threads in the thread pool
the thread name will be displayed in gdb.
2019-06-03 15:03:20 +02:00
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
2019-05-16 12:35:01 +02:00
Francisco Paisana
f469e2178b
replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use
2019-05-16 12:35:01 +02:00
Andre Puschmann
4b01a2e4a0
update copyright notice
2019-04-29 09:20:02 +02:00
Andre Puschmann
cecc28540b
add crash handler to rlc_stress_test
2018-10-09 21:18:05 +02:00
Andre Puschmann
f7d907f1b2
remove pedantic flag from RLC stress test
2018-10-09 21:17:17 +02:00
Andre Puschmann
f20535657f
add option to randomize MAC opportunities in RLC tester
2018-10-03 14:58:24 +02:00
Andre Puschmann
601b2a357b
fix fail logic in RLC stress test
2018-09-25 16:23:00 +02:00
Andre Puschmann
f5c3bd5328
cleaup RLC stress test
2018-09-25 11:00:35 +02:00
Andre Puschmann
34535c7efb
fix RLC AM issues reported by clang-tidy
2018-09-25 10:46:36 +02:00
Andre Puschmann
6c4aaa6e10
adapt AM test to new MAC timer
2018-09-25 10:45:15 +02:00
Andre Puschmann
9a4ce125fb
fix RLC stress test with respect to timer handling
2018-09-21 10:29:41 +02:00
Andre Puschmann
4b0171ccea
fix MAC timer handling in rlc_stress_test
2018-09-21 10:29:41 +02:00
Andre Puschmann
d981f129e0
Merge branch 'master' into next
2018-09-20 12:54:05 +02:00
Andre Puschmann
a20a8b18ad
fix rlc_stress_test, stop RLC instances and remove hard thread canceling
2018-07-30 14:57:17 +02:00
Andre Puschmann
3950629a75
remove obsolete RLC_MODE struct and move existing one to rlc_interface.h
2018-07-25 16:06:42 +02:00
Andre Puschmann
27d3d697df
refactor RLC part#2
...
- move metrics into entities
- make configure interface return true/false on success/failure
- add own srslte mode type
2018-07-23 17:30:32 +02:00
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
2018-05-22 10:39:05 +02:00
yagoda
d80d49a9da
adding tests for embms rlc functionality
2018-05-15 16:59:06 +02:00
Andre Puschmann
fd9f847d2d
dont let RLC stress test fail if buffer gets empty
2018-05-15 16:29:49 +02:00
Andre Puschmann
4a29f1f0f0
reduce default execution for RLC stress tests
2018-05-04 12:40:20 +02:00
Andre Puschmann
60a9e5d756
in rlc_stress_test only call usleep if not null
2018-05-04 10:46:37 +02:00
Andre Puschmann
371e2f90fd
print RLC throughput after finishing stress test
...
- also exit with failure when malformed PDU is received in release mode
2018-05-04 09:39:15 +02:00
Andre Puschmann
d63b3e0376
add TM support to rlc_stress_test
2018-04-27 16:25:37 +02:00
Andre Puschmann
a5d31f5c02
rename rlc_stress_test
2018-04-27 15:42:13 +02:00