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

This commit is contained in:
hbilel
2016-11-24 18:31:41 +01:00
+2 -1
View File
@@ -53,6 +53,7 @@ rlc_am_get_buffer_occupancy_in_bytes (
uint32_t header_overhead;
// priority of control trafic
rlc_pP->status_buffer_occupancy = 0;
if (rlc_pP->status_requested) {
if (rlc_pP->t_status_prohibit.running == 0) {
#if TRACE_RLC_AM_BO
@@ -64,7 +65,7 @@ rlc_am_get_buffer_occupancy_in_bytes (
}
#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);
}
}