227 Commits (6a56476b2ae508e8716c6c9c2b25584a0b19c66d)

Author SHA1 Message Date
Pedro Alvarez 491695ab77 Clang-formated PDCP NR PR. 5 years ago
Pedro Alvarez 38bbc55631 Added tests for PDCP NR Rx with SN Len = 18. In-sequence reception seems to work. 5 years ago
Pedro Alvarez d4aeb12db8 Adding more TX tests to PDCP NR entity. 5 years ago
Pedro Alvarez 39e3800781 Fixed header packing for SN length 18 for PDCP NR. First TX test is passing. 5 years ago
Pedro Alvarez d399c65082 Starting to add PDCP SN len 18 unit tests. 5 years ago
Pedro Alvarez 7a69e8ba64 Removed comment. 5 years ago
Pedro Alvarez adfe9f950e Fixed issue in computing the SN. Added test for packets received in sequence for PDCP NR. Test is passing now. 5 years ago
Pedro Alvarez 2104e6bbcf Added test for more TX packets in PDCP NR. Tests passing for TX_NEXT = 0, 2048 and 4096 5 years ago
Pedro Alvarez ecd164ed65 Starting to add more tx tests to PDCP NR tests. 5 years ago
Pedro Alvarez af2b593b8c Added check for integrity in test. First Rx PDCP NR test passing. 5 years ago
Pedro Alvarez d3b6828082 Changed PDCP configuration to explicitly have tx and rx direction. Decrypt on PDCP NR seems fine. 5 years ago
Pedro Alvarez 7e6725f0a2 Fixing up PDCP NR tx test. Starting to add rx test. 5 years ago
Pedro Alvarez 378c8d247e Starting to add the mechanisms to store the last PDU in the PDCP tests. 5 years ago
Pedro Alvarez 73e30743d1 Added enum to PDCP config to replace two bools. 5 years ago
Pedro Alvarez 457f35699d Reverted back to a single config structure between PDCP NR and PDCP LTE. 5 years ago
Pedro Alvarez 810cacdc02 Adding write_data_header and append_mac helper functions to PDCP NR entity. 5 years ago
Pedro Alvarez d1ac121100 Writting PDU into PDCP in tx test. 5 years ago
Pedro Alvarez c9e99443d8 Adding PDCP NR Tx test. 5 years ago
Pedro Alvarez 4bb99464ed Starting to add PDCP NR tests. 5 years ago
Andre Puschmann 2ae35e4ce0 make sure status PDU doens't exceed grant size 5 years ago
Ismael Gomez 8c41625599 Add RLC suspend and resume 5 years ago
Andre Puschmann db196cc052 add RLC AM test for status PDU generation with small and big MAC grants 5 years ago
Andre Puschmann 9f3a947c02 modify RLC AM retx test to provide exactly a MAC opportunity of the size
that is reported as buffer state
5 years ago
Francisco Paisana 92b4b168fe added default rlc um and am in the interface as factories 5 years ago
Francisco Paisana b903c1a52c made default init for rlc um test 5 years ago
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. 5 years ago
Francisco Paisana c5509caece added extra operators and remove rrc_asn1 in some cmake targets 5 years ago
Francisco Paisana b936629221 removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests 5 years ago
Andre Puschmann 701db61fde rlc: extend stress tester to simulate MAC PDU corruption 5 years ago
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.
5 years ago
Andre Puschmann b32254c5e2 use lock_guard for GW 5 years ago
Andre Puschmann 89416a67c7 increase timeout for rlc stress tests
for valgrind where we sometimes hit the default timeout of 1500s
5 years ago
Francisco Paisana 415d3418b6 reorganized enb to mirror ue director/class structure with a stack class 5 years ago
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
5 years ago
Ismael Gomez ade720e032 Add RLC resume procedure 5 years ago
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.
6 years ago
Francisco Paisana 0e3baa0f2f Renamed the reset() method of byte_buffer_t to clear() 6 years ago
Francisco Paisana 3bedc93ba5 added _t to unique_byte_buffer type 6 years ago
Francisco Paisana f469e2178b replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use 6 years ago
Francisco Paisana 7be183c223 rework scheduler 6 years ago
Andre Puschmann 723cd71a3a remove usage of <assert> in rlc_um_test 6 years ago
Andre Puschmann 46cc5a1985 use buffer pool in rlc_um_test 6 years ago
Pedro Alvarez f2530eb57b Fix rlc_am_data_test to avoid compiler warning from memset 6 years ago
Pedro Alvarez 3a502ccd13 Removed memset from rlc_status_pdu in test, to avoid compiler warnings. 6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Francisco Paisana 0204db2e12 new asn1 rrc library 6 years ago
Andre Puschmann db3ce8ade9 remove clang-tidy execution for srslte_upper 6 years ago
Andre Puschmann 398e271eee add out-of-order test for RLC AM PDUs 6 years ago
Andre Puschmann cecc28540b add crash handler to rlc_stress_test 6 years ago
Andre Puschmann f7d907f1b2 remove pedantic flag from RLC stress test 6 years ago
Andre Puschmann a1eca433b0 fix RLC AM tests accordingly 6 years ago
Andre Puschmann 57b472983e fix RLC TM stress test params 6 years ago
Andre Puschmann f20535657f add option to randomize MAC opportunities in RLC tester 6 years ago
Andre Puschmann 58d5208bfc fix RLC AM test 6 years ago
Andre Puschmann 601b2a357b fix fail logic in RLC stress test 6 years ago
Andre Puschmann f5c3bd5328 cleaup RLC stress test 6 years ago
Andre Puschmann 7572299615 enable clang-tidy for srslte_upper library 6 years ago
Andre Puschmann 34535c7efb fix RLC AM issues reported by clang-tidy 6 years ago
Andre Puschmann 6c4aaa6e10 adapt AM test to new MAC timer 6 years ago
Andre Puschmann 9a4ce125fb fix RLC stress test with respect to timer handling 6 years ago
Andre Puschmann 4b0171ccea fix MAC timer handling in rlc_stress_test 6 years ago
Andre Puschmann d981f129e0 Merge branch 'master' into next 6 years ago
Andre Puschmann 6c896c4962 fix RLC AM test in release 6 years ago
Andre Puschmann f14ee09ed3 adapt AM test to new MAC timer 6 years ago
Andre Puschmann 55edb92ac5 fix RLC AM test and account for additional header room for retx segments 6 years ago
Andre Puschmann a20a8b18ad fix rlc_stress_test, stop RLC instances and remove hard thread canceling 6 years ago
Andre Puschmann 1160dac54f add new RLC AM test for checking correct stopping 6 years ago
Andre Puschmann 3950629a75 remove obsolete RLC_MODE struct and move existing one to rlc_interface.h 6 years ago
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
6 years ago
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
6 years ago
Andre Puschmann cb15dee3d4 Merge branch 'embms_merge_final' into next 7 years ago
Andre Puschmann ad5c06f64b limit SDU generation rate in AM stress test 7 years ago
Andre Puschmann 61d525ea80 Merge branch 'next' into embms_merge_final 7 years ago
Andre Puschmann 9ce3be974a Merge branch 'next' into embms_merge_final 7 years ago
Andre Puschmann 2fb0dc62a0 refactor config for multicast RLC bearers 7 years ago
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 7 years ago
yagoda d80d49a9da adding tests for embms rlc functionality 7 years ago
Andre Puschmann fd9f847d2d dont let RLC stress test fail if buffer gets empty 7 years ago
Andre Puschmann e0e219fdce reduce default loglevel in RLC stress tests 7 years ago
Andre Puschmann 4a29f1f0f0 reduce default execution for RLC stress tests 7 years ago
Andre Puschmann d2d30ca90d fix typo in testcase command 7 years ago
Andre Puschmann 60a9e5d756 in rlc_stress_test only call usleep if not null 7 years ago
Andre Puschmann 3da5133591 adding two more RLC UM tests for checking reassembly 7 years ago
Andre Puschmann 371e2f90fd print RLC throughput after finishing stress test
- also exit with failure when malformed PDU is received in release mode
7 years ago
Andre Puschmann f913db6d82 add TM testcase 7 years ago
Andre Puschmann d63b3e0376 add TM support to rlc_stress_test 7 years ago
Andre Puschmann a5d31f5c02 rename rlc_stress_test 7 years ago
Andre Puschmann 8fde56c582 unify rlc_am_stress test to allow also UM tests 7 years ago
Andre Puschmann 2935def9fc remove mutex in rlc stress tester 7 years ago
Andre Puschmann 38a3172224 fix RLC AM test 7 years ago
Andre Puschmann f3482445b5 add RLC AM data header parsing test 7 years ago
Andre Puschmann 619a653d4e add another RLC AM resegment test 7 years ago
Andre Puschmann 5fe09666d7 add new RLC AM test for retransmitted PDU segments 7 years ago
Andre Puschmann 20fa7b947d expos various params of stress tester and add pcap functionality 7 years ago
Andre Puschmann d84f6d3d41 add parameter to change loglevel in rlc am stresser 7 years ago
Andre Puschmann 07c704b0dd extend RLC AM stress tester to mimic reestablishment 7 years ago
Andre Puschmann 507ce037bf parameterize RLC AM stress tester and add to ctest suite 7 years ago
Andre Puschmann 94fe9d4a47 rlc: add basic RLC AM reset test 7 years ago
Andre Puschmann a6ccb05bb1 fix mem leak in RLC UM test and RLC AM stress tester 7 years ago
Andre Puschmann b5b1c0bf4b fix memory leaks RLC AM test 7 years ago
Paul Sutton a1f9b35db3 Minor rlc_am_stress_test fix 7 years ago
Paul Sutton e18cb5ba5b Fixing RLC AM tests, adding extra check for segment handling 7 years ago
Paul Sutton 4cf79c1ead Initial fix for segment handling in RLC AM 7 years ago
Andre Puschmann ccfb9314bc fix various coverity bugs 7 years ago
Ismael Gomez 86818ad65f Fix compilations warnings and remove printf debugs 7 years ago
Andre Puschmann 22117156b3 rlc_am: disable stress tester as test 7 years ago
Paul Sutton d1d6cea737 Adding debug helpers 7 years ago
Paul Sutton 60b059f3cc Adding RLC AM stress test 7 years ago
Paul Sutton c40f5e6ef8 Fixes for RLC AM tests 7 years ago
Xavier Arteaga 99ef760b6f More Coverity fixes 7 years ago
Paul Sutton 13b53c4518 Fix for rlc_um_test 7 years ago
Paul Sutton 7848621d8a Fix for RLC AM tests 7 years ago
Paul Sutton ac8cbcaaea 1-byte PDU fix for RLC AM 7 years ago
Paul Sutton 49a105baed Fix for tests, minor fix for RLC UM 7 years ago
Ismael Gomez 6556941e6d simplified MAC timers. Unified mac and upper timers in same background task 7 years ago
Ismael Gomez 5359c42b46 RLC UM release timer at stop() 7 years ago
Andre Puschmann 7ca0988ea3 refactor RLC to use RAT-agnostic config 7 years ago
Andre Puschmann 8dbabb2834 rework bearer/LCID handling
This is a larger patch that reworks the LCID handling throughout the
code.

- It first moves the RB/LCID mapping out of common.h into the RRC object
  because different RATs may have different mappings.
- It adds a interface to RRC that other objects like RLC/PDCP/etc. may
  use to get the bearer name of a specific LCID.
- The patch also introduces a PDCP config class.
7 years ago
Ismael Gomez 6037a2f2bd changed logger classes 7 years ago
Andre Puschmann eb5460174d fixing namespace issue in debug build 8 years ago
Ismael Gomez 8a367bf825 changed srsue namespace to srslte for all common objects 8 years ago
Ismael Gomez e75daee148 renamed include paths for common objects 8 years ago
Andre Puschmann 1d1916d6e0 Merge branch 'restruct_update' into restruct_update_paul 8 years ago
Andre Puschmann c51c4d2a38 fix compile warnings 8 years ago
Paul Sutton 80140c7c38 minor cmake edits 8 years ago
Andre Puschmann 5d66e9701f fixing CMake scripts and include paths 8 years ago
Andre Puschmann d079d25b2c rename srslte folder and src subfolder 8 years ago