blob: 1424da8083b20a33b554aa662541edccc9474274 [file] [log] [blame]
#!/usr/bin/env python3
from osmo_gsm_tester.testenv import *
import testlib
suite.test_import_modules_register_for_cleanup(testlib)
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)