|
|
@ -722,9 +722,10 @@ int rlc_am_lte::rlc_am_lte_tx::build_segment(uint8_t* payload, uint32_t nof_byte
|
|
|
|
if (pdu_len > static_cast<int>(nof_bytes)) {
|
|
|
|
if (pdu_len > static_cast<int>(nof_bytes)) {
|
|
|
|
log->error("%s Retx PDU segment length error. Available: %d, Used: %d\n",
|
|
|
|
log->error("%s Retx PDU segment length error. Available: %d, Used: %d\n",
|
|
|
|
RB_NAME, nof_bytes, pdu_len);
|
|
|
|
RB_NAME, nof_bytes, pdu_len);
|
|
|
|
log->debug("%s Retx PDU segment length error. Header len: %" PRIu64 ", Payload len: %d, N_li: %d\n",
|
|
|
|
int header_len = (ptr - payload);
|
|
|
|
|
|
|
|
log->debug("%s Retx PDU segment length error. Header len: %d, Payload len: %d, N_li: %d\n",
|
|
|
|
RB_NAME,
|
|
|
|
RB_NAME,
|
|
|
|
(ptr - payload),
|
|
|
|
header_len,
|
|
|
|
len,
|
|
|
|
len,
|
|
|
|
new_header.N_li);
|
|
|
|
new_header.N_li);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1427,10 +1428,8 @@ void rlc_am_lte::rlc_am_lte_rx::reassemble_rx_sdus()
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
log->error("Cannot read %d bytes from rx_window. vr_r=%d, msg-buffer=%" PRIu64 " bytes\n",
|
|
|
|
int buf_len = rx_window[vr_r].buf->msg - rx_window[vr_r].buf->buffer;
|
|
|
|
len,
|
|
|
|
log->error("Cannot read %d bytes from rx_window. vr_r=%d, msg-buffer=%d B\n", len, vr_r, buf_len);
|
|
|
|
vr_r,
|
|
|
|
|
|
|
|
(rx_window[vr_r].buf->msg - rx_window[vr_r].buf->buffer));
|
|
|
|
|
|
|
|
rx_sdu.reset();
|
|
|
|
rx_sdu.reset();
|
|
|
|
goto exit;
|
|
|
|
goto exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|