Pedro Alvarez
6265325e20
Starting to change test to also run the clock.
5 years ago
Pedro Alvarez
8511fca940
Clang-formated to prepare for PR
5 years ago
Pedro Alvarez
d3a07fdd38
Added check for overflow at RX. Adding more tests.
5 years ago
Pedro Alvarez
eb1470621a
Added function to generate vector of PDUs
5 years ago
Pedro Alvarez
ed24544a63
Added debug print for out of order, wraparound and duplicate RX PDUs. Adding a helper function to help generate a vector of test PDUs
5 years ago
Pedro Alvarez
a191eb6606
Fixed up some PDCP tx tests.
5 years ago
Pedro Alvarez
2752e3cff5
Starting to stop tx'ing packets if TX_NEXT overflows.
5 years ago
Pedro Alvarez
62230c6ab9
Starting to have overflow protection in PDCP NR tx
5 years ago
Pedro Alvarez
f872c1b55a
Added test for PDCP COUNT wraparound. (Needs to be changed, COUNT wraparound is not allowed.)
5 years ago
Pedro Alvarez
f29dd3c5de
Added test for reordering at COUNT wraparound. Failing at the moment (as expected).
5 years ago
Pedro Alvarez
1d56fa6308
Improved speed of tests for COUNT wraparound, by setting the PDCP initial state.
5 years ago
Pedro Alvarez
ffc26a702d
Changed the name of more PDUs
5 years ago
Pedro Alvarez
cb0466bce7
Starting to change the expected pdus name.
5 years ago
Pedro Alvarez
49e0e3a24a
Added helper function to generate expected PDUs
5 years ago
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.
5 years ago
Pedro Alvarez
517ce8a220
Added test to test out of order COUNT wraparoung. Added setters to help with the testers.
5 years ago
Pedro Alvarez
727436ec0b
Added helper function to compare two packets. Making generic function to test out of order packets.
5 years ago
Pedro Alvarez
43c68fe78b
Sarting to add test for out of order wrap-around.
5 years ago
Pedro Alvarez
ceea761ca4
Added append_bytes method to byte_buffer_t class. Continue to reduce boilerplate.
5 years ago
Pedro Alvarez
59bc2baf3f
Continue to reduce boiler plate
5 years ago
Pedro Alvarez
df7a020e5f
removing some boiler plate
5 years ago
Pedro Alvarez
977238a79c
Added pdcp_nr_test.h to reduce boiler code in the pdcp_nr_test.cc
5 years ago
Pedro Alvarez
837ca9e07e
Changed name of helper class
5 years ago
Pedro Alvarez
be090768c9
Making helper class to reduce boilerplate in PDCP NR tests.
5 years ago
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.
5 years ago
Pedro Alvarez
45d298507b
Starting to move pdcp configs to rrc_interface_types. Starting to add test for reorder timeout.
5 years ago
Pedro Alvarez
f06e1af4e0
Added test for receiving out of order NR PDCP packets
5 years ago
Pedro Alvarez
ff15ed5018
Starting to add timers to the NR PDCP.
5 years ago
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
5 years ago
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
5 years ago
Andre Puschmann
c99d5077c8
add RLC UM NR transmitter
5 years ago
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
5 years ago
Andre Puschmann
e42449532b
fix wrong namespace definition in various places
5 years ago
Pedro Alvarez
6efa944b5e
Removed srslte prefix from pdcp_config_t
5 years ago
Pedro Alvarez
8c10eabf23
Changed PDCP LTE to use unique_lock.
5 years ago
Pedro Alvarez
494be243c0
Changed security direction to use an enum.
5 years ago
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