aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tbf/TbfTest.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/tbf/TbfTest.cpp
parente8dcf64881f0771cf695d7dc1102481dde7201b4 (diff)
Move cs_downgrade_threshold field from BTS to PCU
Diffstat (limited to 'tests/tbf/TbfTest.cpp')
-rw-r--r--tests/tbf/TbfTest.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index 52403e19..75b51bf9 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -3070,13 +3070,11 @@ static void test_tbf_egprs_retx_dl(void)
{
the_pcu->bts = bts_alloc(the_pcu);
BTS *the_bts = the_pcu->bts;
- gprs_rlcmac_bts *bts;
uint8_t ts_no = 4;
fprintf(stderr, "=== start %s ===\n", __func__);
- bts = the_bts->bts_data();
- bts->cs_downgrade_threshold = 0;
+ the_pcu->vty.cs_downgrade_threshold = 0;
setup_bts(the_bts, ts_no);
OSMO_ASSERT(osmo_tdef_set(the_pcu->T_defs, -2031, 200, OSMO_TDEF_MS) == 0);
/* ARQ II */
@@ -3100,13 +3098,11 @@ static void test_tbf_egprs_spb_dl(void)
{
the_pcu->bts = bts_alloc(the_pcu);
BTS *the_bts = the_pcu->bts;
- gprs_rlcmac_bts *bts;
uint8_t ts_no = 4;
fprintf(stderr, "=== start %s ===\n", __func__);
- bts = the_bts->bts_data();
- bts->cs_downgrade_threshold = 0;
+ the_pcu->vty.cs_downgrade_threshold = 0;
setup_bts(the_bts, ts_no);
OSMO_ASSERT(osmo_tdef_set(the_pcu->T_defs, -2031, 200, OSMO_TDEF_MS) == 0);