Pedro Alvarez
7ccc7d1d20
Starting to notify RLC upon PDCP discard (NR)
2019-12-04 18:21:14 +01:00
Pedro Alvarez
f3eeaf401a
Removed unecessary lambda redirection in pdcp_entity_nr
2019-12-04 18:21:14 +01:00
Andre Puschmann
9493e7492c
add initial RLC AM NR status PDU packing code including tests
2019-11-26 16:52:14 +01:00
Andre Puschmann
db2c43553e
add basic rlc_am_base class containing data/control PDU check
2019-11-26 16:52:14 +01:00
Andre Puschmann
b32a4cf294
add RLC AM NR PDU packing and unpacking
2019-11-26 16:52:14 +01:00
Pedro Alvarez
d4fb4d8c86
Fixup clang-format in pdcp before PR.
2019-11-21 13:18:30 +01:00
Pedro Alvarez
15613465cf
Moving some initialization from init function to constructor in the PDCP entities.
2019-11-21 13:18:30 +01:00
Andre Puschmann
b20f7ba541
refactor RLC UM and add NR receiver
2019-11-16 14:35:16 +01:00
Andre Puschmann
03bd63d9ab
rename RLC AM class to RLC AM LTE
2019-11-15 16:02:37 +01:00
Andre Puschmann
2d126371f6
adopt PDCP NR to use new timer class
2019-11-07 14:12:08 +01:00
Pedro Alvarez
ea0a413c8a
Added check on wether the PDCP entity is initialized.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
cede56abe1
Fix small typo
2019-11-07 14:12:08 +01:00
Pedro Alvarez
8511fca940
Clang-formated to prepare for PR
2019-11-07 14:12:08 +01:00
Pedro Alvarez
d3a07fdd38
Added check for overflow at RX. Adding more tests.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
62230c6ab9
Starting to have overflow protection in PDCP NR tx
2019-11-07 14:12:08 +01:00
Pedro Alvarez
1d56fa6308
Improved speed of tests for COUNT wraparound, by setting the PDCP initial state.
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
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
6cf2bd7bc3
Starting to add reordering queue in the PDCP.
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
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
2019-10-23 19:33:25 +01: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
Andre Puschmann
c99d5077c8
add RLC UM NR transmitter
2019-09-20 16:33:25 +02:00
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]"
2019-09-09 16:30:48 +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
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
0e7c5634f1
Added comment to PDCP maximum SDU size.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
dd56d08269
Replaced byte_buffer by array in PDCP base
2019-07-30 15:01:50 +02:00
Pedro Alvarez
61051b4cb3
Changed PDCP NR read_data_header to return SN.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
f90b69e5f4
More clang-format for PDCP
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
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
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
ea3c44e9ac
Removing header before decrypting. Continuing to add decryption tests to PDCP NR
2019-07-30 15:01:50 +02:00
Pedro Alvarez
a42726f836
Fixed hdr_len_bytes in PDCP NR. Tx seems OK now.
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
c9e99443d8
Adding PDCP NR Tx test.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
8e8a7a4154
Add more logic to PDCP NR tx logic.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
2081b22465
Added PDCP_SN_LEN constants. Added bearer_id and direction back to the pdcp_entity_base.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
8e1b9b9f5b
Starting to implement the receive function of PDCP NR.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
d7a2721bb0
Adding algorithm to get COUNT for PDCP NR. Added convinience functions to manipulate HFN, SN and COUNT.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
52f75c3cf2
Starting to add PDCP NR state variables.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
2449f901f0
Fixed error in setting Kint in pdcp_entity_lte.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
1944bf9a80
Continue to split pdcp_entity_lte and pdcp_entity_nr. Compiling now.
2019-07-30 15:01:50 +02:00