aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ms/MsTest.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 13:20:55 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-18 11:54:57 +0100
commitad79b857cd1683a263a8602b14e9c4aaba3178b6 (patch)
tree95ede3d6512fb8b812e8b1b43f397dbf1d97b13f /tests/ms/MsTest.cpp
parente8dcf64881f0771cf695d7dc1102481dde7201b4 (diff)
Move cs_downgrade_threshold field from BTS to PCU
Diffstat (limited to 'tests/ms/MsTest.cpp')
-rw-r--r--tests/ms/MsTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ms/MsTest.cpp b/tests/ms/MsTest.cpp
index b914f01b..d6c8f183 100644
--- a/tests/ms/MsTest.cpp
+++ b/tests/ms/MsTest.cpp
@@ -510,7 +510,7 @@ static void test_ms_cs_selection()
bts->initial_cs_dl = 4;
bts->initial_cs_ul = 1;
- bts->cs_downgrade_threshold = 0;
+ the_pcu->vty.cs_downgrade_threshold = 0;
the_pcu->vty.cs_adj_lower_limit = 0;
ms = ms_alloc(&the_bts, tlli);
@@ -525,7 +525,7 @@ static void test_ms_cs_selection()
OSMO_ASSERT(mcs_chan_code(ms_current_cs_dl(ms)) == 3);
- bts->cs_downgrade_threshold = 200;
+ the_pcu->vty.cs_downgrade_threshold = 200;
OSMO_ASSERT(mcs_chan_code(ms_current_cs_dl(ms)) == 2);
@@ -559,7 +559,7 @@ static void test_ms_mcs_mode()
bts->initial_cs_dl = 4;
bts->initial_cs_ul = 1;
- bts->cs_downgrade_threshold = 0;
+ the_pcu->vty.cs_downgrade_threshold = 0;
ms2 = ms_alloc(&the_bts, tlli + 1);
dump_ms(ms2, "2: with BTS defaults");