aboutsummaryrefslogtreecommitdiffstats
path: root/tests/emu
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-05 14:48:35 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-09-12 14:17:07 +0200
commit28f160e76c3c53029bc6e8de101b2d7ee26eea16 (patch)
tree53ba9a527bda9de647d77c70803d092db0613aec /tests/emu
parent45fdc44d683365b806b90e694cb7b960dc967b31 (diff)
Introduce osmo_tdef infra and timer VTY commands
This will allow for configuration of some of the timers by the user, and allow him to inspect current values being used. It will be also useful for TTCN3 tests which may want to test some of the timers without having to wait for lots of time. Timers are splitted into 2 groups: BTS controlled ones and PCU controlled ones. The BTS controlled ones are read-only by the user (hence no "timer" VTY command is provided to change them). TbfTest.err output changes due to timers being set up correctly as a consequence of changes. Other application such as pcu_emu.cpp and pcu_main.cpp had to previosuly set the initial values by hand (and did so), but apparently TbfTest.c was missing that part, which is now fixed for free. Depends: libosmocore.git Id56a1226d724a374f04231df85fe5b49ffd2c43c Change-Id: I5cfb9ef01706124be262d4536617b9edb4601dd5
Diffstat (limited to 'tests/emu')
-rw-r--r--tests/emu/pcu_emu.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/emu/pcu_emu.cpp b/tests/emu/pcu_emu.cpp
index 7ecabe12..7f993551 100644
--- a/tests/emu/pcu_emu.cpp
+++ b/tests/emu/pcu_emu.cpp
@@ -69,11 +69,6 @@ static void init_main_bts()
bts->fc_interval = 100;
bts->initial_cs_dl = bts->initial_cs_ul = 1;
bts->cs1 = 1;
- bts->t3142 = 20;
- bts->t3169 = 5;
- bts->t3191 = 5;
- bts->t3193_msec = 100;
- bts->t3195 = 5;
bts->n3101 = 10;
bts->n3103 = 4;
bts->n3105 = 8;