mirror of https://github.com/PentHertz/srsLTE.git
nr,gnb,mac: fix log tti context overflow
This commit is contained in:
parent
4c7bc57b01
commit
1272f4c327
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue