pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37552?usp=email )

Change subject: msc: Use template ts_RAB_SMdL
......................................................................

msc: Use template ts_RAB_SMdL

Change-Id: I768aad762c4fa6c0d3a6d0effd7a7a1aabb3488f
---
M msc/BSC_ConnectionHandler.ttcn
1 file changed, 17 insertions(+), 39 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index c82d36a..467f387 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -1298,27 +1298,11 @@
                [] BSSAP.receive(tr_RANAP_RabAssReq(?)) -> value ranap {
                        log("f_mt_call_complete 6.iu");
                        var RAB_ID rab_id := 
f_ranap_rab_ass_req_extract_rab_id(ranap);
-                       var RAB_SetupOrModifiedList l := {
-                               {
-                                       {
-                                               id := 
id_RAB_SetupOrModifiedItem,
-                                               criticality := ignore,
-                                               value_ := {
-                                                 rAB_SetupOrModifiedItem := {
-                                                       rAB_ID := rab_id,
-                                                       transportLayerAddress 
:= hex2bit( '350001c0a8021500000000000000000000000000'H),
-                                                       iuTransportAssociation 
:= {
-                                                               bindingID := 
'040c0000'O
-                                                       },
-                                                       dl_dataVolumes := omit,
-                                                       iE_Extensions := omit
-                                                       }
-                                               }
-                                       }
-                               }
-                       };
+                       var template (value) RAB_SetupOrModifiedList l :=
+                               ts_RAB_SMdL(rab_id,
+                                           
hex2bit('350001c0a8021500000000000000000000000000'H),
+                                           '040c0000'O);
                        BSSAP.send(ts_RANAP_RabAssResp(l));
-
                        
BSSAP.send(ts_PDU_DTAP_MO(ts_ML3_MO_CC_CONNECT(cpars.transaction_id)));
                        }

@@ -1780,25 +1764,10 @@
        [] BSSAP.receive(tr_RANAP_RabAssReq(*)) -> value ranap {
                log("f_mo_call_establish 4.iu: rx RANAP RAB Assignment 
Request");
                var RAB_ID rab_id := f_ranap_rab_ass_req_extract_rab_id(ranap);
-               var RAB_SetupOrModifiedList l := {
-                       {
-                               {
-                                       id := id_RAB_SetupOrModifiedItem,
-                                       criticality := ignore,
-                                       value_ := {
-                                         rAB_SetupOrModifiedItem := {
-                                               rAB_ID := rab_id,
-                                               transportLayerAddress := 
hex2bit( '350001c0a8021500000000000000000000000000'H),
-                                               iuTransportAssociation := {
-                                                       bindingID := '040c0000'O
-                                               },
-                                               dl_dataVolumes := omit,
-                                               iE_Extensions := omit
-                                               }
-                                       }
-                               }
-                       }
-               };
+               var template (value) RAB_SetupOrModifiedList l :=
+                       ts_RAB_SMdL(rab_id,
+                                   
hex2bit('350001c0a8021500000000000000000000000000'H),
+                                   '040c0000'O);
                BSSAP.send(ts_RANAP_RabAssResp(l));
                }


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37552?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I768aad762c4fa6c0d3a6d0effd7a7a1aabb3488f
Gerrit-Change-Number: 37552
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to