Reporting +1 in buffer state from RLC AM to avoid eNB issues with 1-byte packets

master
Paul Sutton 7 years ago
parent b12f500207
commit e0ad960fd7

@ -229,7 +229,7 @@ uint32_t rlc_am::get_total_buffer_state()
// Room needed for fixed header? // Room needed for fixed header?
if(n_bytes > 0) { if(n_bytes > 0) {
n_bytes += 2; n_bytes += 3;
log->debug("Buffer state - tx SDUs: %d bytes\n", n_bytes); 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? // Room needed for fixed header?
if(n_bytes > 0) { if(n_bytes > 0) {
n_bytes += 2; n_bytes += 3;
log->debug("Buffer state - tx SDUs: %d bytes\n", n_bytes); log->debug("Buffer state - tx SDUs: %d bytes\n", n_bytes);
} }

Loading…
Cancel
Save