Commit 7637ed26 authored by hbilel's avatar hbilel

Merge branch 'develop1B' of https://gitlab.eurecom.fr/oai1B/openairinterface5g...

Merge branch 'develop1B' of https://gitlab.eurecom.fr/oai1B/openairinterface5g into BSR_fixes_fabrice
parents b0b472e0 a6e6a2d6
...@@ -53,6 +53,7 @@ rlc_am_get_buffer_occupancy_in_bytes ( ...@@ -53,6 +53,7 @@ rlc_am_get_buffer_occupancy_in_bytes (
uint32_t header_overhead; uint32_t header_overhead;
// priority of control trafic // priority of control trafic
rlc_pP->status_buffer_occupancy = 0;
if (rlc_pP->status_requested) { if (rlc_pP->status_requested) {
if (rlc_pP->t_status_prohibit.running == 0) { if (rlc_pP->t_status_prohibit.running == 0) {
#if TRACE_RLC_AM_BO #if TRACE_RLC_AM_BO
...@@ -64,7 +65,7 @@ rlc_am_get_buffer_occupancy_in_bytes ( ...@@ -64,7 +65,7 @@ rlc_am_get_buffer_occupancy_in_bytes (
} }
#endif #endif
return ((15 + rlc_pP->num_nack_sn*(10+1) + rlc_pP->num_nack_so*(15+15+1) + 7) >> 3); rlc_pP->status_buffer_occupancy = ((15 + rlc_pP->num_nack_sn*(10+1) + rlc_pP->num_nack_so*(15+15+1) + 7) >> 3);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment