976 Commits (fa56836b14dc6ad7ce0c3484a1944ebe2cdbe63b)

Author SHA1 Message Date
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
Codebot 4d2b5b8eda Adding AGPL copyright to new files 3 years ago
Codebot 9211ad7d51 Merge branch 'next' into agpl_next 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
Codebot dd59dfac7d Adding AGPL copyright to new files 3 years ago
Codebot 123f766935 Merge branch 'next' into agpl_next 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
Robert Falkenberg 329f3e519b lib,rlc_am_nr: reset do_status flag after sending status PDU
and extend unit test to fail when redundant status PDUs exist.
3 years ago
Pedro Alvarez c023dba175 lib,rlc_am_nr: cleaned up some test names and some comments. 3 years ago
Pedro Alvarez b4814bfdc1 lib,rlc_am_nr: added test for polling bit set when retx queue is empty. Fixed lost PDU test now that we correctly set the polling bit. 3 years ago
Pedro Alvarez 47aea19bd3 lib,rlc_am_nr: added test for poll setting in RETXes 3 years ago
Pedro Alvarez 1d1e6dd832 lib,rlc_am_nr: added pollBYTE support and a unit test for it 3 years ago
Robert Falkenberg b52a102021 lib,rlc_am_nr: extend unit tests for 18-bit SNs 3 years ago
Robert Falkenberg 717132e0c3 lib,rlc_am_nr: fix access of unconfigured entity 3 years ago
Robert Falkenberg 11ac8c2529 lib,rlc_am_nr: add support for 18-bit SNs
and first bunch of corresponding unit tests
3 years ago
Robert Falkenberg b6d93577a0 rlc, nr: replace so_end by segment_length 3 years ago
Robert Falkenberg bb7339910f rlc: separate types of rlc_amd_retx_t for LTE and NR 3 years ago
Robert Falkenberg 4886dc8340 rlc, nr: NACK's so_end shall point to last missing byte
and not to first byte received again.
3 years ago
Robert Falkenberg 60c3d79f47 rlc, nr: complete packing of status PDUs with 18bit SNs 3 years ago
Robert Falkenberg f7515e98cf rlc, nr: add pack/unpack of nack_range in status PDUs 3 years ago
Robert Falkenberg b55f8ea624 rlc, nr: cosmetic changes 3 years ago
Robert Falkenberg 0fb6420e8b rlc, nr: avoid multi increments of SDU's retx_count within one status message 3 years ago
Robert Falkenberg 511ad9ed25 rlc, nr: Increment retx_count for segments 3 years ago
Robert Falkenberg 034aa6a6d4 rlc, nr: inform upper layer when max retransmissions is exceeded 3 years ago
Pedro Alvarez 0c0642c289 lib,rlc_stress_test: changed global pcap handler from .h to .cc. Deleted
unecessary #define
3 years ago
Pedro Alvarez 7bcec48e19 lib,rlc_stress_test: fixed issue in making log_hex_limit configurable. 3 years ago
Pedro Alvarez 431ccb2754 lib,rlc_am_nr: Cleaned up rlc_stress test. Split test into .cc and .h 3 years ago
Robert Falkenberg 8f6e3996d3 rlc, nr: add discard_test for AM 3 years ago
Robert Falkenberg 9b44d13471 rlc, nr: notify PDCP about fully acked SDUs 3 years ago
Codebot 81061fd545 Merge branch 'next' into agpl_next 3 years ago
Pedro Alvarez 2156c319d2 lib,rlc_am_nr: temporarily disable RLC AM NR stress test. 3 years ago
Pedro Alvarez 9205ede8c1 lib,rlc_am_nr: enabled RLC AM NR stress tests 3 years ago
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
3 years ago
Pedro Alvarez 871142b722 lib,rlc_am_nr: fix up the last metric checks in the retx_segment_test() 3 years ago
Pedro Alvarez 3b9ad84bda lib,rlc_am_nr: fix checking some statistics in unit test 3 years ago
Pedro Alvarez 525d2db454 lib,rlc_am_nr: re-enable all tests 3 years ago
Pedro Alvarez b13d0ca84a lib,rlc_am_nr: fixed generation of status report when SOs are present. Starting to test retx of segments. 3 years ago
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. 3 years ago
Pedro Alvarez 047831e178 lib,rlc_am_nr: fixup compilation of rlc_am_nr_pdu_test when saving pcaps 3 years ago
Pedro Alvarez 12e530a800 lib,rlc_am_nr: fix generation of status report when NACKs of lost SDU segments are present. 3 years ago
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. 3 years ago
Pedro Alvarez 801eddf899 lib,rlc_am_nr: fix up test regarding retx segmentation 3 years ago
Pedro Alvarez 5fa72b2b3d lib,rlc_am_nr: fix creation of retx segement from existing segment. 3 years ago
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 3 years ago
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. 3 years ago
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. 3 years ago
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.
3 years ago
Codebot fb75a5ef0e Merge branch 'next' into agpl_next 3 years ago
Bedran Karakoc 70084cf9cc Added unit test for K_gnb derivation 3 years ago
Codebot 9664aa3cf4 Merge branch 'next' into agpl_next
# Conflicts:
#	lib/include/srsran/phy/channel/ch_awgn.h
3 years ago
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 3 years ago
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 3 years ago
Francisco Paisana d5f5df3e7b asn1: place common asn1 type for empty ie object sets in asn1_utils.h 3 years ago
Francisco Paisana ec1ed9d4a5 asn1: fix json generation for s1ap/ngap and improve ie protocol field interface 3 years ago
Francisco Paisana 61e225d762 asn1: move setup_release_c from rrc_nr_asn1 to asn1_utils and improved interface 3 years ago
Francisco Paisana 2d2a5bee03 asn1: update procotol_ie_single_container interface to use -> operator instead of .value to access container content 3 years ago
Francisco Paisana 6b181e7a94 asn1: move protocol_ie_single_container_s to asn1_utils, so it can be used by ngap, s1ap, and other layers 3 years ago
Francisco Paisana c8f7976014 asn1: use byte buffer pool for temporary variable length field generation instead of stack array 3 years ago
Pedro Alvarez e9a47ef7b1 lib,rlc_am_nr: added assert to make sure we never write over nof_bytes 3 years ago
Pedro Alvarez 8afea13d9a lib,rlc_am_nr: added initial logic to support receiving PDU segments. 3 years ago
Pedro Alvarez 76c33c78a9 lib,rlc_am_nr: starting to add test for segmentation. Starting to add functions for creating new segments and segment continuation. 3 years ago
Pedro Alvarez f544cc7f7e lib,rlc_am_nr: fixed issue introduced with the changes of the header packing. 3 years ago
Pedro Alvarez 40fab8fdb4 lib,rlc_am_nr: starting to add segmentation test 3 years ago
Codebot 582126d106 Merge branch 'next' into agpl_next 3 years ago
Francisco Paisana 40138c7125 changed namespace of asn1 ngap from 'ngap_nr' to simply 'ngap' 3 years ago
Codebot 21525935ab Merge branch 'next' into agpl_next
# Conflicts:
#	srsue/hdr/phy/ue_lte_phy_base.h
#	srsue/hdr/phy/ue_nr_phy_base.h
3 years ago
Fabian Eckermann 93210d9bb3 Add unit tests for new functions. 3 years ago