summaryrefslogtreecommitdiffstats
path: root/MobileL3_v13.4.0_CNL113832_LATEST/src/MobileL3_SS_Types.ttcn
blob: 6e8d34e91a5df2a108af6981f91f741d1cdf9d4c (plain)
1
2
3
4
5
6
7
8
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
102
///////////////////////////////////////////////////////////////////////////////
//                                                                           //
// Copyright Test Competence Center (TCC) ETH 2016                           //
//                                                                           //
// The copyright to the computer  program(s) herein  is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with  the terms and conditions  stipulated in the //
// agreement/contract under which the program(s) has been supplied.          //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////
//
//  File:               MobileL3_SS_Types.ttcn
//  Rev:                R1B
//  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 R1B"
encode "RAW"
}