[S] Change in osmo-ttcn3-hacks[master]: library/S1AP_Functions: Support routing rx E-RABModifyResponse to cor...
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44196?usp=email ) ( 2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: library/S1AP_Functions: Support routing rx E-RABModifyResponse to correct ConnHdlr ...................................................................... library/S1AP_Functions: Support routing rx E-RABModifyResponse to correct ConnHdlr Related: SYS#8357 Change-Id: Ic14c0990fcb885d39a107719fb9f520c88594c58 --- M library/S1AP_Functions.ttcn 1 file changed, 19 insertions(+), 0 deletions(-) Approvals: osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/S1AP_Functions.ttcn b/library/S1AP_Functions.ttcn index d9af50e..abc74a4 100644 --- a/library/S1AP_Functions.ttcn +++ b/library/S1AP_Functions.ttcn @@ -52,6 +52,9 @@ case (tr_S1AP_RABSetupReq) { return im.value_.E_RABSetupRequest.protocolIEs[1].value_.ENB_UE_S1AP_ID; } + case (tr_S1AP_RABModifyReq) { + return im.value_.E_RABModifyRequest.protocolIEs[1].value_.ENB_UE_S1AP_ID; + } /* TODO */ } } else if (ischosen(s1ap.successfulOutcome)) { @@ -110,6 +113,9 @@ case (tr_S1AP_RABSetupReq) { return im.value_.E_RABSetupRequest.protocolIEs[0].value_.MME_UE_S1AP_ID; } + case (tr_S1AP_RABModifyReq) { + return im.value_.E_RABModifyRequest.protocolIEs[0].value_.MME_UE_S1AP_ID; + } /* TODO */ } } else if (ischosen(s1ap.successfulOutcome)) { @@ -184,6 +190,19 @@ } return omit; } + case (tr_S1AP_RABModifyReq) { + var E_RABModifyRequest msg := im.value_.E_RABModifyRequest; + for (i := 0; i < lengthof(msg.protocolIEs); i := i+1) { + if (msg.protocolIEs[i].id == id_E_RABToBeModifiedListBearerModReq) { + var E_RABToBeModifiedListBearerModReq rab_req := msg.protocolIEs[i].value_.E_RABToBeModifiedListBearerModReq; + for (j := 0; j < lengthof(rab_req); j := j+1) { + var E_RABToBeModifiedItemBearerModReq it := rab_req[j].value_.E_RABToBeModifiedItemBearerModReq; + return it.nAS_PDU; + } + } + } + return omit; + } } } return omit; -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44196?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: Ic14c0990fcb885d39a107719fb9f520c88594c58 Gerrit-Change-Number: 44196 Gerrit-PatchSet: 5 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
pespin