aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-09-17 20:29:55 +0200
committerHarald Welte <laforge@osmocom.org>2020-09-17 20:32:37 +0200
commit60408e3f5752a5f4a77e34760e8a709621de2a0c (patch)
tree9be2801294683e9e73751ede64fd69d619e23502
parent7e1d0a23fe0c3ac1c814278c6aad151b69dca131 (diff)
Don't map NS_Emulation_CT:NSCP anymore
NS_Emulation_CT:NSCP used to be a NS_CODEC_PT, which is a translation port on top of the IPL4asp. Such ports need to be mapped to a system port at start-up. However, in I4d0b7ad0ed9447a038dd3eeee2b975146d10fba0 we introduced a new underlying component called NS_Provider. Hence, NSCP is actually connected to that underlying component, and no longer mapped. The corresponding change in pcu/SGSN_Components.ttcn and sgsn/SGSN_Tests.ttcn has unfortunately been missed in the above-mentioned change. Fix that. Change-Id: I4c085210e6021e38a38ebc052ec3d9b345638cd2
-rw-r--r--pcu/SGSN_Components.ttcn2
-rw-r--r--sgsn/SGSN_Tests.ttcn2
2 files changed, 0 insertions, 4 deletions
diff --git a/pcu/SGSN_Components.ttcn b/pcu/SGSN_Components.ttcn
index 7bf8705c..f2e69672 100644
--- a/pcu/SGSN_Components.ttcn
+++ b/pcu/SGSN_Components.ttcn
@@ -77,8 +77,6 @@ function f_init_bssgp() runs on bssgp_CT {
connect(self:BSSGP_PROC[0], bssgp_component:BSSGP_PROC);
/* connect lower-end of BSSGP with BSSGP_CODEC_PORT (maps to NS_PT*/
connect(bssgp_component:BSCP, ns_component:NS_SP);
- /* connect lower-end of NS emulation to NS_CODEC_PORT (on top of IPl4) */
- map(ns_component:NSCP, system:NS_CODEC_PORT);
ns_component.start(NSStart(mp_nsconfig));
bssgp_component.start(BssgpStart(mp_gb_cfg));
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index ec18b530..870e66fe 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -205,8 +205,6 @@ private function f_init_gb(inout GbInstance gb, charstring id, integer offset) r
gb.vc_BSSGP := BSSGP_CT.create(id & "-BSSGP" & int2str(offset));
/* connect lower end of BSSGP emulation with NS upper port */
connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);
- /* connect lower end of NS emulation to NS codec port (on top of IPL4) */
- map(gb.vc_NS:NSCP, system:NS_CODEC_PORT);
gb.vc_NS.start(NSStart(mp_nsconfig[offset]));
gb.vc_BSSGP.start(BssgpStart(gb.cfg));