lib,rlc_am_nr: no error on insufficient space for new or continued segment.

This commit is contained in:
Robert Falkenberg 2022-05-19 13:31:44 +02:00
parent cbc8364a94
commit e0620873ef
1 changed files with 8 additions and 8 deletions

View File

@ -259,7 +259,7 @@ uint32_t rlc_am_nr_tx::build_new_sdu_segment(rlc_amd_tx_pdu_nr& tx_pdu, uint8_t*
// Sanity check: can this SDU be sent considering header overhead?
if (nof_bytes <= min_hdr_size) { // Small header as SO is not present
RlcError("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, "
RlcInfo("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, "
"min_hdr_size=%d",
nof_bytes,
min_hdr_size);
@ -332,7 +332,7 @@ uint32_t rlc_am_nr_tx::build_continuation_sdu_segment(rlc_amd_tx_pdu_nr& tx_pdu,
// Sanity check: can this SDU be sent considering header overhead?
if (nof_bytes <= max_hdr_size) { // Larger header size, as SO is present
RlcError("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, "
RlcInfo("cannot build new sdu_segment, there are not enough bytes allocated to tx header plus data. nof_bytes=%d, "
"max_header_size=%d",
nof_bytes,
max_hdr_size);