aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/lte-rrc/lte-rrc.cnf
blob: 167b0a0d07642b964760040ed8b4e2427303ccb6 (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
# lte-rrc.cnf
# lte-rrc conformation file
# Copyright 2008 Vincent Helfre 
# $Id$

#.OPT
PER
UNALIGNED
#.END

#.OMIT_ASSIGNMENT
#.END

#.EXPORTS
HandoverCommand
HandoverCommand_PDU
HandoverPreparationInformation
HandoverPreparationInformation_PDU
UERadioAccessCapabilityInformation
UERadioAccessCapabilityInformation_PDU
#UEInformationResponse

#.PDU_NEW
HandoverCommand
HandoverPreparationInformation
UERadioAccessCapabilityInformation
BCCH-BCH-Message             @bcch.bch
BCCH-DL-SCH-Message          @bcch.dl.sch
MCCH-Message                 @mcch				
PCCH-Message                 @pcch
DL-CCCH-Message              @dl.ccch
DL-DCCH-Message              @dl.dcch
UL-CCCH-Message              @ul.ccch
UL-DCCH-Message              @ul.dcch
UECapabilityInformation      @ue_cap_info
UE-EUTRA-Capability          @ue_eutra_cap
#.END

#.OMIT_ASSIGNMENT
# Get rid of unused code warnings
VarShortMAC-Input
VarMeasConfig
VarMeasReportList
VarMeasReport

#.FN_HDR UL-DCCH-Message
  actx->pinfo->link_dir = P2P_DIR_UL;

#.FN_HDR DL-DCCH-Message
  actx->pinfo->link_dir = P2P_DIR_DL;

#.FN_BODY DedicatedInfoNAS VAL_PTR = &nas_eps_tvb
  tvbuff_t *nas_eps_tvb=NULL;

%(DEFAULT_BODY)s

	if ((nas_eps_tvb)&&(nas_eps_handle))
		call_dissector(nas_eps_handle,nas_eps_tvb,%(ACTX)s->pinfo, tree);

#.FN_BODY UE-CapabilityRAT-Container
  lte_rrc_rat_type_value = -1;
%(DEFAULT_BODY)s

#.FN_BODY RAT-Type VAL_PTR = &lte_rrc_rat_type_value
%(DEFAULT_BODY)s

#RAT-Type ::=						ENUMERATED {
#										eutra, utra, geran-cs, geran-ps, cdma2000-1XRTT,
#										spare3, spare2, spare1, ...}
# ueCapabilityRAT-Container
# Container for the UE capabilities of the indicated RAT. The encoding is defined in the specification of each RAT:
# For E-UTRA: the encoding of UE capabilities is defined in IE UE-EUTRA-Capability.
# For UTRA: the octet string contains the INTER RAT HANDOVER INFO message defined in TS 25.331 [19].
# For GERAN CS: the octet string contains the concatenated string of the Mobile Station Classmark 2 and Mobile
# Station Classmark 3. The first 5 octets correspond to Mobile Station Classmark 2 and the following octets correspond
# to Mobile Station Classmark 3. The Mobile Station Classmark 2 is formatted as 'TLV' and is coded in the same way as
# the Mobile Station Classmark 2 information element in TS 24.008 [49]. The first octet is the Mobile station classmark 2
# IEI and its value shall be set to 33H. The second octet is the Length of mobile station classmark 2 and its value shall
# be set to 3. The octet 3 contains the first octet of the value part of the Mobile Station Classmark 2 information element,
# the octet 4 contains the second octet of the value part of the Mobile Station Classmark 2 information element and so
# on. For each of these octets, the first/ leftmost/ most significant bit of the octet contains b8 of the corresponding octet
# of the Mobile Station Classmark 2. The Mobile Station Classmark 3 is formatted as 'V' and is coded in the same way
# as the value part in the Mobile station classmark 3 information element in TS 24.008 [49]. The sixth octet of this octet
# string contains octet 1 of the value part of Mobile station classmark 3, the seventh of octet of this octet string contains
# octet 2 of the value part of Mobile station classmark 3 and so on. Note.
# For GERAN PS: the encoding of UE capabilities is formatted as 'V' and is coded in the same way as the value part in
# the MS Radio Access Capability information element in TS 24.008 [49].
# For CDMA2000-1XRTT: the octet string contains the A21 Mobile Subscription Information and the encoding of this is
# defined in A.S0008 [33]. The A21 Mobile Subscription Information contains the supported CDMA2000 1xRTT band
# class and band sub-class information.

#.FN_BODY UE-CapabilityRAT-Container/ueCapabilityRAT-Container VAL_PTR = &ue_eutra_cap_tvb
  tvbuff_t *ue_eutra_cap_tvb=NULL;
%(DEFAULT_BODY)s

if(ue_eutra_cap_tvb){
	switch(lte_rrc_rat_type_value){
	case 0:
		/* eutra */
		dissect_UE_EUTRA_Capability_PDU(ue_eutra_cap_tvb,%(ACTX)s->pinfo, tree);
		break;
	case 1:
		/* utra */
		dissect_rrc_InterRATHandoverInfo_PDU(ue_eutra_cap_tvb, %(ACTX)s->pinfo, tree);
		break;
	case 2:
		/* geran-cs */
		de_ms_cm_2(ue_eutra_cap_tvb, tree, 0, 5, NULL, 0);
		de_ms_cm_3(ue_eutra_cap_tvb, tree, 5, tvb_length(ue_eutra_cap_tvb)-5, NULL, 0);
		break;
	case 3:
		/* geran-ps */
		de_gmm_ms_radio_acc_cap(ue_eutra_cap_tvb, tree, 0, tvb_length(ue_eutra_cap_tvb), NULL, 0);
		break;
	case 4:
		/* cdma2000-1XRTT */
		/* dissection of "A21 Mobile Subscription Information" could be added to packet-ansi_a.c */
		break;
	default:
		break;
	}

}
#.FN_BODY UE-EUTRA-Capability/featureGroupIndicators VAL_PTR = &featureGroupIndicators_tvb
  tvbuff_t *featureGroupIndicators_tvb=NULL;
%(DEFAULT_BODY)s
 if(featureGroupIndicators_tvb){
    /* Add dissection of featureGroupIndicators here */
 }

#.FN_HDR MasterInformationBlock

col_append_str(actx->pinfo->cinfo, COL_INFO, "MasterInformationBlock ");

#.FN_HDR SystemInformation

col_append_str(actx->pinfo->cinfo, COL_INFO, "SystemInformation ");

#.FN_HDR SystemInformationBlockType1

col_append_str(actx->pinfo->cinfo, COL_INFO, "SystemInformationBlockType1 ");

#.FN_HDR MBSFNAreaConfiguration-r9

col_append_str(actx->pinfo->cinfo, COL_INFO, "MBSFNAreaConfiguration-r9 ");

#.FN_HDR Paging

col_append_str(actx->pinfo->cinfo, COL_INFO, "Paging ");

#.FN_HDR RRCConnectionReestablishment

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionReestablishment ");

#.FN_HDR RRCConnectionReestablishmentReject

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionReestablishmentReject ");

#.FN_HDR RRCConnectionReject

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionReject ");

#.FN_HDR RRCConnectionSetup

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionSetup ");

#.FN_HDR CSFBParametersResponseCDMA2000

col_append_str(actx->pinfo->cinfo, COL_INFO, "CSFBParametersResponseCDMA2000 ");

#.FN_HDR DLInformationTransfer

col_append_str(actx->pinfo->cinfo, COL_INFO, "DLInformationTransfer ");

#.FN_HDR HandoverFromEUTRAPreparationRequest

col_append_str(actx->pinfo->cinfo, COL_INFO, "HandoverFromEUTRAPreparationRequest ");

#.FN_HDR MobilityFromEUTRACommand

col_append_str(actx->pinfo->cinfo, COL_INFO, "MobilityFromEUTRACommand ");

#.FN_HDR RRCConnectionReconfiguration

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionReconfiguration ");

#.FN_HDR RRCConnectionRelease

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionRelease ");

#.FN_HDR SecurityModeCommand

col_append_str(actx->pinfo->cinfo, COL_INFO, "SecurityModeCommand ");

#.FN_HDR UECapabilityEnquiry

col_append_str(actx->pinfo->cinfo, COL_INFO, "UECapabilityEnquiry ");

#.FN_HDR RRCConnectionReestablishmentRequest

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionReestablishmentRequest ");

#.FN_HDR RRCConnectionRequest

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionRequest ");

#.FN_HDR CSFBParametersRequestCDMA2000

col_append_str(actx->pinfo->cinfo, COL_INFO, "CSFBParametersRequestCDMA2000 ");

#.FN_HDR MeasurementReport

col_append_str(actx->pinfo->cinfo, COL_INFO, "MeasurementReport ");

#.FN_HDR RRCConnectionReconfigurationComplete

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionReconfigurationComplete ");

#.FN_HDR RRCConnectionReestablishmentComplete

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionReestablishmentComplete ");

#.FN_HDR RRCConnectionSetupComplete

col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionSetupComplete ");

#.FN_HDR SecurityModeComplete

col_append_str(actx->pinfo->cinfo, COL_INFO, "SecurityModeComplete ");

#.FN_HDR SecurityModeFailure

col_append_str(actx->pinfo->cinfo, COL_INFO, "SecurityModeFailure ");

#.FN_HDR UECapabilityInformation

col_append_str(actx->pinfo->cinfo, COL_INFO, "UECapabilityInformation ");

#.FN_HDR ULHandoverPreparationTransfer

col_append_str(actx->pinfo->cinfo, COL_INFO, "ULHandoverPreparationTransfer ");

#.FN_HDR ULInformationTransfer

col_append_str(actx->pinfo->cinfo, COL_INFO, "ULInformationTransfer ");

#.FN_HDR CounterCheckResponse

col_append_str(actx->pinfo->cinfo, COL_INFO, "CounterCheckResponse ");