Codebot
ac06cf7453
Merge branch 'next' into agpl_next
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
Codebot
e79aa61a9a
Merge branch 'next' into agpl_next
3 years ago
Robert Falkenberg
9a34d4d81b
lib,rlc_am_nr: unit tests for NACK merging
3 years ago
Robert Falkenberg
e9156d4ba2
lib,rlc_am_nr: status PDU creation supports NACK range
3 years ago
Codebot
4d2b5b8eda
Adding AGPL copyright to new files
3 years ago
Codebot
123f766935
Merge branch 'next' into agpl_next
3 years ago
Robert Falkenberg
5bb6cdec1e
lib,rlc_am_nr: use std:vector for nacks in rlc_am_nr_status_pdu_t
...
- Also create tx_status a member to avoid frequent allocations
for each created PDU.
- Remove unused member nack_range from rlc_am_nr_status_pdu_t.
3 years ago
Robert Falkenberg
0cf052e31d
lib,rlc_am_nr: replace hard-coded WINDOWS_SIZE
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
f7515e98cf
rlc, nr: add pack/unpack of nack_range in status PDUs
3 years ago
Codebot
9664aa3cf4
Merge branch 'next' into agpl_next
...
# Conflicts:
# lib/include/srsran/phy/channel/ch_awgn.h
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
Codebot
e0734e584d
Merge branch 'next' into agpl_next
...
# Conflicts:
# lib/include/srsran/rrc/nr/rrc_nr_cfg_utils.h
# lib/src/rrc/CMakeLists.txt
# lib/src/rrc/nr/rrc_nr_cfg_utils.cc
3 years ago
Codebot
3a9014802d
Merge branch 'next' into agpl_next
...
# Conflicts:
# srsenb/hdr/stack/rrc/nr/rrc_config_nr.h
# srsenb/hdr/stack/rrc/rrc_nr.h
# srsenb/src/stack/mac/nr/sched_nr_signalling.cc
# srsenb/test/rrc/rrc_nr_test.cc
3 years ago
Pedro Alvarez
f99d6bc224
lib,rlc: changed get_bearer() to get_lcid().
3 years ago
Pedro Alvarez
debb4a0c6b
Refactored RLC AM segment pool for re-use in both LTE and NR
...
Moved RLC AMD PDU definitions from rlc_am_lte.h to rlc_common.h to make them re-usable in both RLC LTE and RLC NR
3 years ago
Pedro Alvarez
2bb249bf09
Moved RLC AM LTE and NR packing functions to their own file.
3 years ago
Pedro Alvarez
f93d428e49
Moved RLC AM data structures to their own file
3 years ago
Codebot
2cda208936
Merge branch 'next' into agpl_next
3 years ago
Francisco
7aa5f731ce
lte,enb,rlc: push to scheduler pending prioritized bytes both in case of RLC timer expiry or in case of new buffer state detection
3 years ago
Codebot
60fb9ae9a6
Merge branch 'next' into agpl_next
3 years ago
Andre Puschmann
1c3a03cb2b
rlc: fix memleak in queue_rx_pdu
...
* alternative to #3141
* use byte_buffer as queue element
3 years ago
Codebot
585e3c51c1
Merge branch 'next' into agpl_next
...
# Conflicts:
# srsenb/hdr/phy/nr/cc_worker.h
# srsenb/hdr/phy/nr/sf_worker.h
# srsenb/src/phy/nr/cc_worker.cc
# srsenb/src/phy/nr/sf_worker.cc
# test/phy/nr_phy_test.cc
4 years ago
Pedro Alvarez
171d5727be
Moved lib RLC into it's own folder
4 years ago