Andre Puschmann
db2c43553e
add basic rlc_am_base class containing data/control PDU check
5 years ago
Andre Puschmann
cea212b9f9
add RLC AM NR PDU packing/unpacking test
5 years ago
Andre Puschmann
b32a4cf294
add RLC AM NR PDU packing and unpacking
5 years ago
Andre Puschmann
b8dbffe0b5
rewrite RLC AM debug code
5 years ago
Andre Puschmann
dc841ab029
printf in rlc_am
5 years ago
Pedro Alvarez
d4fb4d8c86
Fixup clang-format in pdcp before PR.
5 years ago
Pedro Alvarez
15613465cf
Moving some initialization from init function to constructor in the PDCP entities.
5 years ago
Andre Puschmann
b20f7ba541
refactor RLC UM and add NR receiver
5 years ago
Andre Puschmann
03bd63d9ab
rename RLC AM class to RLC AM LTE
5 years ago
Andre Puschmann
2d126371f6
adopt PDCP NR to use new timer class
5 years ago
Pedro Alvarez
ea0a413c8a
Added check on wether the PDCP entity is initialized.
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
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
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
1d56fa6308
Improved speed of tests for COUNT wraparound, by setting the PDCP initial state.
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
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
6cf2bd7bc3
Starting to add reordering queue in the PDCP.
5 years ago
Pedro Alvarez
ff15ed5018
Starting to add timers to the NR PDCP.
5 years ago
Ismael Gomez
575499c95b
Fix HO when doing ping due to reseting of the PDCP counters in reestablishment. Fixes #618
5 years ago
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
5 years ago
Andre Puschmann
80afe5ca40
rlc_um: add missing lock in get_buffer_state()
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
Ismael Gomez
f74efe908b
Fix blocking in resume() after RLF in 100 PRB ( #654 )
5 years ago
David Rupprecht
50332089ce
Add EEA3 and EIA3 support for UE/enodeb and MME
5 years ago
Andre Puschmann
8da610d68b
fix gcc (<= 5) warning with type-limits by casting vr_r to a signed type
...
this warning is a bit annoying as it is really safe to do
that kind of comparision, it's just that for vr_r==0, any other
unsigned number is >= 0.
5 years ago
Andre Puschmann
d9577f0e1e
suppress type-limit warning issued by some compilers by making var signed
...
Used to happen with older gcc giving:
"rlc_am.cc:1791:22: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]"
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
6 years ago
Pedro Alvarez
6efa944b5e
Removed srslte prefix from pdcp_config_t
6 years ago
Pedro Alvarez
dd56d08269
Replaced byte_buffer by array in PDCP base
6 years ago
Pedro Alvarez
8c10eabf23
Changed PDCP LTE to use unique_lock.
6 years ago
Pedro Alvarez
61051b4cb3
Changed PDCP NR read_data_header to return SN.
6 years ago
Pedro Alvarez
491695ab77
Clang-formated PDCP NR PR.
6 years ago
Pedro Alvarez
38bbc55631
Added tests for PDCP NR Rx with SN Len = 18. In-sequence reception seems to work.
6 years ago
Pedro Alvarez
d4aeb12db8
Adding more TX tests to PDCP NR entity.
6 years ago
Pedro Alvarez
39e3800781
Fixed header packing for SN length 18 for PDCP NR. First TX test is passing.
6 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.
6 years ago
Pedro Alvarez
2104e6bbcf
Added test for more TX packets in PDCP NR. Tests passing for TX_NEXT = 0, 2048 and 4096
6 years ago
Pedro Alvarez
ecd164ed65
Starting to add more tx tests to PDCP NR tests.
6 years ago
Pedro Alvarez
af2b593b8c
Added check for integrity in test. First Rx PDCP NR test passing.
6 years ago
Pedro Alvarez
d3b6828082
Changed PDCP configuration to explicitly have tx and rx direction. Decrypt on PDCP NR seems fine.
6 years ago
Pedro Alvarez
ea3c44e9ac
Removing header before decrypting. Continuing to add decryption tests to PDCP NR
6 years ago
Pedro Alvarez
7e6725f0a2
Fixing up PDCP NR tx test. Starting to add rx test.
6 years ago
Pedro Alvarez
a42726f836
Fixed hdr_len_bytes in PDCP NR. Tx seems OK now.
6 years ago