From 1f1665bab7b81959cd20ccd3ad52ec801cc36895 Mon Sep 17 00:00:00 2001 From: Francisco Date: Fri, 21 May 2021 12:40:04 +0100 Subject: [PATCH] improve adaptive offset adjustment log lines --- srsenb/enb.conf.example | 8 ++++---- srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/srsenb/enb.conf.example b/srsenb/enb.conf.example index fc84d6df2..a6cdd0163 100644 --- a/srsenb/enb.conf.example +++ b/srsenb/enb.conf.example @@ -167,10 +167,10 @@ enable = false # pusch_max_mcs: Optional PUSCH MCS limit # min_nof_ctrl_symbols: Minimum number of control symbols # max_nof_ctrl_symbols: Maximum number of control symbols -# target_bler: Target BLER (in decimal) to achieve via adaptive link -# max_delta_dl_cqi: Maximum shift in CQI for adaptive DL link -# max_delta_ul_cqi: Maximum shift in UL SNR for adaptive UL link -# target_bler: Step size or learning rate used in adaptive link +# target_bler: Target BLER (in decimal) to achieve via adaptive link +# max_delta_dl_cqi: Maximum shift in CQI for adaptive DL link +# max_delta_ul_snr: Maximum shift in UL SNR for adaptive UL link +# adaptive_link_step_size: Step size or learning rate used in adaptive link # ##################################################################### [scheduler] diff --git a/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc b/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc index 0a3e3e20f..06ff64f27 100644 --- a/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc +++ b/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc @@ -186,7 +186,7 @@ int sched_ue_cell::set_ul_crc(tti_point tti_rx, bool crc_res) ul_snr_coeff += delta_down - static_cast(not crc_res) * (delta_down + delta_up); ul_snr_coeff = std::min(std::max(-max_snr_coeff, ul_snr_coeff), max_snr_coeff); - logger.info("SCHED: adjusting UL SNR by %f", ul_snr_coeff); + logger.info("SCHED: UL adaptive link: snr_estim=%f, snr_offset=%f", tpc_fsm.get_ul_snr_estim(), ul_snr_coeff); return pid; } @@ -201,7 +201,7 @@ int sched_ue_cell::set_ack_info(tti_point tti_rx, uint32_t tb_idx, bool ack) dl_cqi_coeff += delta_down - static_cast(not ack) * (delta_down + delta_up); dl_cqi_coeff = std::min(std::max(-max_cqi_coeff, dl_cqi_coeff), max_cqi_coeff); - logger.info("SCHED: adjusting DL CQI by %f", dl_cqi_coeff); + logger.info("SCHED: DL adaptive link: cqi=%d, cqi_offset=%f", dl_cqi_ctxt.get_avg_cqi(), dl_cqi_coeff); } else { logger.warning("SCHED: Received ACK info for unknown TTI=%d", tti_rx.to_uint()); }