neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33481 )
Change subject: hnbgw: do not dup MSC_RanOps ......................................................................
hnbgw: do not dup MSC_RanOps
Change-Id: I556eb4293f51b56a526d4e60c3ac2aa357a8d3e7 --- M hnbgw/HNBGW_Tests.ttcn 1 file changed, 10 insertions(+), 13 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/81/33481/1
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index d39a236..c2bf843 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -427,19 +427,7 @@ }
/* MSC emulation */ - var RanOps ranops := { - ranap_create_cb := refers(RAN_Emulation.RanapExpectedCreateCallback), - ranap_unitdata_cb := omit, - ps_domain := false, - decode_dtap := false, - role_ms := false, - protocol := RAN_PROTOCOL_RANAP, - transport := RANAP_TRANSPORT_IuCS, - use_osmux := false, - bssap_reset_retries := 1, - sccp_addr_local := omit, - sccp_addr_peer := omit - }; + var RanOps ranops := MSC_RanOps; for (var integer i := 0; i < nr_msc; i := i + 1) { var integer cn_idx := FIRST_MSC_IDX + i; f_ran_adapter_init(g_cn[cn_idx], mp_cn_cfg[cn_idx], "HNBGW_Test", ranops);