diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-05-29 20:51:04 +0200 |
---|---|---|
committer | Stefan Sperling <ssperling@sysmocom.de> | 2018-11-19 11:10:22 +0000 |
commit | 4c32b952dda76caeaf1cdf28451bf8f2084092cd (patch) | |
tree | 9771de1626c23c6086281bccb34bddc7caed9a74 /library | |
parent | 9925390dd732c5e6f1c59c1b9a142d08225e8d2f (diff) |
start implementing the TC_paging() PCU test
Implement a basic paging test for the PCU, which is passing for paging
via TMSI (but only if osmo-pcu is started after the test is started).
Previously, this test code amounted to a debugging loop which
never terminated.
Change-Id: Id0384e0742ab91983615e4f1c883bb044c1c8b18
Related: OS#2404
Diffstat (limited to 'library')
-rw-r--r-- | library/L3_Templates.ttcn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index e109fde9..3918f3d9 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -303,6 +303,22 @@ template PDU_ML3_NW_MS tr_PAGING_REQ1(template MobileIdentityLV mi1 := ?, } } +/* Template for receiving a Paging Request Type1 message with a given TMSI in the first mobile identity. */ +template MobileL3_CommonIE_Types.MobileIdentityLV tr_PAGING_REQ1_MI1_TMSI(octetstring tmsi) := { + lengthIndicator := 5, + mobileIdentityV := { + typeOfIdentity := '100'B, + oddEvenInd_identity := { + tmsi_ptmsi := { + oddevenIndicator := '0'B, + fillerDigit := '1111'B, + octets := tmsi + } + } + } + +} + template PDU_ML3_NW_MS tr_PAGING_REQ2(template TMSIP_TMSI_V mi1 := ?, template TMSIP_TMSI_V mi2 := ?, template MobileIdentityTLV mi3 := *) := { |