Pedro Alvarez
49e0e3a24a
Added helper function to generate expected PDUs
2019-11-07 14:12:08 +01:00
Pedro Alvarez
39943367ab
Starting to add the ability to tweak the initial state of the PDCP NR state, so that the tests of counter wraparound don't take hours.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
517ce8a220
Added test to test out of order COUNT wraparoung. Added setters to help with the testers.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
727436ec0b
Added helper function to compare two packets. Making generic function to test out of order packets.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
43c68fe78b
Sarting to add test for out of order wrap-around.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
ceea761ca4
Added append_bytes method to byte_buffer_t class. Continue to reduce boilerplate.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
59bc2baf3f
Continue to reduce boiler plate
2019-11-07 14:12:08 +01:00
Pedro Alvarez
df7a020e5f
removing some boiler plate
2019-11-07 14:12:08 +01:00
Pedro Alvarez
977238a79c
Added pdcp_nr_test.h to reduce boiler code in the pdcp_nr_test.cc
2019-11-07 14:12:08 +01:00
Pedro Alvarez
837ca9e07e
Changed name of helper class
2019-11-07 14:12:08 +01:00
Pedro Alvarez
be090768c9
Making helper class to reduce boilerplate in PDCP NR tests.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
b7fdcaabc5
Starting to add reordering timers at PDCP NR entity. Timeout seems to be triggered correctly and pass the SDUs to the upper layers when it expires. First tests passing.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
45d298507b
Starting to move pdcp configs to rrc_interface_types. Starting to add test for reorder timeout.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
f06e1af4e0
Added test for receiving out of order NR PDCP packets
2019-11-07 14:12:08 +01:00
Pedro Alvarez
ff15ed5018
Starting to add timers to the NR PDCP.
2019-11-07 14:12:08 +01:00
Andre Puschmann
f4a0bebe1f
fix handling of invalid MAC LCIDs
2019-10-31 21:43:27 +01:00
Andre Puschmann
aa9733eb59
add packing for CCCH over UL-SCH for MAC NR
2019-10-31 21:43:27 +01:00
Francisco Paisana
9ae5563331
fixed timer issue with setting the duration. Setting the duration cannot reset the on-going timer run
2019-10-23 19:33:25 +01:00
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
2019-10-23 19:33:25 +01:00
Francisco Paisana
5953d5ef96
fixed some potential bug related to timer getting stopped, but signaling that it expired
2019-10-23 19:25:48 +01:00
Francisco Paisana
551192705e
allow for pre-reservation of timers vector and priority queue
2019-10-23 19:25:48 +01:00
Francisco Paisana
50a1c9d557
addressed potential overflow, and extended timer test to check if ordering is working correctly
2019-10-23 19:25:48 +01:00
Francisco Paisana
349646a9da
created a new class for timers. It uses a priority queue to avoid incrementing all timers every tti (step_all() went from O(N) to O(1)), and that is not bounded in number of timers. Not being bounded will be useful for layers that require one or more timers per UE
2019-10-23 19:25:48 +01:00
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
Andre Puschmann
f07a9277a0
fix RLC AM issue where an invalid status PDU was generated
...
happens when very small grant is provided and the status
PDU generation fails because of a too small grant
add extra check to prevent that ACK_SN is also in NACKS list
2019-10-04 16:29:03 +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
Andre Puschmann
c99d5077c8
add RLC UM NR transmitter
2019-09-20 16:33:25 +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
Ismael Gomez
6bb0790cf1
Fix coverty issues ( #652 )
2019-09-13 15:06:20 +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
bfddc55148
RRC-PHY interface ( #639 )
...
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1
Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
2019-09-04 16:59:10 +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
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
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
ad64207a32
added test for unknown group extensions, and the asn1 lib version in its generated files
2019-09-02 20:21:54 +02:00
Francisco Paisana
c9d3b61038
added resumable procedures to make RRC and NAS non-blocking
2019-08-08 10:56:54 +02:00
Andre Puschmann
e42449532b
fix wrong namespace definition in various places
2019-08-07 15:32:49 +02:00
Pedro Alvarez
6efa944b5e
Removed srslte prefix from pdcp_config_t
2019-07-30 15:01:50 +02:00
Pedro Alvarez
8c10eabf23
Changed PDCP LTE to use unique_lock.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
494be243c0
Changed security direction to use an enum.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
491695ab77
Clang-formated PDCP NR PR.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
38bbc55631
Added tests for PDCP NR Rx with SN Len = 18. In-sequence reception seems to work.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
d4aeb12db8
Adding more TX tests to PDCP NR entity.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
39e3800781
Fixed header packing for SN length 18 for PDCP NR. First TX test is passing.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
d399c65082
Starting to add PDCP SN len 18 unit tests.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
7a69e8ba64
Removed comment.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
adfe9f950e
Fixed issue in computing the SN. Added test for packets received in sequence for PDCP NR. Test is passing now.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
2104e6bbcf
Added test for more TX packets in PDCP NR. Tests passing for TX_NEXT = 0, 2048 and 4096
2019-07-30 15:01:50 +02:00
Pedro Alvarez
ecd164ed65
Starting to add more tx tests to PDCP NR tests.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
af2b593b8c
Added check for integrity in test. First Rx PDCP NR test passing.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
d3b6828082
Changed PDCP configuration to explicitly have tx and rx direction. Decrypt on PDCP NR seems fine.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
7e6725f0a2
Fixing up PDCP NR tx test. Starting to add rx test.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
378c8d247e
Starting to add the mechanisms to store the last PDU in the PDCP tests.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
73e30743d1
Added enum to PDCP config to replace two bools.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
457f35699d
Reverted back to a single config structure between PDCP NR and PDCP LTE.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
810cacdc02
Adding write_data_header and append_mac helper functions to PDCP NR entity.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
d1ac121100
Writting PDU into PDCP in tx test.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
c9e99443d8
Adding PDCP NR Tx test.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
4bb99464ed
Starting to add PDCP NR tests.
2019-07-30 15:01:50 +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
2ae35e4ce0
make sure status PDU doens't exceed grant size
2019-07-14 07:29:10 +02:00
Xavier Arteaga
5e49aca835
Merge pull request #570 from softwareradiosystems/feature_256qam_fix
...
Resource allocation extended tables and PDSCH table 2 for 256QAM
2019-07-12 12:32:47 -04:00
Guillem Foreman
2a8ec5c9b9
More fixes 256QAM
2019-07-12 15:35:27 +02:00
Guillem Foreman
eab73829f6
Changes requested
2019-07-12 14:11:26 +02:00
Ismael Gomez
8c41625599
Add RLC suspend and resume
2019-07-12 13:08:42 +02:00
Andre Puschmann
db196cc052
add RLC AM test for status PDU generation with small and big MAC grants
2019-07-12 13:06:39 +02:00
Andre Puschmann
9f3a947c02
modify RLC AM retx test to provide exactly a MAC opportunity of the size
...
that is reported as buffer state
2019-07-12 13:06:39 +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
Francisco Paisana
92b4b168fe
added default rlc um and am in the interface as factories
2019-07-05 10:44:15 +02:00
Francisco Paisana
b903c1a52c
made default init for rlc um test
2019-07-05 10:44:15 +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
Francisco Paisana
c5509caece
added extra operators and remove rrc_asn1 in some cmake targets
2019-07-05 10:44:15 +02:00
Francisco Paisana
b936629221
removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests
2019-07-05 10:44:15 +02:00
Guillem Foreman
46724c336d
Fixed errors for phy_dl_test and pdsch test
2019-07-04 15:49:43 +02:00
Guillem Foreman
db4127ca64
Fixes 256QAM, added pdsch table 2, fixed warnings
2019-07-04 15:49:43 +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
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
b32254c5e2
use lock_guard for GW
2019-06-12 20:44:23 +02:00
Andre Puschmann
89416a67c7
increase timeout for rlc stress tests
...
for valgrind where we sometimes hit the default timeout of 1500s
2019-06-12 20:44:23 +02:00
Pedro Alvarez
2fcf8c1827
Starting to add packing and unpacking tests to activate EPS bearer context request.
2019-06-07 21:40:03 +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
Ismael Gomez
ade720e032
Add RLC resume procedure
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
Andre Puschmann
ee1f910877
pdu: add unit test for packing and unpacking RAR PDUs
2019-05-30 13:06:42 +02:00
Pedro Alvarez
1031ea896d
add NAS activate dedicated bearer request unpacking test
2019-05-30 13:05:02 +02:00
Andre Puschmann
65f50cd7ba
introduce new UE layer design
...
- abstract UE object now consists of a radio, a PHY, and a stack layer
- add new stack abstraction layer that combines MAC, RLC, RRC, PDCP, NAS and GW
- PHY layer now has a single stack interface and does not talk to MAC and RRC seperatly
2019-05-17 17:46:28 +02:00
Andre Puschmann
3a6dd9b164
move UE RRC into own folder
2019-05-17 17:25:50 +02:00
Francisco Paisana
0e3baa0f2f
Renamed the reset() method of byte_buffer_t to clear()
2019-05-16 12:35:01 +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
Francisco Paisana
7be183c223
rework scheduler
2019-05-14 22:34:50 +02:00
Andre Puschmann
780ea8867c
fix asn1_m2ap test
...
- there was an issue in the stack allocation of the large
m2ap pdu struct that was fixed by heap-allocating it
- there was also an issue in the m2ap packing that used
a temporary struct that was not initialized
2019-05-03 12:09:57 +02:00
Andre Puschmann
723cd71a3a
remove usage of <assert> in rlc_um_test
2019-05-03 10:58:05 +02:00
Andre Puschmann
46cc5a1985
use buffer pool in rlc_um_test
2019-05-03 10:52:16 +02:00
Andre Puschmann
498c1bae26
remove usage of <assert> in asn1_m2ap test
2019-05-02 13:38:59 +02:00
Pedro Alvarez
f2530eb57b
Fix rlc_am_data_test to avoid compiler warning from memset
2019-05-02 11:41:59 +02:00
Pedro Alvarez
3a502ccd13
Removed memset from rlc_status_pdu in test, to avoid compiler warnings.
2019-05-02 11:41:59 +02:00
Xavier Arteaga
c18a59730c
Solved PHY unit test memory leaks
2019-04-30 15:56:47 +02:00
Francisco Paisana
1674c8939f
automatically resolve invalid prach_offset for prb6
2019-04-29 15:53:59 +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
Ismael Gomez
7780b1aba5
add tdd/ca support
2019-04-25 20:57:58 +02:00
Andre Puschmann
0aef6f8d4a
fix various uninitialized variables
2019-02-10 09:08:06 +01:00
David Rupprecht
3d458319c9
fixed decoding of multiple s1ap plmns
2019-01-21 10:55:06 +01:00
Francisco Paisana
0204db2e12
new asn1 rrc library
2019-01-17 17:43:13 +01:00
Andre Puschmann
db3ce8ade9
remove clang-tidy execution for srslte_upper
2018-12-18 11:53:12 +01: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
3205121015
M2 interface packing/unpacking ( #305 )
...
* Starting to add M2AP serialization structures.
* Added M2AP procedure ids.
* Added some M2AP max values.
* Removing m2ap.cc for now.
* Adding cause IE.
* Adding dummy m2ap.cc to check correct compilation of m2ap.h
* Fixed compilation issues in m2ap.h
* Adding Cell Information IE.
* Added Criticality diagnostics IE.
* Adding eNB-MBMS-ConfigurationDataItem.
* Adding MBMS-Service-Area-Id-List
* Added MBMS Service Area Id.
* Added Global eNB Id IE.
* Added Global MCE id IE.
* Added MBMS-Service-associatedLogicalM2-ConnectionItem IE.
* Added MBSFN_SUBFRAME_CONFIGURATION IE
* Added MCCHrelatedBCCH-ConfigPerMBSFNArea IE.
* Added MCH scheduling period IE.
* Added PMCH-Configuration IE.
* Added Time-to-Wait IE.
* Added TNL-Information IE.
* Starting to add M2SetupRequest msg.
* Adding M2 Setup Request message.
* Fixed up enums related to initiating messages, successful outcome and unscesseful outcome.
* Starting to add m2ap apck/unpack PDU functions.
* Started to add a test for M2 Setup Request Pack/Unpack.
* Filling in M2SetupRequest structure.
* Adding packing of more IEs in the M2SetupRequest.
* Starting to add unpacking functions to M2SetupRequest.
* Continuing to unpack M2SetupRequest. Unpacking PLMN Identity correctly now.
* Fixed up enb_id unpacking. eNB Id and eNB name unpacking correctly now.
* Starting to add unpacking for dataconfiguration item.
* Adding support for eCGI unpacking.
* Adding MBSFN Synchronization Area id Unpacking.
* Adding service area unpacking.
* Added unpacking functionality to the rest of the IEs in the M2 Setup Request. Unpacking the M2 Setup Request is passing unit test.
* Fized mistake in packing eNB Id. Starting to add packing to eCGI.
* Starting to pack value in ENB MBMS Configuration item.
* Fixed packing of ENB MBMS configuration item header.
* Packing of M2 Setup request is now passing the unit test.
* Starting to add M2setup response.
* Starting to add packing/unpacking succeful outcome.
* Starting to add M2SetupResponse to test.
* Continue to add testing to setup response. Choice type seems OK.
* Starting to add unpacking to MCE Id.
* Adding MCEname packing/unpacking.
* Continue to unpack m2setupresponse.
* Adding MBMS Area Id unpacking
* Added pddch length unpacking.
* Adding more IE unpacking.
* Adding more code to unpack M2 Setup response.
* Added M2 Setup response unpacking.
* Added M2 response packing. Fixed mistake on eCGI packing/unpacking, which broke M2 Setup request.
* M2 setup request and response pack and unpacking seems to work.
* Starting to add MBMS Session Start Request.
* Continue to unpack MBMS session start request.
* Added TMGI unpacking.
* Continue to add unpacking to MBMS session start request
* Starting to add TNL Information unpacking
* Added unpack for MBMS session start request.
* Strating to add MBMS session start request packing.
* Adding MCE MBMS M2AP Id packing.
* Added MBMS Session Start Reqeust pack and unpack.
* Added MBMS Session start response packing/unpacking.
* Starting to add unpacking of MBMS Scheduling information.
* Adding MCCH Update time Unpacking.
* Adding MBSFN Area Configuration List Unpacking.
* Starting to add unpack PMCH configuration Item.
* Adding AllocatedSubframesEnd unpack
* Fixed multiple mistakes in unpacking PMCH configuration.
* Unpacking MCH Scheduling Period
* Continue to unpack MBMS Session List Per PMCH Item.
* Added unpacking of PMCH Configuration List. Starting to add unpacking of MBSFN Subframe Configuration List.
* Adding radioframe allocation period and offset unpacking.
* Added unpacking of MBMS Scheduling Information (needs testing.)
* Added more testing to MBMS Scheduling Info.
* Small commit.
* Added more testing to the unpacking of MBMS Scheduling Information. Unpacking correctly now.
* Continue to pack MBMS Scheduling information. Packing PMCH Configuration.
* Fixed mistach in packing PMCH configuration list.
* Adding more packing to MBMS scheduling info message.
* Fixed more mistakes in MBMS Scheduling information packing. Passing tests now.
* Added MBMS Scheduling Information Response.
* Remove debug prints.
2018-12-12 15:22:35 +01:00
Andre Puschmann
398e271eee
add out-of-order test for RLC AM PDUs
2018-11-22 13:18:53 +01: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
a1eca433b0
fix RLC AM tests accordingly
2018-10-03 14:58:24 +02:00
Andre Puschmann
57b472983e
fix RLC TM stress test params
2018-10-03 14:58:24 +02:00
Andre Puschmann
f20535657f
add option to randomize MAC opportunities in RLC tester
2018-10-03 14:58:24 +02:00
Andre Puschmann
58d5208bfc
fix RLC AM test
2018-09-26 16:55:46 +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
7572299615
enable clang-tidy for srslte_upper library
2018-09-25 10:46:36 +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
6c896c4962
fix RLC AM test in release
2018-09-07 10:49:52 +02:00
Andre Puschmann
f14ee09ed3
adapt AM test to new MAC timer
2018-09-07 10:49:52 +02:00
Andre Puschmann
d19eb28a16
fix various variable initializations that gcc-4.8 complained about
2018-09-05 12:34:40 +02:00
Andre Puschmann
55edb92ac5
fix RLC AM test and account for additional header room for retx segments
2018-07-30 16:35:57 +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
1160dac54f
add new RLC AM test for checking correct stopping
2018-07-30 14:56:22 +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
Xavier Arteaga
c1a0b17c40
Improved phy_dl_test
2018-07-17 15:37:57 +02:00
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
Ismael Gomez
86818ad65f
Fix compilations warnings and remove printf debugs
2018-02-09 17:36:44 +01:00
Andre Puschmann
22117156b3
rlc_am: disable stress tester as test
2018-02-09 11:48:26 +01:00
Paul Sutton
d1d6cea737
Adding debug helpers
2018-02-07 23:13:59 +00:00
Paul Sutton
60b059f3cc
Adding RLC AM stress test
2018-02-07 21:59:50 +00:00
Paul Sutton
c40f5e6ef8
Fixes for RLC AM tests
2018-02-05 09:30:58 +00: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
Andre Puschmann
aa6699e25f
Merge branch 'master' into next
2018-01-30 14:22:50 +01:00
Paul Sutton
13b53c4518
Fix for rlc_um_test
2018-01-26 09:17:14 +00:00
David Rupprecht
6fbe26d653
Add test cases for f funtions
2018-01-22 12:20:16 +01:00
Paul Sutton
7848621d8a
Fix for RLC AM tests
2018-01-16 09:17:13 +00: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
Paul Sutton
ac8cbcaaea
1-byte PDU fix for RLC AM
2017-10-25 11:18:49 +01:00
Paul Sutton
bd206e94fc
Merge pull request #77 from softwareradiosystems/measurementreports
...
Adding ASN support for RRC measurement report messages
2017-10-24 13:14:29 +01:00
Paul Sutton
7e3fbbc639
Adding ASN support for RRC measurement report messages
2017-10-20 16:18:26 +01:00
Paul Sutton
49a105baed
Fix for tests, minor fix for RLC UM
2017-10-19 22:21:18 +01:00
Ismael Gomez
6556941e6d
simplified MAC timers. Unified mac and upper timers in same background task
2017-09-19 17:51:35 +02:00
Ismael Gomez
5359c42b46
RLC UM release timer at stop()
2017-09-19 15:15:25 +02:00
Andre Puschmann
7ca0988ea3
refactor RLC to use RAT-agnostic config
2017-07-04 18:29:49 +02:00
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.
2017-07-04 17:48:39 +02:00
Ismael Gomez
6037a2f2bd
changed logger classes
2017-06-23 16:29:46 +02:00
Andre Puschmann
eb5460174d
fixing namespace issue in debug build
2017-06-05 13:12:02 +02:00
Paul Sutton
0b64e8a9ee
Minor cleanup of security library handling in cmake
2017-06-02 15:59:03 +01:00
Ismael Gomez
8a367bf825
changed srsue namespace to srslte for all common objects
2017-06-01 12:25:42 +02: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