<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13750">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RAN_Adapter: Support build without IPA /  BSSAP support<br><br>Change-Id: I5370f0ea6f2f6cfdc3370a6f3d3bf2e6c32af4d2<br>---<br>M library/RAN_Adapter.ttcnpp<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/50/13750/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/RAN_Adapter.ttcnpp b/library/RAN_Adapter.ttcnpp</span><br><span>index a96c6ef..e62e5f6 100644</span><br><span>--- a/library/RAN_Adapter.ttcnpp</span><br><span>+++ b/library/RAN_Adapter.ttcnpp</span><br><span>@@ -22,7 +22,9 @@</span><br><span> import from SCTPasp_Types all;</span><br><span> import from SCTPasp_PortType all;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef RAN_EMULATION_BSSMAP</span><br><span> import from BSSMAP_Templates all;</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span> import from RAN_Emulation all;</span><br><span> </span><br><span> type record RAN_Adapter {</span><br><span>@@ -96,6 +98,7 @@</span><br><span>          connect(ba.vc_M3UA:MTP3_SP_PORT, ba.vc_SCCP:MTP3_SCCP_PORT);</span><br><span>                 ba.vc_M3UA.start(f_M3UA_Emulation(cfg.sctp_addr, cfg.rctx));</span><br><span>                 }</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef IPA_EMULATION_SCCP</span><br><span>         case (BSSAP_TRANSPORT_SCCPlite_SERVER) {</span><br><span>             ba.vc_IPA := IPA_Emulation_CT.create(id & "-IPA");</span><br><span>             map(ba.vc_IPA:IPA_PORT, system:IPA_CODEC_PT);</span><br><span>@@ -147,8 +150,10 @@</span><br><span> #endif</span><br><span>               if (cfg.transport == BSSAP_TRANSPORT_SCCPlite_SERVER or</span><br><span>                  cfg.transport == BSSAP_TRANSPORT_SCCPlite_CLIENT) {</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef IPA_EMULATION_MGCP</span><br><span>                   /* connect IPA MGCP port with BSSMAP MGCP port */</span><br><span>                    connect(ba.vc_IPA:IPA_MGCP_PORT, ba.vc_RAN:MGCP);</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span>            }</span><br><span>            /* start the BSSMAP emulation */</span><br><span>             ba.vc_RAN.start(RAN_Emulation.main(valueof(ops), ""));</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13750">change 13750</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13750"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I5370f0ea6f2f6cfdc3370a6f3d3bf2e6c32af4d2 </div>
<div style="display:none"> Gerrit-Change-Number: 13750 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>