jolly has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/87/41187/1
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 change 41187. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I4593bb8a7845b4b1dd10866fca47f473bd585cf6
Gerrit-Change-Number: 41187
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas@eversberg.eu>