remove check that verifies that SRB0 is always activated in the scheduler.

This commit is contained in:
Francisco 2021-03-16 18:17:09 +00:00 committed by Andre Puschmann
parent c3a4cb37f4
commit 1d4e83473e
1 changed files with 0 additions and 6 deletions

View File

@ -785,12 +785,6 @@ srslte::interval<uint32_t> sched_ue::get_requested_dl_bytes(uint32_t enb_cc_idx)
assert(cells.at(enb_cc_idx).configured());
/* Set Maximum boundary */
// Ensure there is space for ConRes and RRC Setup
// SRB0 is a special case due to being RLC TM (no segmentation possible)
if (not lch_handler.is_bearer_dl(0)) {
logger.error("SRB0 must always be activated for DL");
return {};
}
if (cells[enb_cc_idx].cc_state() != cc_st::active) {
return {};
}