|
|
@ -298,10 +298,10 @@ int mac_nr::slot_indication(const srsran_slot_cfg_t& slot_cfg)
|
|
|
|
|
|
|
|
|
|
|
|
int mac_nr::get_dl_sched(const srsran_slot_cfg_t& slot_cfg, dl_sched_t& dl_sched)
|
|
|
|
int mac_nr::get_dl_sched(const srsran_slot_cfg_t& slot_cfg, dl_sched_t& dl_sched)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
logger.set_context(slot_cfg.idx - TX_ENB_DELAY);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
slot_point pdsch_slot = srsran::slot_point{NUMEROLOGY_IDX, slot_cfg.idx};
|
|
|
|
slot_point pdsch_slot = srsran::slot_point{NUMEROLOGY_IDX, slot_cfg.idx};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger.set_context((pdsch_slot - TX_ENB_DELAY).to_uint());
|
|
|
|
|
|
|
|
|
|
|
|
// Run Scheduler
|
|
|
|
// Run Scheduler
|
|
|
|
sched_nr_interface::sched_rar_list_t rar_list;
|
|
|
|
sched_nr_interface::sched_rar_list_t rar_list;
|
|
|
|
sched_nr_interface::dl_res_t dl_res(rar_list, dl_sched);
|
|
|
|
sched_nr_interface::dl_res_t dl_res(rar_list, dl_sched);
|
|
|
|