From e0ad960fd7f250ce5b6005773b792af59dca124c Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Fri, 12 Jan 2018 14:27:22 +0000 Subject: [PATCH] Reporting +1 in buffer state from RLC AM to avoid eNB issues with 1-byte packets --- lib/src/upper/rlc_am.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/upper/rlc_am.cc b/lib/src/upper/rlc_am.cc index c048133d6..f497acd73 100644 --- a/lib/src/upper/rlc_am.cc +++ b/lib/src/upper/rlc_am.cc @@ -229,7 +229,7 @@ uint32_t rlc_am::get_total_buffer_state() // Room needed for fixed header? if(n_bytes > 0) { - n_bytes += 2; + n_bytes += 3; log->debug("Buffer state - tx SDUs: %d bytes\n", n_bytes); } @@ -285,7 +285,7 @@ uint32_t rlc_am::get_buffer_state() // Room needed for fixed header? if(n_bytes > 0) { - n_bytes += 2; + n_bytes += 3; log->debug("Buffer state - tx SDUs: %d bytes\n", n_bytes); }