You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andre Puschmann a3d7d4517c rlc_um: add dedicated unit test for the PDU packing bug
Here is the test output with the fix disabled:

13:47:42.679774 [RLC_UM_1] [D] MAC opportunity - 14 bytes
13:47:42.679784 [RLC_UM_1] [D] pdu_space=14, head_len=2
13:47:42.679790 [RLC_UM_1] [D]  adding new SDU segment - 10 bytes of 10 remaining
13:47:42.679834 [RLC_UM_1] [D]  Complete SDU scheduled for tx. Stack latency: 0 us
13:47:42.679909 [RLC_UM_1] [D] pdu_space=4, head_len=2
13:47:42.679922 [RLC_UM_1] [D]  adding new SDU segment - 0 bytes of 10 remaining
13:47:42.679928 [RLC_UM_1] [I]  Tx PDU SN=0 (14 B)
13:47:42.679974 [RLC_UM_1] [D]  vt_us = 1

The test checks the correct packing and of the two PDUs at the end.
4 years ago
..
CMakeLists.txt rlc_stress_test: fix compilation with PCAP enabled 4 years ago
pdcp_base_test.h break down rrc_interface_types.h into multiple files. moved pdcp_config.h to same folder 5 years ago
pdcp_lte_test.h add radio_base/null classes 4 years ago
pdcp_lte_test_rx.cc Split PDCP tx_count state variable into tx_hfn and next_pdcp_tx_sn 4 years ago
pdcp_nr_test.h add radio_base/null classes 4 years ago
pdcp_nr_test_discard_sdu.cc common interface for stack multiqueue tasks, background tasks and timers 5 years ago
pdcp_nr_test_rx.cc common interface for stack multiqueue tasks, background tasks and timers 5 years ago
pdcp_nr_test_tx.cc fix 5g compilation errors 5 years ago
rlc_am_control_test.cc Updated copyright 5 years ago
rlc_am_data_test.cc Updated copyright 5 years ago
rlc_am_nr_pdu_test.cc corrected mac_nr_pdu includes 5 years ago
rlc_am_test.cc rlc: extend RLC metrics 4 years ago
rlc_common_test.cc remove asn1 namespace from srsue files 5 years ago
rlc_stress_test.cc rlc: extend RLC metrics 4 years ago
rlc_test_common.h Updated copyright 5 years ago
rlc_um_data_test.cc Updated copyright 5 years ago
rlc_um_nr_pdu_test.cc corrected mac_nr_pdu includes 5 years ago
rlc_um_nr_test.cc corrected mac_nr_pdu includes 5 years ago
rlc_um_test.cc rlc_um: add dedicated unit test for the PDU packing bug 4 years ago