Robert Falkenberg
60c3d79f47
rlc, nr: complete packing of status PDUs with 18bit SNs
2022-03-01 20:44:39 +01:00
Robert Falkenberg
f7515e98cf
rlc, nr: add pack/unpack of nack_range in status PDUs
2022-03-01 15:31:35 +01:00
Robert Falkenberg
b55f8ea624
rlc, nr: cosmetic changes
2022-02-28 16:37:44 +01:00
Robert Falkenberg
0fb6420e8b
rlc, nr: avoid multi increments of SDU's retx_count within one status message
2022-02-28 16:37:44 +01:00
Robert Falkenberg
511ad9ed25
rlc, nr: Increment retx_count for segments
2022-02-28 16:37:44 +01:00
Robert Falkenberg
034aa6a6d4
rlc, nr: inform upper layer when max retransmissions is exceeded
2022-02-28 16:37:44 +01:00
Pedro Alvarez
0c0642c289
lib,rlc_stress_test: changed global pcap handler from .h to .cc. Deleted
...
unecessary #define
2022-02-25 11:09:18 +00:00
Pedro Alvarez
7bcec48e19
lib,rlc_stress_test: fixed issue in making log_hex_limit configurable.
2022-02-25 11:09:18 +00:00
Pedro Alvarez
431ccb2754
lib,rlc_am_nr: Cleaned up rlc_stress test. Split test into .cc and .h
2022-02-25 11:09:18 +00:00
Robert Falkenberg
8f6e3996d3
rlc, nr: add discard_test for AM
2022-02-23 11:18:31 +01:00
Robert Falkenberg
9b44d13471
rlc, nr: notify PDCP about fully acked SDUs
2022-02-23 10:57:21 +01:00
Pedro Alvarez
2156c319d2
lib,rlc_am_nr: temporarily disable RLC AM NR stress test.
2022-02-17 16:37:53 +00:00
Pedro Alvarez
9205ede8c1
lib,rlc_am_nr: enabled RLC AM NR stress tests
2022-02-16 13:23:32 +00:00
Pedro Alvarez
c8d15135c6
lib,rlc_am_nr: addressing reveier comments:
...
* made some methods const
* changed from TESTASSERT to TESTASSERT_EQ
* fix up comment
* removed superfulous if
* used typedef for list of segments received
* added unit test for is_retx_required()
* added unit test for malformed status PDU
2022-02-16 13:23:32 +00:00
Pedro Alvarez
871142b722
lib,rlc_am_nr: fix up the last metric checks in the retx_segment_test()
2022-02-16 13:23:32 +00:00
Pedro Alvarez
3b9ad84bda
lib,rlc_am_nr: fix checking some statistics in unit test
2022-02-16 13:23:32 +00:00
Pedro Alvarez
525d2db454
lib,rlc_am_nr: re-enable all tests
2022-02-16 13:23:32 +00:00
Pedro Alvarez
b13d0ca84a
lib,rlc_am_nr: fixed generation of status report when SOs are present. Starting to test retx of segments.
2022-02-16 13:23:32 +00:00
Pedro Alvarez
876c45c534
lib,rlc_am_nr: added ability to pack/unpack SO_start and SO_end to rlc am nr NACKs. Added unit test for this feature.
2022-02-16 13:23:32 +00:00
Pedro Alvarez
047831e178
lib,rlc_am_nr: fixup compilation of rlc_am_nr_pdu_test when saving pcaps
2022-02-16 13:23:32 +00:00
Pedro Alvarez
12e530a800
lib,rlc_am_nr: fix generation of status report when NACKs of lost SDU segments are present.
2022-02-16 13:23:32 +00:00
Pedro Alvarez
7206517846
lib,rlc_am_nr: starting to add unit test for retx'ing segments. Fixed issue in updating tx_next when segmenting the SDU.
2022-02-16 13:23:32 +00:00
Pedro Alvarez
801eddf899
lib,rlc_am_nr: fix up test regarding retx segmentation
2022-02-16 13:23:32 +00:00
Pedro Alvarez
5fa72b2b3d
lib,rlc_am_nr: fix creation of retx segement from existing segment.
2022-02-16 13:23:32 +00:00
Pedro Alvarez
65d5df8b6e
lib,rlc_am_nr: Continue to add functionality to provide segments of retx'es. Started to add function to re-segment already existing SDU segment
2022-02-16 13:23:32 +00:00
Pedro Alvarez
e4a72de342
lib,rlc_am_nr: refactored build_pdu helpers to receive the payload pointer for consistency. Added function to segment retx. Added some comments to build PDU helper functions.
2022-02-16 13:23:32 +00:00
Pedro Alvarez
b1a33a07a1
lib,rlc_am_nr: starting to add test for segmenting retx. Changed sdu under segmentation to only hold the SN. The actual SDU already exists in the pdu stored in the tx_window.
2022-02-16 13:23:32 +00:00
Francisco
a2174a5714
Fix type storage copy and move assignment function helper
...
Previously, in the case both the lhs and rhs optionals were present, the copy/move assignments were erroneously destroying the lhs object.
2022-02-15 16:50:21 +01:00
Bedran Karakoc
70084cf9cc
Added unit test for K_gnb derivation
2022-01-25 14:24:58 +01:00
Francisco
3c25b6cb24
asn1: remove presence flag for lists and octet strings, as the size of the latter implicitly tell if the asn1 field is present
2022-01-17 11:58:00 +00:00
Francisco
f7efee9884
asn1: use typedefs for amf_ue_ngap_id, ran_ue_ngap_id, mme_ue_s1ap_id and enb_ue_s1ap_id and changed interface to access s1ap and ngap protocol_ies
2022-01-11 22:59:38 +00:00
Francisco Paisana
d5f5df3e7b
asn1: place common asn1 type for empty ie object sets in asn1_utils.h
2022-01-11 22:59:38 +00:00
Francisco Paisana
ec1ed9d4a5
asn1: fix json generation for s1ap/ngap and improve ie protocol field interface
2022-01-11 22:59:38 +00:00
Francisco Paisana
61e225d762
asn1: move setup_release_c from rrc_nr_asn1 to asn1_utils and improved interface
2022-01-11 22:59:38 +00:00
Francisco Paisana
2d2a5bee03
asn1: update procotol_ie_single_container interface to use -> operator instead of .value to access container content
2022-01-11 22:59:38 +00:00
Francisco Paisana
6b181e7a94
asn1: move protocol_ie_single_container_s to asn1_utils, so it can be used by ngap, s1ap, and other layers
2022-01-11 22:59:38 +00:00
Francisco Paisana
c8f7976014
asn1: use byte buffer pool for temporary variable length field generation instead of stack array
2022-01-11 22:59:38 +00:00
Pedro Alvarez
e9a47ef7b1
lib,rlc_am_nr: added assert to make sure we never write over nof_bytes
2022-01-10 23:25:44 +00:00
Pedro Alvarez
8afea13d9a
lib,rlc_am_nr: added initial logic to support receiving PDU segments.
2022-01-10 23:25:44 +00:00
Pedro Alvarez
76c33c78a9
lib,rlc_am_nr: starting to add test for segmentation. Starting to add functions for creating new segments and segment continuation.
2022-01-10 23:25:44 +00:00
Pedro Alvarez
f544cc7f7e
lib,rlc_am_nr: fixed issue introduced with the changes of the header packing.
2022-01-10 23:25:44 +00:00
Pedro Alvarez
40fab8fdb4
lib,rlc_am_nr: starting to add segmentation test
2022-01-10 23:25:44 +00:00
Francisco Paisana
40138c7125
changed namespace of asn1 ngap from 'ngap_nr' to simply 'ngap'
2022-01-05 18:26:05 +01:00
Fabian Eckermann
93210d9bb3
Add unit tests for new functions.
2021-12-14 18:00:49 +01:00
Pedro Alvarez
17d2eb0ea7
lib,rlc_am_lte: added unit test for t-pollRetransmssion re-arming when ACK/NACK is received.
2021-12-09 11:30:59 +00:00
Pedro Alvarez
b425316936
lib,rlc_am_nr: fixed tx_mod_base_nr(). Added unit test for inside_tx_window().
2021-12-07 16:46:26 +00:00
Pedro Alvarez
3d5682b180
lib,rlc_am_nr: added unit tests to check inside_rx_window helper
2021-12-07 16:46:26 +00:00
Francisco
3bd77befd3
nr,gnb,asn1: update asn1 rrc nr unit test
2021-11-25 16:49:50 +00:00
Pedro Alvarez
b497d773ce
lib,rlc_am_nr: Fixed some metrics calculation. Added more precise metrics checking to unit tests
2021-11-22 17:42:52 +00:00
Pedro Alvarez
b794593469
lib,rlc_am_nr: added processing of ACKs from status report
2021-11-22 17:42:52 +00:00