sched,nr: fix SR slot derivation in scheduler

master
Francisco Paisana 3 years ago committed by Andre Puschmann
parent 8d30ed0721
commit 37bdf53f42

@ -125,7 +125,7 @@ void slot_cc_worker::postprocess_decisions()
{ {
auto& bwp_slot = cell.bwps[0].grid[bwp_alloc.get_pdcch_tti()]; auto& bwp_slot = cell.bwps[0].grid[bwp_alloc.get_pdcch_tti()];
srsran_slot_cfg_t slot_cfg{}; srsran_slot_cfg_t slot_cfg{};
slot_cfg.idx = bwp_alloc.get_pdcch_tti().slot_idx(); slot_cfg.idx = bwp_alloc.get_pdcch_tti().to_uint();
for (auto& ue_pair : slot_ues) { for (auto& ue_pair : slot_ues) {
auto& ue = ue_pair.second; auto& ue = ue_pair.second;

@ -500,7 +500,7 @@ void rrc_nr::ue::send_dl_ccch(dl_ccch_msg_s* dl_ccch_msg)
// Helper for the RRC Reconfiguration sender to pack hard-coded config // Helper for the RRC Reconfiguration sender to pack hard-coded config
int rrc_nr::ue::pack_secondary_cell_group_config_common(asn1::rrc_nr::cell_group_cfg_s& cell_group_cfg_pack) int rrc_nr::ue::pack_secondary_cell_group_config_common(asn1::rrc_nr::cell_group_cfg_s& cell_group_cfg_pack)
{ {
auto& pscell_cfg = parent->cfg.cell_list.at(UE_PSCELL_CC_IDX); auto& pscell_cfg = parent->cfg.cell_list.at(UE_PSCELL_CC_IDX);
// RLC for DRB1 (with fixed LCID) // RLC for DRB1 (with fixed LCID)
cell_group_cfg_pack.rlc_bearer_to_add_mod_list_present = true; cell_group_cfg_pack.rlc_bearer_to_add_mod_list_present = true;

Loading…
Cancel
Save