aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-07-01 12:57:06 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-07-01 16:04:48 +0200
commitaa2788975cb365fd76b9cdba2831f9c18b1b0b5c (patch)
tree86ca2bf2859e05015e630179f358e9cbc7638fb2
parentf861d312fee49caee437858d71bca54852fa3b0a (diff)
-rw-r--r--src/decoding.cpp3
-rw-r--r--src/tbf_ul.cpp6
2 files changed, 7 insertions, 2 deletions
diff --git a/src/decoding.cpp b/src/decoding.cpp
index 0437994..c0e9c32 100644
--- a/src/decoding.cpp
+++ b/src/decoding.cpp
@@ -266,6 +266,9 @@ int Decoding::rlc_data_from_ul_data(
if (chunks_size == 0)
return num_chunks;
+ LOGP(DRLCMACUL, LOGL_NOTICE, "pespin: offset=%u num_chunks=%d e=%d\n",
+ offs, num_chunks, rdbi->e ? 1 : 0);
+
/* LLC */
for (i = 0; i < num_chunks; i++) {
chunks[i].offset = offs;
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index 489fc87..1c9866f 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -224,11 +224,12 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged(
bool need_rlc_data = false;
LOGPTBFUL(this, LOGL_DEBUG,
- "Got %s RLC data block: CV=%d, BSN=%d, SPB=%d, PI=%d, E=%d, TI=%d, bitoffs=%d\n",
+ "Got %s RLC data block: CV=%d, BSN=%d, SPB=%d, PI=%d, E=%d, TI=%d, bitoffs=%d, data_len=%d\n",
mcs_name(rlc->cs),
rdbi->cv, rdbi->bsn, rdbi->spb,
rdbi->pi, rdbi->e, rdbi->ti,
- rlc->data_offs_bits[block_idx]);
+ rlc->data_offs_bits[block_idx],
+ rdbi->data_len);
/* Check whether the block needs to be decoded */
@@ -277,6 +278,7 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged(
block->len =
Decoding::rlc_copy_to_aligned_buffer(rlc,
block_idx, data, rlc_data);
+ LOGPTBFUL(this, LOGL_NOTICE, "pespin: rdbi->data_len=%d, block->len=%d\n", rdbi->data_len, block->len);
}
LOGPTBFUL(this, LOGL_DEBUG,