Skip to content

Commit 65b525b

Browse files
committed
scehd: adapt pucch unittest to new guardband
Signed-off-by: Carlo Galiotto <[email protected]>
1 parent 8173d03 commit 65b525b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/unittests/scheduler/uci_and_pucch/uci_test_utils.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,11 @@ class dummy_harq_timeout_notifier : public harq_timeout_notifier
151151
test_bench::test_bench(const test_bench_params& params,
152152
unsigned max_pucchs_per_slot_,
153153
unsigned max_ul_grants_per_slot_) :
154-
expert_cfg{config_helpers::make_default_scheduler_expert_config()},
154+
expert_cfg{[]() -> scheduler_expert_config {
155+
auto default_exp_cfg = config_helpers::make_default_scheduler_expert_config();
156+
default_exp_cfg.ue.min_pucch_pusch_prb_distance = 0U;
157+
return default_exp_cfg;
158+
}()},
155159
cell_cfg{[this, &params]() -> const cell_configuration& {
156160
auto cell_req = make_custom_sched_cell_configuration_request(
157161
params.pucch_res_common, params.is_tdd, params.cfg_for_mimo_4x4 ? 4 : 1);

0 commit comments

Comments
 (0)