From d98d14efcc9c043f888980b61c89539a0204acc6 Mon Sep 17 00:00:00 2001 From: Francisco Date: Sat, 28 Nov 2020 01:05:57 +0000 Subject: [PATCH] remove tti_params struct from sched testers, and use tti_point instead --- srsenb/test/mac/sched_ca_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srsenb/test/mac/sched_ca_test.cc b/srsenb/test/mac/sched_ca_test.cc index c40f37fce..137b75499 100644 --- a/srsenb/test/mac/sched_ca_test.cc +++ b/srsenb/test/mac/sched_ca_test.cc @@ -192,7 +192,7 @@ int test_scell_activation(test_scell_activation_params params) uint32_t cqi = 0; for (uint32_t cidx = 1; cidx < cc_idxs.size(); ++cidx) { for (uint32_t i = 0; i < FDD_HARQ_DELAY_UL_MS; ++i) { - tester.dl_cqi_info(tester.tti_info.tti_params.tti_rx, rnti1, cc_idxs[cidx], cqi); + tester.dl_cqi_info(tester.tti_rx.to_uint(), rnti1, cc_idxs[cidx], cqi); generator.step_tti(); } } @@ -212,7 +212,7 @@ int test_scell_activation(test_scell_activation_params params) // Event: Scheduler receives dl_cqi for SCell. Data should go through SCells cqi = 14; for (uint32_t i = 1; i < cc_idxs.size(); ++i) { - tester.dl_cqi_info(tester.tti_info.tti_params.tti_rx, rnti1, cc_idxs[i], cqi); + tester.dl_cqi_info(tester.tti_rx.to_uint(), rnti1, cc_idxs[i], cqi); } generate_data(10, 1.0, 1.0, 1.0); tester.test_next_ttis(generator.tti_events);