do not delete LCG config during reset of BSR procedure (#269)

- this caused an issue after HO when the LCGs where gone
  and hence no BSR was provided for DRB until RRC reestablishment
master
Andre Puschmann 6 years ago committed by GitHub
parent 7b4bc6f132
commit 26ed7fe2ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,8 +41,15 @@ bsr_proc::bsr_proc()
initiated = false; initiated = false;
last_print = 0; last_print = 0;
next_tx_tti = 0; next_tx_tti = 0;
triggered_bsr_type=NONE; triggered_bsr_type=NONE;
for (int i=0;i<MAX_LCID;i++) {
lcg[i] = -1;
priorities[i] = -1;
last_pending_data[i] = 0;
}
lcg[0] = 0;
priorities[0] = 99;
} }
void bsr_proc::init(rlc_interface_mac *rlc_, srslte::log* log_h_, mac_interface_rrc::mac_cfg_t *mac_cfg_, srslte::timers *timers_db_) void bsr_proc::init(rlc_interface_mac *rlc_, srslte::log* log_h_, mac_interface_rrc::mac_cfg_t *mac_cfg_, srslte::timers *timers_db_)
@ -68,15 +75,8 @@ void bsr_proc::reset()
reset_sr = false; reset_sr = false;
sr_is_sent = false; sr_is_sent = false;
triggered_bsr_type = NONE; triggered_bsr_type = NONE;
for (int i=0;i<MAX_LCID;i++) { next_tx_tti = 0;
lcg[i] = -1;
priorities[i] = -1;
last_pending_data[i] = 0;
}
lcg[0] = 0;
priorities[0] = 99;
next_tx_tti = 0;
} }
/* Process Periodic BSR */ /* Process Periodic BSR */

Loading…
Cancel
Save