MobileL3_SS_Types.ttcn 3.68 KB
Newer Older
Elemer Lelik's avatar
Elemer Lelik committed
1
2
///////////////////////////////////////////////////////////////////////////////
//
balaskoa's avatar
balaskoa committed
3
// Copyright (c) 2000-2018 Ericsson Telecom AB
Elemer Lelik's avatar
Elemer Lelik committed
4
5
//
// All rights reserved. This program and the accompanying materials
balaskoa's avatar
balaskoa committed
6
// are made available under the terms of the Eclipse Public License v2.0
Elemer Lelik's avatar
Elemer Lelik committed
7
// which accompanies this distribution, and is available at
balaskoa's avatar
balaskoa committed
8
// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
Elemer Lelik's avatar
Elemer Lelik committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
///////////////////////////////////////////////////////////////////////////////
//
//  File:               MobileL3_SS_Types.ttcn
//  Rev:                R2A
//  Prodnr:             CNL 113 832
//  Contact:            http://ttcn.ericsson.se
//  Reference:          3GPP TS 24.080 v13.0.0

module  MobileL3_SS_Types
{

import from General_Types all;
import from MobileL3_CommonIE_Types all;

//****************************************************************************
// 24.080/2.3 Facility
// see also 9.3.9.1 (NW->MS) and 9.3.9.2 (MS->NW) Facility  
//****************************************************************************
type record PDU_ML3_SS_Facility
{
  BIT6  messageType, // '111010'B; facilityIEI 
  BIT2  nsd,
  Facility_LV facility  // see 24.008/10.5.4.15 in Mobility_L3_CommonIE_Types and
                        // see 24.080/3.6 how to extract
} 

//****************************************************************************************
//24.080/2.4.1 Register (NW->MS)
//****************************************************************************************
type record PDU_ML3_SS_Register_NW_MS
{
  BIT6 messageType,  //    '111011'B Register
  BIT2 nsd,
  Facility_TLV facility 
};

//****************************************************************************************
//24.080/2.4.1 Register ( MS->NW)
//****************************************************************************************
type record PDU_ML3_SS_Register_MS_NW
{
  BIT6  messageType,  //    '111011'B Register
  BIT2  nsd,
  Facility_TLV  facility,
  SS_VersionIndicator ss_version optional
} with { variant "TAG (
               ss_version,   elementIdentifier = '7F'O;)"};


//****************************************************************************
// 2.5 Release Complete
// see also 24.008/9.3.19.1
//****************************************************************************
type record PDU_ML3_SS_ReleaseComplete
{
  BIT6  messageType, //    '101010'B ReleaseComplete  
  BIT2  nsd, // sent by the NW: '00'B
  ML3_Cause_TLV      cause      optional,
  Facility_TLV       facility   optional
} with { variant "TAG (
                cause,      elementIdentifier = '08'O;
                facility,   elementIdentifier = '1C'O;)"};
 
/****************************************************************************************
  MobileL3   Supplementary Service Management
  TS 24.080 / 2.2
 ****************************************************************************************/
type union PDU_ML3_SS_MS_NW
{
  PDU_ML3_SS_Facility                 facility,
  PDU_ML3_SS_Register_MS_NW           register,
  PDU_ML3_SS_ReleaseComplete          releaseComplete_MS_NW
} with { variant "TAG (
               facility,               messageType ='111010'B;
               register,               messageType ='111011'B;
               releaseComplete_MS_NW,  messageType ='101010'B;)"};
 
type union PDU_ML3_SS_NW_MS
{
  PDU_ML3_SS_Facility                 facility,
  PDU_ML3_SS_Register_NW_MS           register,
  PDU_ML3_SS_ReleaseComplete          releaseComplete_NW_MS
} with { variant "TAG (
               facility,               messageType ='111010'B;
               register,               messageType ='111011'B;
               releaseComplete_NW_MS,  messageType ='101010'B;)"};

}//end of module
with {
extension "version R2A"
encode "RAW"
}