Skip to content

Commit b2d05e2

Browse files
frankistcodebot
authored andcommitted
gnb: make nof HARQ retxs configurable in the appconfig
1 parent 6a0dc0c commit b2d05e2

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

apps/gnb/gnb_appconfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ struct pdsch_appconfig {
151151
unsigned fixed_sib1_mcs = 5;
152152
/// Number of UE DL HARQ processes.
153153
unsigned nof_harqs = 16;
154+
/// Maximum number of times an HARQ process can be retransmitted, before it gets discarded.
155+
unsigned max_nof_harq_retxs = 4;
154156
/// Maximum number of consecutive DL KOs before an RLF is reported.
155157
unsigned max_consecutive_kos = 100;
156158
/// Redundancy version sequence to use. Each element can have one of the following values: {0, 1, 2, 3}.

apps/gnb/gnb_appconfig_cli11_schema.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,11 @@ static void configure_cli11_pdsch_args(CLI::App& app, pdsch_appconfig& pdsch_par
544544
app.add_option("--nof_harqs", pdsch_params.nof_harqs, "Number of DL HARQ processes")
545545
->capture_default_str()
546546
->check(CLI::IsMember({2, 4, 6, 8, 10, 12, 16}));
547+
app.add_option("--max_nof_harq_retxs",
548+
pdsch_params.max_nof_harq_retxs,
549+
"Maximum number of times a DL HARQ can be retransmitted, before it gets discarded")
550+
->capture_default_str()
551+
->check(CLI::Range(0, 4));
547552
app.add_option("--max_consecutive_kos",
548553
pdsch_params.max_consecutive_kos,
549554
"Maximum number of HARQ-ACK consecutive KOs before an Radio Link Failure is reported")

apps/gnb/gnb_appconfig_translators.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,7 @@ scheduler_expert_config srsran::generate_scheduler_expert_config(const gnb_appco
14821482
out_cfg.ue.pdsch_rv_sequence.assign(pdsch.rv_sequence.begin(), pdsch.rv_sequence.end());
14831483
out_cfg.ue.dl_harq_la_cqi_drop_threshold = pdsch.harq_la_cqi_drop_threshold;
14841484
out_cfg.ue.dl_harq_la_ri_drop_threshold = pdsch.harq_la_ri_drop_threshold;
1485+
out_cfg.ue.max_nof_harq_retxs = pdsch.max_nof_harq_retxs;
14851486
out_cfg.ue.max_pdschs_per_slot = pdsch.max_pdschs_per_slot;
14861487
out_cfg.ue.max_pdcch_alloc_attempts_per_slot = pdsch.max_pdcch_alloc_attempts_per_slot;
14871488
out_cfg.ue.pdsch_nof_rbs = {pdsch.min_rb_size, pdsch.max_rb_size};

0 commit comments

Comments
 (0)