mirror of https://github.com/PentHertz/srsLTE.git
nr,rlc: call bsr update callback in RLC UM NR
This commit is contained in:
parent
7ad1ad800e
commit
529e2bdf55
|
@ -84,8 +84,13 @@ uint32_t rlc_um_nr::rlc_um_nr_tx::get_buffer_state()
|
|||
}
|
||||
|
||||
// Room needed for fixed header?
|
||||
if (n_bytes > 0)
|
||||
if (n_bytes > 0) {
|
||||
n_bytes += (cfg.um.is_mrb) ? 2 : 3;
|
||||
}
|
||||
|
||||
if (bsr_callback) {
|
||||
bsr_callback(parent->get_lcid(), n_bytes, 0);
|
||||
}
|
||||
|
||||
return n_bytes;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue