Francisco Paisana
f2d88e5a5b
simplified NAS rrc connection request procedure
...
move non-type-specific methods of proc_t to its base class.
procedure state machine was simplified via a future-type. Now procedures dont get stuck until the user reads the procedure outcome.
made the NAS procedures more event trigger/reaction-based.
2019-10-23 18:19:25 +02:00
Francisco Paisana
8864787f59
added the continuation functionality to procedures via the "then()" method.
2019-10-23 18:19:25 +02:00
Francisco Paisana
c1be118d1d
new wrapper-based design for stack procedures. Removes extra base class, gets rid of spurious copies/moves during the pop(), and allows the use of a non-default ctor()
2019-10-23 18:19:25 +02:00
Andre Puschmann
89889d6df5
add packing and unpacking test for MAC PDU only containing padding bytes
2019-10-11 17:35:52 +02:00
Francisco Paisana
a2f1998350
fix issue with thread pool shut down
2019-10-04 10:24:21 +02:00
Francisco Paisana
3f1fad3f4e
bug fix: avoid renaming thread in worker ctor
2019-10-04 10:24:21 +02:00
Francisco Paisana
c413fadea9
created a queue-based thread pool. Tasks are inserted into a queue and then popped by the thread pool workers to be processed.
2019-10-02 11:04:47 +02:00
Andre Puschmann
2f47010eb6
fix various uninitialized vars
2019-09-24 13:23:30 +02:00
Francisco Paisana
7e67aee839
resolved the uninit variable issue in the queue_test
2019-09-18 12:18:33 +02:00
Francisco Paisana
b2bc05c50a
make queue_test less dependent on thread timings
2019-09-18 12:18:33 +02:00
Francisco Paisana
ceba00f00e
extended multiqueue to support blocking push
2019-09-18 12:18:33 +02:00
Francisco Paisana
63457f195c
extented queue test
2019-09-18 12:18:33 +02:00
Francisco Paisana
647c624423
created a multiqueue handler, and started using it for the ue stack
2019-09-18 12:18:33 +02:00
Andre Puschmann
6baa89cd2c
add MAC NR PDU packing and associated unit tests
2019-09-17 17:19:13 +02:00
Pedro Alvarez
004db4a067
Applied clang-format to zuc_support PR.
2019-09-10 13:46:21 +02:00
David Rupprecht
f05bb12c78
Process with EIA3 test cases and fix EIA3
2019-09-10 13:46:21 +02:00
David Rupprecht
d580a94dab
Add EIA3 and test case
2019-09-10 13:46:21 +02:00
David Rupprecht
7e13860dd5
Add decryption function and all tests for enc
2019-09-10 13:46:21 +02:00
David Rupprecht
ef4cf7aa52
First ZUC working test case
2019-09-10 13:46:21 +02:00
Ismael Gomez
c92c61d560
Optimized front-end logging processing ( #641 )
...
Avoid memory allocation and stringstream in log frontend calls (executed from worker threads). Uses a buffer pool of fixed buffer and vsnprintf
2019-09-04 15:32:29 +02:00
Ismael Gomez
69edee4e6c
Fix issues in uplink QoS ( #636 )
...
Fix bugs in Long BSR and Truncated BSR and added unit tests
2019-09-02 22:48:41 +02:00
Francisco Paisana
c9d3b61038
added resumable procedures to make RRC and NAS non-blocking
2019-08-08 10:56:54 +02:00
yagoda
408400bee6
adding fixes and tests for eMBMS
2019-07-21 22:27:17 +02:00
Andre Puschmann
94cc61e4b1
add MAC PDU pack test for max size TB PDU
2019-07-16 17:31:03 +02:00
Andre Puschmann
6b2961fcee
add MAC DL-SCH unpacking test
2019-07-05 17:24:06 +02:00
Andre Puschmann
92f0d58856
mac: move further init/config into ctor to allow early logging, etc.
2019-07-05 17:24:06 +02:00
Andre Puschmann
fab75592ec
fix MAC PDU padding with only padding and add test accordingly
2019-06-26 17:57:25 +02:00
Andre Puschmann
b6d7fd5def
improve error handling in PDU packing
2019-06-26 17:57:25 +02:00
Andre Puschmann
6d586d84a8
extend MAC PDU test
2019-06-26 17:57:25 +02:00
Andre Puschmann
ee1f910877
pdu: add unit test for packing and unpacking RAR PDUs
2019-05-30 13:06:42 +02:00
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
2019-05-16 12:35:01 +02:00
Francisco Paisana
f4aa03154d
change queue read and other functions apis
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
205db6f229
add missing license headers
2019-04-26 21:20:12 +02:00
Andre Puschmann
59d9a78869
add eia1 tests and fix sib2 bug ( #311 )
...
* Starting to add EIA1 tests.
* Initial tests for EIA1
* Bit shifted bearer by 27. Test case 1 and 4 are passing now.
* Adding EIA test case 7.
* Making sure the test is called.
* Fixed double initialization of msg_len_bits.
2018-12-17 16:33:11 +01:00
Pedro Alvarez
bd39d8bac2
Fixed bug in getting OPc. Removed debug print. Fixed test12345. UE is still having re-synch issues.
2018-06-18 19:32:50 +01:00
Pedro Alvarez
e3d1cff4a3
Revert "Adding OPc option to security functions."
...
This reverts commit 0eeb70bede
.
2018-06-18 11:29:40 +01:00
Pedro Alvarez
0eeb70bede
Adding OPc option to security functions.
2018-06-18 11:24:35 +01:00
Paul Sutton
2f73b52419
Fixing and disabling faulty tests - asserts only failing in debug
2018-06-12 18:31:37 +01:00
Ismael Gomez
be1c6aa078
Fix compilation warnings
2018-05-31 14:39:14 +02:00
Ismael Gomez
7b58ceb6e2
Measure execution time in EEA tests
2018-05-31 14:34:32 +02:00
Andre Puschmann
438892118c
extend msg queue test
2018-05-22 10:28:14 +02:00
yagoda
d80d49a9da
adding tests for embms rlc functionality
2018-05-15 16:59:06 +02:00
Ismael Gomez
040c33497d
merged PR#189 and added check for non-empty queue in get size tail
2018-05-10 21:32:32 -05:00
Ismael Gomez
4ffee4326b
Fix memory leaks in unit tests
2018-05-03 17:36:39 +02:00
Andre Puschmann
ac194ae7b1
fix warning in timeout test
2018-03-06 22:24:07 +01:00
Andre Puschmann
853f774607
add threaded timeout test
2018-03-06 14:04:17 +01:00
Andre Puschmann
e5a04844ec
more coverity fixes
2018-02-02 09:43:10 +01:00
Xavier Arteaga
99ef760b6f
More Coverity fixes
2018-01-31 16:49:14 +01:00
David Rupprecht
6fbe26d653
Add test cases for f funtions
2018-01-22 12:20:16 +01:00
Paul Sutton
516fdc27f1
Fix for NAS security bearer id, added encryption test sets, fix for compile warning
2017-12-01 12:38:18 +00:00
Ismael Gomez
6037a2f2bd
changed logger classes
2017-06-23 16:29:46 +02:00
Paul Sutton
0b64e8a9ee
Minor cleanup of security library handling in cmake
2017-06-02 15:59:03 +01:00
Ismael Gomez
e75daee148
renamed include paths for common objects
2017-05-31 23:39:17 +02:00
Andre Puschmann
1d1916d6e0
Merge branch 'restruct_update' into restruct_update_paul
2017-05-31 16:21:18 +02:00
Andre Puschmann
c51c4d2a38
fix compile warnings
2017-05-31 13:45:01 +02:00
Paul Sutton
80140c7c38
minor cmake edits
2017-05-30 18:14:41 +01:00
Andre Puschmann
5d66e9701f
fixing CMake scripts and include paths
2017-05-30 15:10:19 +02:00
Andre Puschmann
d079d25b2c
rename srslte folder and src subfolder
2017-05-30 13:05:04 +02:00