Commit Graph

80 Commits

Author SHA1 Message Date
Ismael Gomez 589e569ce9
Changes on srsENB mutexing logic to fix general race condition and deadlock issues (#229)
* fixed some issues with the UL scheduling

* Hack to fix UL scheduler

* minor fix

* Cleaned up code and fixed issue with the update_allocation function

* fixed the console printing in the enb

* log/console fix

* fixed the log print

* added a normalization factor

* RLC: entity uses dynamic instances. Simplified stop/reset/reestablish procedure. Added non-blocking interface

* Limit decimals in metrics stdout

* Changed mutexes to rwlock in RLC/RRC/MAC/PDCP to fix race conditions when removing users

* Fix deadlock bug for MIMO

* Remove headers

* Fix missing unlock causing overflows

* Do not decrease CQI when PUCCH (this is a temporal fix, requires to reduce the maximum MCS)

* Fix mutex unlock in worker

* Configurable RLC tx buffer. Default to 512 for enodeb

* Check NULL SDU in write_sdu()

* Protect RLC objects and tx_queue from being destroyed while using it

* Remove superfluous code

* Disable SIB logging

* Fix block_queue for enb
2018-07-05 11:00:19 +02:00
Xavier Arteaga e837788ad4 Added initial Generic DL Phy test 2018-07-02 10:20:40 +02: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 cb15dee3d4 Merge branch 'embms_merge_final' into next 2018-05-23 21:25:37 +02:00
Andre Puschmann ad5c06f64b limit SDU generation rate in AM stress test 2018-05-22 14:52:47 +02:00
Andre Puschmann 61d525ea80 Merge branch 'next' into embms_merge_final 2018-05-22 10:39:05 +02:00
Andre Puschmann 438892118c extend msg queue test 2018-05-22 10:28:14 +02:00
Andre Puschmann 9ce3be974a Merge branch 'next' into embms_merge_final 2018-05-15 22:32:56 +02:00
Andre Puschmann 2fb0dc62a0 refactor config for multicast RLC bearers 2018-05-15 22:23:21 +02:00
yagoda 3fee81446a adding asn1 test files 2018-05-15 17:48:20 +02:00
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 2018-05-15 17:27:10 +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 e0e219fdce reduce default loglevel in RLC stress tests 2018-05-15 12:59:22 +02:00
Andre Puschmann 51e093e611 Merge branch 'next' into rlc_updates 2018-05-11 15:55:03 +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
Andre Puschmann 05696a5ca7 Merge branch 'next' into rlc_updates 2018-05-04 14:13:50 +02:00
Andre Puschmann 4a29f1f0f0 reduce default execution for RLC stress tests 2018-05-04 12:40:20 +02:00
Andre Puschmann d2d30ca90d fix typo in testcase command 2018-05-04 12:11:41 +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 3da5133591 adding two more RLC UM tests for checking reassembly 2018-05-04 10:27:46 +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
Ismael Gomez 4ffee4326b Fix memory leaks in unit tests 2018-05-03 17:36:39 +02:00
Andre Puschmann f913db6d82 add TM testcase 2018-04-27 16:26:24 +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
Andre Puschmann 8fde56c582 unify rlc_am_stress test to allow also UM tests 2018-04-27 15:40:05 +02:00
Andre Puschmann 2935def9fc remove mutex in rlc stress tester 2018-04-04 17:07:40 +02:00
Andre Puschmann 38a3172224 fix RLC AM test 2018-04-04 17:02:45 +02:00
Andre Puschmann f3482445b5 add RLC AM data header parsing test 2018-03-28 17:10:56 +02:00
Andre Puschmann 619a653d4e add another RLC AM resegment test 2018-03-28 16:06:28 +02:00
Andre Puschmann 5fe09666d7 add new RLC AM test for retransmitted PDU segments 2018-03-28 10:45:59 +02:00
Andre Puschmann 20fa7b947d expos various params of stress tester and add pcap functionality 2018-03-28 10:45:59 +02:00
Andre Puschmann ac194ae7b1 fix warning in timeout test 2018-03-06 22:24:07 +01:00
Andre Puschmann d84f6d3d41 add parameter to change loglevel in rlc am stresser 2018-03-06 14:04:17 +01:00
Andre Puschmann 853f774607 add threaded timeout test 2018-03-06 14:04:17 +01:00
Andre Puschmann 07c704b0dd extend RLC AM stress tester to mimic reestablishment 2018-03-04 21:53:06 +01:00
Andre Puschmann 507ce037bf parameterize RLC AM stress tester and add to ctest suite 2018-03-04 21:53:06 +01:00
Andre Puschmann 94fe9d4a47 rlc: add basic RLC AM reset test 2018-02-20 12:27:02 +01:00
Andre Puschmann a6ccb05bb1 fix mem leak in RLC UM test and RLC AM stress tester 2018-02-16 21:32:53 +01:00
Andre Puschmann b5b1c0bf4b fix memory leaks RLC AM test 2018-02-16 12:41:13 +01:00
Paul Sutton a1f9b35db3 Minor rlc_am_stress_test fix 2018-02-12 17:24:48 +00:00
Paul Sutton e18cb5ba5b Fixing RLC AM tests, adding extra check for segment handling 2018-02-12 13:42:59 +00:00
Paul Sutton 4cf79c1ead Initial fix for segment handling in RLC AM 2018-02-12 13:09:31 +00:00
Andre Puschmann ccfb9314bc fix various coverity bugs 2018-02-11 10:59:56 +01:00