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
50ac1c6c0a
cmake: flag install() of compiled targets as OPTIONAL
...
This enables `make install` for partial builds of selected targets,
which otherwise fails because the omitted targets are not present.
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
35146bcb71
lib,rlc_am_nr: fix shadowed variable in RLC RETXes
3 years ago
Robert Falkenberg
c75b8d1708
rlc, nr: increment sequence numbers using modulus 'mod_nr'
3 years ago
Robert Falkenberg
42a8e957d4
rlc, nr: fix rlc_am_nr_tx::has_data()
3 years ago
Robert Falkenberg
95ebc06ec1
rlc: implement SDU discard for AM+UM in NR+LTE
...
- Implemented in common base classes
- Added locking
3 years ago
Robert Falkenberg
9b44d13471
rlc, nr: notify PDCP about fully acked SDUs
3 years ago
Pedro Alvarez
e6d976d115
lib,rlc_am_nr: fixed stack smashing bug that happened when too many NACKs were present in the status report
3 years ago
Pedro Alvarez
ddbd857867
lib,rlc_am_nr: make sure that the RB name is logged when logging the header and status PDUs in NR
3 years ago
Pedro Alvarez
b399724717
lib,rlc_am_nr: fix wrong if checking if the grant was too small to generate a segment
3 years ago
Alejandro Leal
65519eaf3d
Fixes the comparison. uint8_t was promoted to int.
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
c47be649f4
lib,rlc_am_nr: added assert to double check nof_bytes before memcopying into the payload on build_retx_pdu_without_segmentation()
3 years ago
Pedro Alvarez
634c9ea3af
lib,rlc_am_nr: starting to order segments to be able to receive them out-of-order
3 years ago
Pedro Alvarez
832d650574
lib,rlc_am_nr: remove unused variables. Fixed up some comments.
3 years ago
Pedro Alvarez
9bb3b1f18f
lib,rlc_am_nr: remove unused code after re-factor
3 years ago
Pedro Alvarez
4bbbc8ffde
lib,rlc_am_nr: fixed incorrectly adding to many segments when receiving a status report with an SO.
3 years ago
Pedro Alvarez
5e8b7b5ebe
lib,rlc_am_nr: re-factored code for retx'ing with and without segmentation.
3 years ago
Pedro Alvarez
8c53c74c86
lib,rlc_am_nr: fix ptr increment when there is no SO when writting status report without SO.
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
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
38e4c47f34
lib,rlc_am_nr: added current SO to keep track of the SO for the next RETX.
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
Andre Puschmann
26f3f6109b
gw,pdcp,rlc,mac: log rate metrics in debug mode
...
reduce periodic log spam for L2 in info level
3 years ago
Andre Puschmann
aaceb029eb
rlc_am_lte: fix wrong fmt string
3 years ago
Pedro Alvarez
9bd368e0a9
lib,rlc: changed back status and header logging helpers to log directly. Make sure RB name is automatically logged.
3 years ago
Pedro Alvarez
00a60dbb97
lib,rlc: removed duplicate rb_name in logs of rlc_am_base and rlc_tm
3 years ago
Pedro Alvarez
87607a4ea7
lib,rlc: changed RLC UM NR to use new logging macros
3 years ago
Pedro Alvarez
b53da22eb1
lib,rlc: changed return of string helper functions from char* to std::string to avoid UB
3 years ago
Pedro Alvarez
b46c5423f0
lib,rlc: make sure TM rb name is initialized. changed rlc_um_lte to use new logging macros
3 years ago
Pedro Alvarez
e157806db2
lib,rlc_am_lte: removed RB_NAME macro. changed status and data pdu logging helpers to return C strings. Using new logging macros to make sure that RB name is included when logging status and amd pdus.
3 years ago
Pedro Alvarez
0f4b64f13f
lib,rlc: added macros for hex logging that automatically add the rb_name. changed logging to use new macros in multiple places.
3 years ago
Pedro Alvarez
b687072815
lib,rlc: added rb_name and logger to rlc_common. Added macros to help making sure bearer name is always included to the log to rlc_common.h. Started using said macros in TM, UM and AM entities.
3 years ago
yagoda
615ae98a9d
fixing regression bug - adding bsr_callback to mrb
3 years ago
Pedro Alvarez
b0581ae5ae
lib,rlc_am_nr: removed ugly hack to get last element of list. Renamed current_sdu to sdu_under_segmentation.
3 years ago
Pedro Alvarez
e9a47ef7b1
lib,rlc_am_nr: added assert to make sure we never write over nof_bytes
3 years ago