bts: CBCH related tests for OsmoBTS
This introduces a set of CBCH related tests for osmo-bts.
Warning: Those tests currently require a patched trxcon to work.
Related: OS#4011
Change-Id: I955b4000c12180a39b0205b69b7b2c8cee8c9da3
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 076476f..7912ff6 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -35,6 +35,8 @@
import from Osmocom_VTY_Functions all;
import from TELNETasp_PortType all;
+friend module BTS_Tests_SMSCB;
+
/* The tests assume a BTS with the following timeslot configuration:
* TS0 : Combined CCCH + SDCCH/4
* TS1 : TCH/F
@@ -254,13 +256,13 @@
f_rsl_bcch_fill_raw(rsl_si_type, si_enc);
}
-private function f_init_vty(charstring id) runs on test_CT {
+friend function f_init_vty(charstring id) runs on test_CT {
map(self:BTSVTY, system:BTSVTY);
f_vty_set_prompts(BTSVTY);
f_vty_transceive(BTSVTY, "enable");
}
-private function f_init_vty_bsc() runs on test_CT {
+friend function f_init_vty_bsc() runs on test_CT {
map(self:BSCVTY, system:BSCVTY);
f_vty_set_prompts(BSCVTY, "OsmoBSC");
f_vty_transceive(BSCVTY, "enable");
@@ -418,7 +420,7 @@
}
}
-private function f_l1_tune(L1CTL_PT L1CTL) {
+friend function f_l1_tune(L1CTL_PT L1CTL) {
f_L1CTL_FBSB(L1CTL, { false, mp_trx0_arfcn }, CCCH_MODE_COMBINED, mp_rxlev_exp);
}
@@ -4571,9 +4573,6 @@
/* receptiom of SABM in multi-frame established state */
-
-
-
/* TODO Areas:
* channel activation