aboutsummaryrefslogtreecommitdiffstats
path: root/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
blob: 3ba804514453128c618e7801328512d20848e2da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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/F_TCH/H_PDCH')
    bts.set_trx_phy_channel(0, 3, 'TCH/F_TCH/H_PDCH')
    bts.set_trx_phy_channel(0, 4, 'TCH/F_TCH/H_PDCH')
    bts.set_trx_phy_channel(0, 5, 'TCH/F_TCH/H_PDCH')
    bts.set_trx_phy_channel(0, 6, 'TCH/F_TCH/H_PDCH')
    bts.set_trx_phy_channel(0, 7, 'PDCH')

#FIXME: if we don't enable gprs (gprs none in BSC vty) then dyn chans are broken, see OS#3244
# Once Fixed, add a new test with following test:
#call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)

call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=True)