diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2018-05-22 16:08:39 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-05-26 21:03:54 +0000 |
commit | d62fba5401d442ffb9fcb18cf45a4b46e19b8c9b (patch) | |
tree | 7f3d869b7e821cc50bd9be557900c78a6af733fc | |
parent | b6ab45606adc9349f912f5580f58f9fce6066a21 (diff) |
L3_Templates: add template tr_GMM_DET_REQ_MT/ts_GMM_DET_ACCEPT_MT
Change-Id: Ifea650994408c4dd83f46f6256565d38968bf843
-rw-r--r-- | library/L3_Templates.ttcn | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index 2fb6416e..824dbf21 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -1863,7 +1863,10 @@ template PDU_L3_SGSN_MS tr_GMM_DET_ACCEPT_MT := { } } -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_MT( + template BIT3 dtt := *, + template BIT3 forceToStandby := ?, + template OCT1 cause := omit) := { discriminator := '1000'B, tiOrSkip := { skipIndicator := '0000'B @@ -1872,9 +1875,26 @@ template PDU_L3_SGSN_MS tr_GMM_DET_REQ_MT(template BIT3 dtt := ?, template boole gprs_mm := { detachRequest_SGSN_MS := { messageType := '00000101'B, - detachType := { dtt, bool2bit_tmpl(power_off) }, - forceToStandby := ?, - gmmCause := * + detachType := { dtt, ? }, + forceToStandby := { forceToStandby, '0'B }, + gmmCause := { + elementIdentifier := '25'O, + causeValue := { cause } + } + } + } + } +} + +template PDU_L3_MS_SGSN ts_GMM_DET_ACCEPT_MO := { + discriminator := '0000'B, /* overwritten */ + tiOrSkip := { + skipIndicator := '0000'B + }, + msgs := { + gprs_mm := { + detachAccept_MS_SGSN := { + messageType := '00000000'B } } } |