Robert Falkenberg
e057a8ec27
lib,pdcp_nr: unit test - remove redundant assignment
3 years ago
Robert Falkenberg
a11291eb08
lib,rlc_am_nr: fix handling of NACK ranges with SO reaching SDU edge
...
This changes the handling of NACK ranges with segment offset (SO),
where either so_start or so_end reach the edge of a full SDU.
That SDU is then NACK'ed as a whole, rather than as a segment
from 0 to 0xFFFF.
Otherwise, the search for segments will fail if said SDU was
initially sent as a whole (without segmentation).
3 years ago
Pedro Alvarez
d5909a306f
lib,pdcp_nr: fixed typos and rephrased log in tests.
3 years ago
Pedro Alvarez
540483ba9e
lib,pdcp: added unit test to check discard timer is running when a PDU is TX'ed and stopped when the ACK has been notified.
3 years ago
Pedro Alvarez
e87416ff99
lib,pcdp_nr: added checks for stopped reordering timer and correct state
...
when receiving out-of-order packets in unit tests.
3 years ago
Pedro Alvarez
7f98101f30
lib,pdcp_nr: fix rx unit tests
3 years ago
Pedro Alvarez
904dbff471
lib,pdcp_nr: fixed PDCP NR tx unit tests
3 years ago
Pedro Alvarez
ae8191c46d
lib,rlc_am_nr: make sure we check that ACK_SN is not larger than TX_NEXT (after we checked we didn't get an ACK out of order)
3 years ago
Pedro Alvarez
97b66dbc4c
lib,rlc_am_nr: fixed mal-formed status report in test.
3 years ago
Pedro Alvarez
abc7294316
lib,rlc_am_nr: addded unit test for out of order status report
3 years ago
Robert Falkenberg
95480297f4
lib,rlc_am_nr: unit test removal of ACK'ed SDUs from retx queue
3 years ago
Robert Falkenberg
9a34d4d81b
lib,rlc_am_nr: unit tests for NACK merging
3 years ago
Pedro Alvarez
283199d54f
lib,rlc_am_nr: added unit test for nack ranges without SO
3 years ago
Pedro Alvarez
de67d88ca9
lib,rlc_am_nr: fix buffer state checker in rx status report with ranges test
3 years ago
Pedro Alvarez
c386d89577
lib,rlc_am_nr: fix nack ranges with so
3 years ago
Pedro Alvarez
855ab8f7fd
lib,rlc_am_nr: added unit test to nack ranges
3 years ago
Andre Puschmann
70eaec21e2
all: fix uninitialized variables detected by coverity
3 years ago
Pedro Alvarez
3714548391
lib,rlc_am_nr: re-enable rlc am nr stress tests
3 years ago
Pedro Alvarez
68cc16ad68
lib,rlc_am_nr: fix assert triggered by receiving duplicate segments
3 years ago
Pedro Alvarez
4d59989f72
lib,rlc_am_nr: fix t-PollRetransmion timer test to work with 18bit SN
3 years ago
Pedro Alvarez
abfa113576
lib,rlc_am_nr: fix wrong buffer state calculation for segment RETXes
...
when SO=0
3 years ago
Pedro Alvarez
d7a32a0ea5
lib,rlc_am_nr: sending first SDU segment if t-PollRetransmit expires
...
instead of full SDU. Adressing test accordingly
3 years ago
Pedro Alvarez
361d3f46e0
lib,rlc_am_nr: starting to fix retx poll expiry test
3 years ago
Pedro Alvarez
2425985ab2
lib,rlc_am_nr: added test for poll retx timer
3 years ago
Robert Falkenberg
c16071a3ac
lib,rlc_am_nr: extend unit tests to check buffer state
3 years ago
Robert Falkenberg
d66c76b374
lib,rlc_am_nr: consider size of all pending retx in buffer state
3 years ago
Robert Falkenberg
e0acb7b81c
lib,rlc_am_nr: update buffer-state-related unit test
3 years ago
Pedro Alvarez
8a27cdf45a
lib,rlc_am_nr: fix incorrectly stopping the t-StatusProhibit
3 years ago
Robert Falkenberg
85c95d94b2
lib,rlc_am_nr_test: add retx test with trimmed status PDU
3 years ago
Robert Falkenberg
a2332d10f2
lib,rlc_am_nr_packing: unit test + bugfix for trimming of status PDUs
3 years ago
Robert Falkenberg
489259dc78
lib,rlc_am_nr: extend status PDU struct with self-contained packed size info
...
This change refactors the rlc_am_nr_status_pdu_t from a simple
container into a class with integrated counter of the packed size.
As this depends on the SN length, the SN length must be passed
via constructor.
3 years ago
Andre Puschmann
ba092c0e9b
asn1,ngap_test: add TC to check unpacking of AMF-UE-ID > 32bits
3 years ago
Robert Falkenberg
87f22bb294
lib,rlc_am_nr_test: cosmetic change, deleted commented code
3 years ago
Robert Falkenberg
25d7258442
lib,rlc_am_nr_test: comment new tests
3 years ago
Robert Falkenberg
3a874e78af
lib,rlc_am_nr_test: fix format string of test delimiter
3 years ago
Robert Falkenberg
69231f000f
lib,rlc_am_nr: don't enqueue segment retx if already pending for retx.
3 years ago
Robert Falkenberg
62558d94da
lib,rlc_am_nr: fix segmented retx of non-contiguous segments
3 years ago
Robert Falkenberg
697781f024
lib,rlc_am_nr: testcase for NACK duplicate (full PDU)
3 years ago
Pedro Alvarez
2f1cf8ee11
lib,rlc_am_nr: make max retx configurable in AM stress test
3 years ago
Pedro Alvarez
4e2f7cf029
lib,rlc_am_nr: make sure that we RETX the segments if we get a NACK for an SDU that was already segmented
3 years ago
Pedro Alvarez
02c077106b
lib,rlc_am_nr: slowdown backoff if we run out of buffers in rlc_stress test
3 years ago
Robert Falkenberg
e5e5266eea
lib,rlc: add stress test support for NR AM18
3 years ago
Robert Falkenberg
dd7bd351b3
lib,rlc_am_nr: fix pack/unpack of NACKs in status PDUs
3 years ago
Pedro Alvarez
718c0ba2cd
lib,rlc: make it easier to save rlc_stress test result log to a file
3 years ago
Pedro Alvarez
0ada2adac7
lib,rlc_am_nr: minor fixes to address coments. Re-added comment, deleted useless assignement and fixed incorrect comment
3 years ago
Pedro Alvarez
981983377d
lib,rlc_am_nr: fixes for retx_segment test for 18bits after changes for Rx_Highest_Status
3 years ago
Pedro Alvarez
1e0e451174
lib,rlc_am_nr: fixes for retx_segment_test after changes to RX_Highest_Status
3 years ago
Pedro Alvarez
f4ff72bff8
lib,rlc_am_nr: fixes for setting the rx_highest_status incorrectly and incorrect status report generation.
3 years ago
Robert Falkenberg
bd6e306c94
lib,rlc_am_nr: extend unit tests for 18-bit SN
3 years ago
Robert Falkenberg
7e13cd0712
lib,rlc_am_nr: rename get_tx_window_size() to get_tx_window_utilization()
3 years ago