summaryrefslogtreecommitdiffstats
path: root/bts/BTS_Tests.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-01 15:47:20 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-01 15:47:58 +0100
commita4d8f35c201b0b77997a9b9003a1b169a693e5a6 (patch)
treea994869d7ef2aa19e7145b6f6b945597ecefb03d /bts/BTS_Tests.ttcn
parentffe5f0e5468aeda5416a4ba92b6cf505deda031d (diff)
bts: Make IP address of fake_trx BB CTRL port configurable
Diffstat (limited to 'bts/BTS_Tests.ttcn')
-rw-r--r--bts/BTS_Tests.ttcn5
1 files changed, 3 insertions, 2 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index af28396..a6c07a4 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -45,6 +45,7 @@ modulepar {
charstring mp_rsl_ip := "127.0.0.2";
integer mp_rsl_port := 3003;
integer mp_trx0_arfcn := 871;
+ charstring mp_bb_trxc_ip := "127.0.0.1";
integer mp_bb_trxc_port := 6701;
charstring mp_pcu_socket := PCU_SOCK_DEFAULT;
}
@@ -317,8 +318,8 @@ private function f_l1_tune(L1CTL_PT L1CTL) {
private function f_trxc_connect() runs on ConnHdlr {
map(self:BB_TRXC, system:BB_TRXC);
var Result res;
- res := TRXC_CodecPort_CtrlFunct.f_IPL4_connect(BB_TRXC, "127.0.0.1", mp_bb_trxc_port,
- "127.0.0.1", 0, -1, {udp:={}}, {});
+ res := TRXC_CodecPort_CtrlFunct.f_IPL4_connect(BB_TRXC, mp_bb_trxc_ip, mp_bb_trxc_port,
+ "", -1, -1, {udp:={}}, {});
g_bb_trxc_conn_id := res.connId;
}