pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38565?usp=email )
Change subject: hbngw: Store IuSigConid in ConnHdlr params ......................................................................
hbngw: Store IuSigConid in ConnHdlr params
A follow-up patch will want to use the value to register it in order to get RANAP ResetResource messages.
Change-Id: I7eb5716debcad8427c15341612d37152ca894e5a --- M hnbgw/ConnHdlr.ttcn 1 file changed, 6 insertions(+), 5 deletions(-)
Approvals: fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified osmith: Looks good to me, approved
diff --git a/hnbgw/ConnHdlr.ttcn b/hnbgw/ConnHdlr.ttcn index a99aa03..2a46bba 100644 --- a/hnbgw/ConnHdlr.ttcn +++ b/hnbgw/ConnHdlr.ttcn @@ -170,7 +170,8 @@ SCCP_PAR_Address sccp_addr_hnbgw optional, /* RAB release cause */ RANAP_IEs.Cause rab_rel_cause, - integer hnbgw_timer_x31 + integer hnbgw_timer_x31, + IuSignallingConnectionIdentifier sigc_id }
template (value) TestHdlrParams @@ -196,7 +197,8 @@ sccp_addr_msc := omit, sccp_addr_hnbgw := omit, rab_rel_cause := rab_rel_cause, - hnbgw_timer_x31 := hnbgw_timer_x31 + hnbgw_timer_x31 := hnbgw_timer_x31, + sigc_id := int2bit(f_rnd_int(1000), 24) }
@@ -393,7 +395,6 @@ sAC := int2oct(pars.hnb.sac, 2), iE_Extensions := omit } - var IuSignallingConnectionIdentifier sigc_id := int2bit(f_rnd_int(1000), 24); var GlobalRNC_ID grnc_id := { pLMNidentity := lai.pLMNidentity, rNC_ID := 2342 @@ -401,9 +402,9 @@ var template RANAP_PDU ret; if (pars.ps_domain) { var RANAP_IEs.RAC rac := '00'O; - ret := ts_RANAP_initialUE_PS(lai, rac, sai, nas, sigc_id, grnc_id); + ret := ts_RANAP_initialUE_PS(lai, rac, sai, nas, pars.sigc_id, grnc_id); } else { - ret := ts_RANAP_initialUE_CS(lai, sai, nas, sigc_id, grnc_id); + ret := ts_RANAP_initialUE_CS(lai, sai, nas, pars.sigc_id, grnc_id); } return valueof(ret); }