jolly has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41187?usp=email )
Change subject: library/s1ap: Add support for E_RABSetupRequest
......................................................................
library/s1ap: Add support for E_RABSetupRequest
Related: SYS#7635
Change-Id: I4593bb8a7845b4b1dd10866fca47f473bd585cf6
---
M library/S1AP_Functions.ttcn
1 file changed, 20 insertions(+), 1 deletion(-)
Approvals:
fixeria: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/library/S1AP_Functions.ttcn b/library/S1AP_Functions.ttcn
index fbdcada..d9af50e 100644
--- a/library/S1AP_Functions.ttcn
+++ b/library/S1AP_Functions.ttcn
@@ -49,6 +49,9 @@
case (tr_S1AP_ConnEstInd) {
return
im.value_.ConnectionEstablishmentIndication.protocolIEs[1].value_.ENB_UE_S1AP_ID;
}
+ case (tr_S1AP_RABSetupReq) {
+ return
im.value_.E_RABSetupRequest.protocolIEs[1].value_.ENB_UE_S1AP_ID;
+ }
/* TODO */
}
} else if (ischosen(s1ap.successfulOutcome)) {
@@ -104,6 +107,9 @@
case (tr_S1AP_UeContextModificationReq) {
return
im.value_.UEContextModificationRequest.protocolIEs[0].value_.MME_UE_S1AP_ID;
}
+ case (tr_S1AP_RABSetupReq) {
+ return
im.value_.E_RABSetupRequest.protocolIEs[0].value_.MME_UE_S1AP_ID;
+ }
/* TODO */
}
} else if (ischosen(s1ap.successfulOutcome)) {
@@ -164,7 +170,20 @@
}
}
return omit;
- }
+ }
+ case (tr_S1AP_RABSetupReq) {
+ var E_RABSetupRequest msg :=
im.value_.E_RABSetupRequest;
+ for (i := 0; i < lengthof(msg.protocolIEs); i := i+1) {
+ if (msg.protocolIEs[i].id ==
id_E_RABToBeSetupListBearerSUReq) {
+ var E_RABToBeSetupListBearerSUReq
rab_req := msg.protocolIEs[i].value_.E_RABToBeSetupListBearerSUReq;
+ for (j := 0; j < lengthof(rab_req); j
:= j+1) {
+ var
E_RABToBeSetupItemBearerSUReq it :=
rab_req[j].value_.E_RABToBeSetupItemBearerSUReq;
+ return it.nAS_PDU;
+ }
+ }
+ }
+ return omit;
+ }
}
}
return omit;
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41187?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I4593bb8a7845b4b1dd10866fca47f473bd585cf6
Gerrit-Change-Number: 41187
Gerrit-PatchSet: 2
Gerrit-Owner: jolly <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: jolly <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>