lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9245
Change subject: L3_Templates: rename tr_GMM_DET_ACCEPT_MT -> tr_GMM_DET_ACCEPT_MO ...................................................................... L3_Templates: rename tr_GMM_DET_ACCEPT_MT -> tr_GMM_DET_ACCEPT_MO The standard defines this messages, even it's send from the Network -> MS as MO, because the procedure initiated by the MS. Change-Id: I4b5e2d43c9754d34b3749bff43b7df7196b9bb9c --- M library/L3_Templates.ttcn M sgsn/SGSN_Tests.ttcn 2 files changed, 5 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/45/9245/1 diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index 5acd2bf..b2bfb07 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -1843,7 +1843,7 @@ } } -template PDU_L3_SGSN_MS tr_GMM_DET_ACCEPT_MT := { +template PDU_L3_SGSN_MS tr_GMM_DET_ACCEPT_MO := { discriminator := '1000'B, tiOrSkip := { skipIndicator := '0000'B @@ -1859,7 +1859,7 @@ } } -template PDU_L3_SGSN_MS tr_GMM_DET_REQ_MT(template BIT3 dtt := ?, template boolean power_off := ?) := { +template PDU_L3_SGSN_MS tr_GMM_DET_REQ_MO(template BIT3 dtt := ?, template boolean power_off := ?) := { discriminator := '1000'B, tiOrSkip := { skipIndicator := '0000'B diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index e1d35c5..36a4700 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -784,7 +784,7 @@ [not expect_purge] GSUP.receive(tr_GSUP_PURGE_MS_REQ(?)) { setverdict(fail, "Unexpected GSUP PURGE MS for unregistered TLLI"); } - [power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MT)) -> value bd { + [power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MO)) -> value bd { g_pars.ra := omit; setverdict(fail, "Unexpected ATTACH ACCEPT in no-power-off DETACH"); /* TODO: check if any PDP contexts are deactivated on network side? */ @@ -792,7 +792,7 @@ [power_off] T.timeout { setverdict(pass); } - [not power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MT)) -> value bd { + [not power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MO)) -> value bd { g_pars.ra := omit; setverdict(pass); /* TODO: check if any PDP contexts are deactivated on network side? */ @@ -1130,7 +1130,7 @@ apars.apn, apars.pco)); alt { /* We might want toalso actually expect a PDPC CTX ACT REJ? */ - [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_REQ_MT(?, ?))) { + [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_REQ_MO(?, ?))) { setverdict(pass); } [] GTP.receive(tr_GTPC_MsgType(?, createPDPContextRequest, ?)) { -- To view, visit https://gerrit.osmocom.org/9245 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I4b5e2d43c9754d34b3749bff43b7df7196b9bb9c Gerrit-Change-Number: 9245 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>