aboutsummaryrefslogtreecommitdiffstats
path: root/suites
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-07 17:26:59 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-08 17:02:17 +0200
commitb2ce2f22218da052dc6a6617e172bc9c97a8e116 (patch)
tree5c2a21c351d76ff5ceb84e4e0e2b907d0054950b /suites
parent510ed801ed3507291513f2a110af44e10a0a06ba (diff)
tests: voice: test voice calls on TCH/H timeslots
Diffstat (limited to 'suites')
-rwxr-xr-xsuites/voice/mo_mt_call_tchh.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/suites/voice/mo_mt_call_tchh.py b/suites/voice/mo_mt_call_tchh.py
new file mode 100755
index 0000000..6b820d9
--- /dev/null
+++ b/suites/voice/mo_mt_call_tchh.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python3
+from osmo_gsm_tester.testenv import *
+
+add_subdir_to_import_path("lib")
+from testlib import call_test_setup_run
+
+def my_bts_setup(bts):
+ bts.set_num_trx(1)
+ bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4')
+ bts.set_trx_phy_channel(0, 1, 'SDCCH8')
+ bts.set_trx_phy_channel(0, 2, 'TCH/H')
+ bts.set_trx_phy_channel(0, 3, 'TCH/H')
+ bts.set_trx_phy_channel(0, 4, 'TCH/H')
+ bts.set_trx_phy_channel(0, 5, 'TCH/H')
+ bts.set_trx_phy_channel(0, 6, 'TCH/H')
+ bts.set_trx_phy_channel(0, 7, 'TCH/H')
+
+call_test_setup_run(bts_setup_cb=my_bts_setup)