Convert ASN.1 dissectors to use filterable expert info.
[metze/wireshark/wip.git] / epan / dissectors / packet-gsm_map.c
1 /* Do not modify this file. Changes will be overwritten.                      */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler       */
3 /* packet-gsm_map.c                                                           */
4 /* ../../tools/asn2wrs.py -b -c ./gsm_map.cnf -s ./packet-gsm_map-template -D . -O ../../epan/dissectors ../ros/Remote-Operations-Information-Objects.asn MobileDomainDefinitions.asn MAP-ApplicationContexts.asn MAP-SS-Code.asn MAP-BS-Code.asn MAP-TS-Code.asn MAP-ExtensionDataTypes.asn MAP-CommonDataTypes.asn MAP-SS-DataTypes.asn MAP-ER-DataTypes.asn MAP-SM-DataTypes.asn MAP-OM-DataTypes.asn MAP-MS-DataTypes.asn MAP-CH-DataTypes.asn MAP-LCS-DataTypes.asn MAP-GR-DataTypes.asn MAP-DialogueInformation.asn MAP-LocationServiceOperations.asn MAP-Group-Call-Operations.asn MAP-ShortMessageServiceOperations.asn MAP-SupplementaryServiceOperations.asn MAP-CallHandlingOperations.asn MAP-OperationAndMaintenanceOperations.asn MAP-MobileServiceOperations.asn MAP-Errors.asn MAP-Protocol.asn GSMMAP.asn SS-DataTypes.asn SS-Operations.asn Ericsson.asn */
5
6 /* Input file: packet-gsm_map-template.c */
7
8 #line 1 "../../asn1/gsm_map/packet-gsm_map-template.c"
9 /* XXX see bug 1852:
10  *
11  * packet-gsm_map.c: There are 1174 display filter fields registered.  Most are
12  * prefixed appropriately as "gsm_map", but many others are prefixed as
13  * "gsm_old", or even "gad", "gsm_ss", or with no prefix at all.  I don't know
14  * if the ones with "gsm_old" are simply obsolete display filter fields or if
15  * they should be prefixed as "gsm_map.old." or what.  Similar uncertainties
16  * for the others. Someone more knowledgeable than I am with respect to this
17  * dissector should provide a patch for it.
18  */
19
20 /* packet-gsm_map-template.c
21  * Routines for GSM MobileApplication packet dissection
22  * including GSM SS.
23  * Copyright 2004 - 2010 , Anders Broman <anders.broman [AT] ericsson.com>
24  * Based on the dissector by:
25  * Felix Fei <felix.fei [AT] utstar.com>
26  * and Michael Lum <mlum [AT] telostech.com>
27  *
28  * $Id$
29  *
30  * Wireshark - Network traffic analyzer
31  * By Gerald Combs <gerald@wireshark.org>
32  * Copyright 1998 Gerald Combs
33  *
34  * This program is free software; you can redistribute it and/or
35  * modify it under the terms of the GNU General Public License
36  * as published by the Free Software Foundation; either version 2
37  * of the License, or (at your option) any later version.
38  *
39  * This program is distributed in the hope that it will be useful,
40  * but WITHOUT ANY WARRANTY; without even the implied warranty of
41  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
42  * GNU General Public License for more details.
43  *
44  * You should have received a copy of the GNU General Public License
45  * along with this program; if not, write to the Free Software
46  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
47  * References GSM MAP:
48  * ETSI TS 129 002
49  * Updated to ETSI TS 129 002 V7.5.0 (3GPP TS 29.002 V7.5.0 (2006-09) Release 7)
50  * Updated to ETSI TS 129 002 V8.4.0 (3GPP TS 29.002 V8.1.0 (2007-06) Release 8)
51  * References GSM SS
52  * References: 3GPP TS 24.080
53  */
54
55 #include "config.h"
56
57 #include <glib.h>
58 #include <epan/packet.h>
59 #include <epan/prefs.h>
60 #include <epan/tap.h>
61 #include <epan/emem.h>
62 #include <epan/oids.h>
63 #include <epan/expert.h>
64
65 #include <string.h>
66
67 #include <epan/asn1.h>
68 #include "packet-ber.h"
69 #include "packet-per.h"
70 #include "packet-q931.h"
71 #include "packet-gsm_map.h"
72 #include "packet-gsm_a_common.h"
73 #include "packet-tcap.h"
74 #include "packet-e164.h"
75 #include "packet-e212.h"
76 #include "packet-smpp.h"
77 #include "packet-gsm_sms.h"
78 #include "packet-ranap.h"
79
80 #define PNAME  "GSM Mobile Application"
81 #define PSNAME "GSM_MAP"
82 #define PFNAME "gsm_map"
83
84 void proto_register_gsm_map(void);
85 void proto_reg_handoff_gsm_map(void);
86
87 /* Initialize the protocol and registered fields */
88 static int proto_gsm_map = -1;
89 static int proto_gsm_map_dialogue = -1;
90
91 static int hf_gsm_map_old_Component_PDU = -1;
92 static int hf_gsm_map_getPassword = -1;
93 static int hf_gsm_map_currentPassword = -1;
94 static int hf_gsm_map_extension = -1;
95 static int hf_gsm_map_nature_of_number = -1;
96 static int hf_gsm_map_number_plan = -1;
97 static int hf_gsm_map_isdn_address_digits = -1;
98 static int hf_gsm_map_address_digits = -1;
99 static int hf_gsm_map_servicecentreaddress_digits = -1;
100 static int hf_gsm_map_TBCD_digits = -1;
101 static int hf_gsm_map_Ss_Status_unused = -1;
102 static int hf_gsm_map_Ss_Status_q_bit = -1;
103 static int hf_gsm_map_Ss_Status_p_bit = -1;
104 static int hf_gsm_map_Ss_Status_r_bit = -1;
105 static int hf_gsm_map_Ss_Status_a_bit = -1;
106 static int hf_gsm_map_notification_to_forwarding_party = -1;
107 static int hf_gsm_map_redirecting_presentation = -1;
108 static int hf_gsm_map_notification_to_calling_party = -1;
109 static int hf_gsm_map_forwarding_reason = -1;
110 static int hf_gsm_map_pdp_type_org = -1;
111 static int hf_gsm_map_etsi_pdp_type_number = -1;
112 static int hf_gsm_map_ietf_pdp_type_number = -1;
113 static int hf_gsm_map_ext_qos_subscribed_pri = -1;
114
115 static int hf_gsm_map_qos_traffic_cls = -1;
116 static int hf_gsm_map_qos_del_order = -1;
117 static int hf_gsm_map_qos_del_of_err_sdu = -1;
118 static int hf_gsm_map_qos_ber = -1;
119 static int hf_gsm_map_qos_sdu_err_rat = -1;
120 static int hf_gsm_map_qos_traff_hdl_pri = -1;
121 static int hf_gsm_map_qos_max_sdu = -1;
122 static int hf_gsm_map_max_brate_ulink = -1;
123 static int hf_gsm_map_max_brate_dlink = -1;
124 static int hf_gsm_map_qos_transfer_delay = -1;
125 static int hf_gsm_map_guaranteed_max_brate_ulink = -1;
126 static int hf_gsm_map_guaranteed_max_brate_dlink = -1;
127 static int hf_gsm_map_GSNAddress_IPv4 = -1;
128 static int hf_gsm_map_GSNAddress_IPv6 = -1;
129 static int hf_gsm_map_ranap_service_Handover = -1;
130 static int hf_gsm_map_IntegrityProtectionInformation = -1;
131 static int hf_gsm_map_EncryptionInformation = -1;
132 static int hf_gsm_map_PlmnContainer_PDU = -1;
133 static int hf_gsm_map_ss_SS_UserData = -1;
134 static int hf_gsm_map_cbs_coding_grp = -1;
135 static int hf_gsm_map_cbs_coding_grp0_lang = -1;
136 static int hf_gsm_map_cbs_coding_grp1_lang = -1;
137 static int hf_gsm_map_cbs_coding_grp2_lang = -1;
138 static int hf_gsm_map_cbs_coding_grp3_lang = -1;
139 static int hf_gsm_map_cbs_coding_grp4_7_comp = -1;
140 static int hf_gsm_map_cbs_coding_grp4_7_class_ind = -1;
141 static int hf_gsm_map_cbs_coding_grp4_7_char_set = -1;
142 static int hf_gsm_map_cbs_coding_grp4_7_class = -1;
143 static int hf_gsm_map_cbs_coding_grp15_mess_code = -1;
144 static int hf_gsm_map_cbs_coding_grp15_class = -1;
145 static int hf_gsm_map_tmsi = -1;
146 static int hf_gsm_map_ie_tag = -1;
147 static int hf_gsm_map_len = -1;
148 static int hf_gsm_map_disc_par = -1;
149 static int hf_gsm_map_dlci = -1;
150 static int hf_gsm_apn_str = -1;
151 static int hf_gsm_map_locationnumber_odd_even = -1;
152 static int hf_gsm_map_locationnumber_nai = -1;
153 static int hf_gsm_map_locationnumber_inn = -1;
154 static int hf_gsm_map_locationnumber_npi = -1;
155 static int hf_gsm_map_locationnumber_apri = -1;
156 static int hf_gsm_map_locationnumber_screening_ind = -1;
157 static int hf_gsm_map_locationnumber_digits = -1;
158 static int hf_gsm_map_ericsson_locationInformation_rat = -1;
159 static int hf_gsm_map_ericsson_locationInformation_lac = -1;
160 static int hf_gsm_map_ericsson_locationInformation_ci = -1;
161 static int hf_gsm_map_ericsson_locationInformation_sac = -1;
162
163
164 /*--- Included file: packet-gsm_map-hf.c ---*/
165 #line 1 "../../asn1/gsm_map/packet-gsm_map-hf.c"
166
167 /* --- Module MAP-ExtensionDataTypes --- --- ---                              */
168
169 static int hf_gsm_map_privateExtensionList = -1;  /* PrivateExtensionList */
170 static int hf_gsm_map_pcs_Extensions = -1;        /* PCS_Extensions */
171 static int hf_gsm_map_slr_Arg_PCS_Extensions = -1;  /* SLR_Arg_PCS_Extensions */
172 static int hf_gsm_map_PrivateExtensionList_item = -1;  /* PrivateExtension */
173 static int hf_gsm_map_extId = -1;                 /* T_extId */
174 static int hf_gsm_map_extType = -1;               /* T_extType */
175 static int hf_gsm_map_na_ESRK_Request = -1;       /* NULL */
176
177 /* --- Module MAP-CommonDataTypes --- --- ---                                 */
178
179 static int hf_gsm_map_gsm_map_ISDN_AddressString_PDU = -1;  /* ISDN_AddressString */
180 static int hf_gsm_map_protocolId = -1;            /* ProtocolId */
181 static int hf_gsm_map_signalInfo = -1;            /* SignalInfo */
182 static int hf_gsm_map_extensionContainer = -1;    /* ExtensionContainer */
183 static int hf_gsm_map_ext_ProtocolId = -1;        /* Ext_ProtocolId */
184 static int hf_gsm_map_accessNetworkProtocolId = -1;  /* AccessNetworkProtocolId */
185 static int hf_gsm_map_signalInfo_01 = -1;         /* LongSignalInfo */
186 static int hf_gsm_map_imsi = -1;                  /* IMSI */
187 static int hf_gsm_map_imsi_WithLMSI = -1;         /* IMSI_WithLMSI */
188 static int hf_gsm_map_lmsi = -1;                  /* LMSI */
189 static int hf_gsm_map_HLR_List_item = -1;         /* HLR_Id */
190 static int hf_gsm_map_naea_PreferredCIC = -1;     /* NAEA_CIC */
191 static int hf_gsm_map_msisdn = -1;                /* ISDN_AddressString */
192 static int hf_gsm_map_externalAddress = -1;       /* ISDN_AddressString */
193 static int hf_gsm_map_diameter_Name = -1;         /* DiameterIdentity */
194 static int hf_gsm_map_diameter_Realm = -1;        /* DiameterIdentity */
195 static int hf_gsm_map_cellGlobalIdOrServiceAreaIdFixedLength = -1;  /* CellGlobalIdOrServiceAreaIdFixedLength */
196 static int hf_gsm_map_laiFixedLength = -1;        /* LAIFixedLength */
197 static int hf_gsm_map_bearerService = -1;         /* BearerServiceCode */
198 static int hf_gsm_map_teleservice = -1;           /* TeleserviceCode */
199 static int hf_gsm_map_ext_BearerService = -1;     /* Ext_BearerServiceCode */
200 static int hf_gsm_map_ext_Teleservice = -1;       /* Ext_TeleserviceCode */
201 static int hf_gsm_map_maximumentitledPriority = -1;  /* EMLPP_Priority */
202 static int hf_gsm_map_defaultPriority = -1;       /* EMLPP_Priority */
203 static int hf_gsm_map_ss_Code = -1;               /* SS_Code */
204 static int hf_gsm_map_ss_Status = -1;             /* Ext_SS_Status */
205 static int hf_gsm_map_nbrSB = -1;                 /* MaxMC_Bearers */
206 static int hf_gsm_map_nbrUser = -1;               /* MC_Bearers */
207
208 /* --- Module MAP-SS-DataTypes --- --- ---                                    */
209
210 static int hf_gsm_map_ss_ss_Code = -1;            /* SS_Code */
211 static int hf_gsm_map_ss_basicService = -1;       /* BasicServiceCode */
212 static int hf_gsm_map_ss_forwardedToNumber = -1;  /* AddressString */
213 static int hf_gsm_map_ss_forwardedToSubaddress = -1;  /* ISDN_SubaddressString */
214 static int hf_gsm_map_ss_noReplyConditionTime = -1;  /* NoReplyConditionTime */
215 static int hf_gsm_map_ss_defaultPriority = -1;    /* EMLPP_Priority */
216 static int hf_gsm_map_ss_nbrUser = -1;            /* MC_Bearers */
217 static int hf_gsm_map_ss_longFTN_Supported = -1;  /* NULL */
218 static int hf_gsm_map_ss_forwardingInfo = -1;     /* ForwardingInfo */
219 static int hf_gsm_map_ss_callBarringInfo = -1;    /* CallBarringInfo */
220 static int hf_gsm_map_ss_ss_Data = -1;            /* SS_Data */
221 static int hf_gsm_map_ss_forwardingFeatureList = -1;  /* ForwardingFeatureList */
222 static int hf_gsm_map_ss_ForwardingFeatureList_item = -1;  /* ForwardingFeature */
223 static int hf_gsm_map_ss_ss_Status = -1;          /* SS_Status */
224 static int hf_gsm_map_ss_forwardedToNumber_01 = -1;  /* ISDN_AddressString */
225 static int hf_gsm_map_ss_forwardingOptions = -1;  /* ForwardingOptions */
226 static int hf_gsm_map_ss_longForwardedToNumber = -1;  /* FTN_AddressString */
227 static int hf_gsm_map_ss_callBarringFeatureList = -1;  /* CallBarringFeatureList */
228 static int hf_gsm_map_ss_CallBarringFeatureList_item = -1;  /* CallBarringFeature */
229 static int hf_gsm_map_ss_ss_SubscriptionOption = -1;  /* SS_SubscriptionOption */
230 static int hf_gsm_map_ss_basicServiceGroupList = -1;  /* BasicServiceGroupList */
231 static int hf_gsm_map_ss_cliRestrictionOption = -1;  /* CliRestrictionOption */
232 static int hf_gsm_map_ss_overrideCategory = -1;   /* OverrideCategory */
233 static int hf_gsm_map_ss_maximumEntitledPriority = -1;  /* EMLPP_Priority */
234 static int hf_gsm_map_ss_ccbs_FeatureList = -1;   /* CCBS_FeatureList */
235 static int hf_gsm_map_ss_nbrSB = -1;              /* MaxMC_Bearers */
236 static int hf_gsm_map_ss_nbrSN = -1;              /* MC_Bearers */
237 static int hf_gsm_map_ss_CCBS_FeatureList_item = -1;  /* CCBS_Feature */
238 static int hf_gsm_map_ss_ccbs_Index = -1;         /* CCBS_Index */
239 static int hf_gsm_map_ss_b_subscriberNumber = -1;  /* ISDN_AddressString */
240 static int hf_gsm_map_ss_b_subscriberSubaddress = -1;  /* ISDN_SubaddressString */
241 static int hf_gsm_map_ss_basicServiceGroup = -1;  /* BasicServiceCode */
242 static int hf_gsm_map_ss_genericServiceInfo = -1;  /* GenericServiceInfo */
243 static int hf_gsm_map_ss_ussd_DataCodingScheme = -1;  /* USSD_DataCodingScheme */
244 static int hf_gsm_map_ss_ussd_String = -1;        /* USSD_String */
245 static int hf_gsm_map_ss_alertingPattern = -1;    /* AlertingPattern */
246 static int hf_gsm_map_ss_msisdn = -1;             /* ISDN_AddressString */
247 static int hf_gsm_map_ss_SS_List_item = -1;       /* SS_Code */
248 static int hf_gsm_map_ss_BasicServiceGroupList_item = -1;  /* BasicServiceCode */
249 static int hf_gsm_map_ss_imsi = -1;               /* IMSI */
250 static int hf_gsm_map_ss_ss_Event = -1;           /* SS_Code */
251 static int hf_gsm_map_ss_ss_EventSpecification = -1;  /* SS_EventSpecification */
252 static int hf_gsm_map_ss_extensionContainer = -1;  /* ExtensionContainer */
253 static int hf_gsm_map_ss_ccbs_RequestState = -1;  /* CCBS_RequestState */
254 static int hf_gsm_map_ss_SS_EventSpecification_item = -1;  /* AddressString */
255 static int hf_gsm_map_ss_ccbs_Data = -1;          /* CCBS_Data */
256 static int hf_gsm_map_ss_ccbs_Feature = -1;       /* CCBS_Feature */
257 static int hf_gsm_map_ss_translatedB_Number = -1;  /* ISDN_AddressString */
258 static int hf_gsm_map_ss_serviceIndicator = -1;   /* ServiceIndicator */
259 static int hf_gsm_map_ss_callInfo = -1;           /* ExternalSignalInfo */
260 static int hf_gsm_map_ss_networkSignalInfo = -1;  /* ExternalSignalInfo */
261 /* named bits */
262 static int hf_gsm_map_ss_ServiceIndicator_clir_invoked = -1;
263 static int hf_gsm_map_ss_ServiceIndicator_camel_invoked = -1;
264
265 /* --- Module MAP-ER-DataTypes --- --- ---                                    */
266
267 static int hf_gsm_map_er_roamingNotAllowedCause = -1;  /* RoamingNotAllowedCause */
268 static int hf_gsm_map_er_extensionContainer = -1;  /* ExtensionContainer */
269 static int hf_gsm_map_er_additionalRoamingNotAllowedCause = -1;  /* AdditionalRoamingNotAllowedCause */
270 static int hf_gsm_map_er_callBarringCause = -1;   /* CallBarringCause */
271 static int hf_gsm_map_er_extensibleCallBarredParam = -1;  /* ExtensibleCallBarredParam */
272 static int hf_gsm_map_er_unauthorisedMessageOriginator = -1;  /* NULL */
273 static int hf_gsm_map_er_anonymousCallRejection = -1;  /* NULL */
274 static int hf_gsm_map_er_cug_RejectCause = -1;    /* CUG_RejectCause */
275 static int hf_gsm_map_er_ss_Code = -1;            /* SS_Code */
276 static int hf_gsm_map_er_basicService = -1;       /* BasicServiceCode */
277 static int hf_gsm_map_er_ss_Status = -1;          /* SS_Status */
278 static int hf_gsm_map_er_sm_EnumeratedDeliveryFailureCause = -1;  /* SM_EnumeratedDeliveryFailureCause */
279 static int hf_gsm_map_er_diagnosticInfo = -1;     /* SignalInfo */
280 static int hf_gsm_map_er_absentSubscriberDiagnosticSM = -1;  /* AbsentSubscriberDiagnosticSM */
281 static int hf_gsm_map_er_additionalAbsentSubscriberDiagnosticSM = -1;  /* AbsentSubscriberDiagnosticSM */
282 static int hf_gsm_map_er_imsi = -1;               /* IMSI */
283 static int hf_gsm_map_er_networkResource = -1;    /* NetworkResource */
284 static int hf_gsm_map_er_extensibleSystemFailureParam = -1;  /* ExtensibleSystemFailureParam */
285 static int hf_gsm_map_er_additionalNetworkResource = -1;  /* AdditionalNetworkResource */
286 static int hf_gsm_map_er_failureCauseParam = -1;  /* FailureCauseParam */
287 static int hf_gsm_map_er_unexpectedSubscriber = -1;  /* NULL */
288 static int hf_gsm_map_er_shapeOfLocationEstimateNotSupported = -1;  /* NULL */
289 static int hf_gsm_map_er_neededLcsCapabilityNotSupportedInServingNode = -1;  /* NULL */
290 static int hf_gsm_map_er_unknownSubscriberDiagnostic = -1;  /* UnknownSubscriberDiagnostic */
291 static int hf_gsm_map_er_absentSubscriberReason = -1;  /* AbsentSubscriberReason */
292 static int hf_gsm_map_er_ccbs_Possible = -1;      /* NULL */
293 static int hf_gsm_map_er_ccbs_Busy = -1;          /* NULL */
294 static int hf_gsm_map_er_gprsConnectionSuspended = -1;  /* NULL */
295 static int hf_gsm_map_er_unauthorizedLCSClient_Diagnostic = -1;  /* UnauthorizedLCSClient_Diagnostic */
296 static int hf_gsm_map_er_positionMethodFailure_Diagnostic = -1;  /* PositionMethodFailure_Diagnostic */
297
298 /* --- Module MAP-SM-DataTypes --- --- ---                                    */
299
300 static int hf_gsm_map_sm_msisdn = -1;             /* ISDN_AddressString */
301 static int hf_gsm_map_sm_sm_RP_PRI = -1;          /* BOOLEAN */
302 static int hf_gsm_map_sm_serviceCentreAddress = -1;  /* AddressString */
303 static int hf_gsm_map_sm_extensionContainer = -1;  /* ExtensionContainer */
304 static int hf_gsm_map_sm_gprsSupportIndicator = -1;  /* NULL */
305 static int hf_gsm_map_sm_sm_RP_MTI = -1;          /* SM_RP_MTI */
306 static int hf_gsm_map_sm_sm_RP_SMEA = -1;         /* SM_RP_SMEA */
307 static int hf_gsm_map_sm_sm_deliveryNotIntended = -1;  /* SM_DeliveryNotIntended */
308 static int hf_gsm_map_sm_ip_sm_gwGuidanceIndicator = -1;  /* NULL */
309 static int hf_gsm_map_sm_imsi = -1;               /* IMSI */
310 static int hf_gsm_map_sm_locationInfoWithLMSI = -1;  /* LocationInfoWithLMSI */
311 static int hf_gsm_map_sm_ip_sm_gwGuidance = -1;   /* IP_SM_GW_Guidance */
312 static int hf_gsm_map_sm_minimumDeliveryTimeValue = -1;  /* SM_DeliveryTimerValue */
313 static int hf_gsm_map_sm_recommendedDeliveryTimeValue = -1;  /* SM_DeliveryTimerValue */
314 static int hf_gsm_map_sm_networkNode_Number = -1;  /* ISDN_AddressString */
315 static int hf_gsm_map_sm_lmsi = -1;               /* LMSI */
316 static int hf_gsm_map_sm_gprsNodeIndicator = -1;  /* NULL */
317 static int hf_gsm_map_sm_additional_Number = -1;  /* Additional_Number */
318 static int hf_gsm_map_sm_networkNodeDiameterAddress = -1;  /* NetworkNodeDiameterAddress */
319 static int hf_gsm_map_sm_additionalNetworkNodeDiameterAddress = -1;  /* NetworkNodeDiameterAddress */
320 static int hf_gsm_map_sm_thirdNumber = -1;        /* Additional_Number */
321 static int hf_gsm_map_sm_thirdNetworkNodeDiameterAddress = -1;  /* NetworkNodeDiameterAddress */
322 static int hf_gsm_map_sm_imsNodeIndicator = -1;   /* NULL */
323 static int hf_gsm_map_sm_msc_Number = -1;         /* ISDN_AddressString */
324 static int hf_gsm_map_sm_sgsn_Number = -1;        /* ISDN_AddressString */
325 static int hf_gsm_map_sm_sm_RP_DA = -1;           /* SM_RP_DA */
326 static int hf_gsm_map_sm_sm_RP_OA = -1;           /* SM_RP_OA */
327 static int hf_gsm_map_sm_sm_RP_UI = -1;           /* SignalInfo */
328 static int hf_gsm_map_sm_moreMessagesToSend = -1;  /* NULL */
329 static int hf_gsm_map_sm_smDeliveryTimer = -1;    /* SM_DeliveryTimerValue */
330 static int hf_gsm_map_sm_smDeliveryStartTime = -1;  /* Time */
331 static int hf_gsm_map_sm_smsOverIP_OnlyIndicator = -1;  /* NULL */
332 static int hf_gsm_map_sm_imsi_01 = -1;            /* T_imsi */
333 static int hf_gsm_map_sm_lmsi_01 = -1;            /* T_lmsi */
334 static int hf_gsm_map_sm_serviceCentreAddressDA = -1;  /* T_serviceCentreAddressDA */
335 static int hf_gsm_map_sm_noSM_RP_DA = -1;         /* NULL */
336 static int hf_gsm_map_sm_msisdn_01 = -1;          /* T_msisdn */
337 static int hf_gsm_map_sm_serviceCentreAddressOA = -1;  /* T_serviceCentreAddressOA */
338 static int hf_gsm_map_sm_noSM_RP_OA = -1;         /* NULL */
339 static int hf_gsm_map_sm_sm_DeliveryOutcome = -1;  /* SM_DeliveryOutcome */
340 static int hf_gsm_map_sm_absentSubscriberDiagnosticSM = -1;  /* AbsentSubscriberDiagnosticSM */
341 static int hf_gsm_map_sm_deliveryOutcomeIndicator = -1;  /* NULL */
342 static int hf_gsm_map_sm_additionalSM_DeliveryOutcome = -1;  /* SM_DeliveryOutcome */
343 static int hf_gsm_map_sm_additionalAbsentSubscriberDiagnosticSM = -1;  /* AbsentSubscriberDiagnosticSM */
344 static int hf_gsm_map_sm_ip_sm_gw_Indicator = -1;  /* NULL */
345 static int hf_gsm_map_sm_ip_sm_gw_sm_deliveryOutcome = -1;  /* SM_DeliveryOutcome */
346 static int hf_gsm_map_sm_ip_sm_gw_absentSubscriberDiagnosticSM = -1;  /* AbsentSubscriberDiagnosticSM */
347 static int hf_gsm_map_sm_storedMSISDN = -1;       /* ISDN_AddressString */
348 static int hf_gsm_map_sm_mw_Status = -1;          /* MW_Status */
349 static int hf_gsm_map_sm_alertReason = -1;        /* AlertReason */
350 static int hf_gsm_map_sm_alertReasonIndicator = -1;  /* NULL */
351 static int hf_gsm_map_sm_additionalAlertReasonIndicator = -1;  /* NULL */
352 static int hf_gsm_map_sm_asciCallReference = -1;  /* ASCI_CallReference */
353 static int hf_gsm_map_sm_dispatcherList = -1;     /* DispatcherList */
354 static int hf_gsm_map_sm_ongoingCall = -1;        /* NULL */
355 static int hf_gsm_map_sm_additionalDispatcherList = -1;  /* AdditionalDispatcherList */
356 static int hf_gsm_map_sm_DispatcherList_item = -1;  /* ISDN_AddressString */
357 static int hf_gsm_map_sm_AdditionalDispatcherList_item = -1;  /* ISDN_AddressString */
358 /* named bits */
359 static int hf_gsm_map_sm_MW_Status_sc_AddressNotIncluded = -1;
360 static int hf_gsm_map_sm_MW_Status_mnrf_Set = -1;
361 static int hf_gsm_map_sm_MW_Status_mcef_Set = -1;
362 static int hf_gsm_map_sm_MW_Status_mnrg_Set = -1;
363
364 /* --- Module MAP-OM-DataTypes --- --- ---                                    */
365
366 static int hf_gsm_map_om_imsi = -1;               /* IMSI */
367 static int hf_gsm_map_om_traceReference = -1;     /* TraceReference */
368 static int hf_gsm_map_om_traceType = -1;          /* TraceType */
369 static int hf_gsm_map_om_omc_Id = -1;             /* AddressString */
370 static int hf_gsm_map_om_extensionContainer = -1;  /* ExtensionContainer */
371 static int hf_gsm_map_om_traceReference2 = -1;    /* TraceReference2 */
372 static int hf_gsm_map_om_traceDepthList = -1;     /* TraceDepthList */
373 static int hf_gsm_map_om_traceNE_TypeList = -1;   /* TraceNE_TypeList */
374 static int hf_gsm_map_om_traceInterfaceList = -1;  /* TraceInterfaceList */
375 static int hf_gsm_map_om_traceEventList = -1;     /* TraceEventList */
376 static int hf_gsm_map_om_traceCollectionEntity = -1;  /* GSN_Address */
377 static int hf_gsm_map_om_mdt_Configuration = -1;  /* MDT_Configuration */
378 static int hf_gsm_map_om_jobType = -1;            /* JobType */
379 static int hf_gsm_map_om_areaScope = -1;          /* AreaScope */
380 static int hf_gsm_map_om_listOfMeasurements = -1;  /* ListOfMeasurements */
381 static int hf_gsm_map_om_reportingTrigger = -1;   /* ReportingTrigger */
382 static int hf_gsm_map_om_reportInterval = -1;     /* ReportInterval */
383 static int hf_gsm_map_om_reportAmount = -1;       /* ReportAmount */
384 static int hf_gsm_map_om_eventThresholdRSRP = -1;  /* EventThresholdRSRP */
385 static int hf_gsm_map_om_eventThresholdRSRQ = -1;  /* EventThresholdRSRQ */
386 static int hf_gsm_map_om_loggingInterval = -1;    /* LoggingInterval */
387 static int hf_gsm_map_om_loggingDuration = -1;    /* LoggingDuration */
388 static int hf_gsm_map_om_cgi_List = -1;           /* CGI_List */
389 static int hf_gsm_map_om_e_utran_cgi_List = -1;   /* E_UTRAN_CGI_List */
390 static int hf_gsm_map_om_routingAreaId_List = -1;  /* RoutingAreaId_List */
391 static int hf_gsm_map_om_locationAreaId_List = -1;  /* LocationAreaId_List */
392 static int hf_gsm_map_om_trackingAreaId_List = -1;  /* TrackingAreaId_List */
393 static int hf_gsm_map_om_CGI_List_item = -1;      /* GlobalCellId */
394 static int hf_gsm_map_om_E_UTRAN_CGI_List_item = -1;  /* E_UTRAN_CGI */
395 static int hf_gsm_map_om_RoutingAreaId_List_item = -1;  /* RAIdentity */
396 static int hf_gsm_map_om_LocationAreaId_List_item = -1;  /* LAIFixedLength */
397 static int hf_gsm_map_om_TrackingAreaId_List_item = -1;  /* TA_Id */
398 static int hf_gsm_map_om_msc_s_TraceDepth = -1;   /* TraceDepth */
399 static int hf_gsm_map_om_mgw_TraceDepth = -1;     /* TraceDepth */
400 static int hf_gsm_map_om_sgsn_TraceDepth = -1;    /* TraceDepth */
401 static int hf_gsm_map_om_ggsn_TraceDepth = -1;    /* TraceDepth */
402 static int hf_gsm_map_om_rnc_TraceDepth = -1;     /* TraceDepth */
403 static int hf_gsm_map_om_bmsc_TraceDepth = -1;    /* TraceDepth */
404 static int hf_gsm_map_om_mme_TraceDepth = -1;     /* TraceDepth */
405 static int hf_gsm_map_om_sgw_TraceDepth = -1;     /* TraceDepth */
406 static int hf_gsm_map_om_pgw_TraceDepth = -1;     /* TraceDepth */
407 static int hf_gsm_map_om_eNB_TraceDepth = -1;     /* TraceDepth */
408 static int hf_gsm_map_om_msc_s_TraceDepthExtension = -1;  /* TraceDepthExtension */
409 static int hf_gsm_map_om_mgw_TraceDepthExtension = -1;  /* TraceDepthExtension */
410 static int hf_gsm_map_om_sgsn_TraceDepthExtension = -1;  /* TraceDepthExtension */
411 static int hf_gsm_map_om_ggsn_TraceDepthExtension = -1;  /* TraceDepthExtension */
412 static int hf_gsm_map_om_rnc_TraceDepthExtension = -1;  /* TraceDepthExtension */
413 static int hf_gsm_map_om_bmsc_TraceDepthExtension = -1;  /* TraceDepthExtension */
414 static int hf_gsm_map_om_mme_TraceDepthExtension = -1;  /* TraceDepthExtension */
415 static int hf_gsm_map_om_sgw_TraceDepthExtension = -1;  /* TraceDepthExtension */
416 static int hf_gsm_map_om_pgw_TraceDepthExtension = -1;  /* TraceDepthExtension */
417 static int hf_gsm_map_om_eNB_TraceDepthExtension = -1;  /* TraceDepthExtension */
418 static int hf_gsm_map_om_msc_s_List = -1;         /* MSC_S_InterfaceList */
419 static int hf_gsm_map_om_mgw_List = -1;           /* MGW_InterfaceList */
420 static int hf_gsm_map_om_sgsn_List = -1;          /* SGSN_InterfaceList */
421 static int hf_gsm_map_om_ggsn_List = -1;          /* GGSN_InterfaceList */
422 static int hf_gsm_map_om_rnc_List = -1;           /* RNC_InterfaceList */
423 static int hf_gsm_map_om_bmsc_List = -1;          /* BMSC_InterfaceList */
424 static int hf_gsm_map_om_mme_List = -1;           /* MME_InterfaceList */
425 static int hf_gsm_map_om_sgw_List = -1;           /* SGW_InterfaceList */
426 static int hf_gsm_map_om_pgw_List = -1;           /* PGW_InterfaceList */
427 static int hf_gsm_map_om_eNB_List = -1;           /* ENB_InterfaceList */
428 static int hf_gsm_map_om_msc_s_List_01 = -1;      /* MSC_S_EventList */
429 static int hf_gsm_map_om_mgw_List_01 = -1;        /* MGW_EventList */
430 static int hf_gsm_map_om_sgsn_List_01 = -1;       /* SGSN_EventList */
431 static int hf_gsm_map_om_ggsn_List_01 = -1;       /* GGSN_EventList */
432 static int hf_gsm_map_om_bmsc_List_01 = -1;       /* BMSC_EventList */
433 static int hf_gsm_map_om_mme_List_01 = -1;        /* MME_EventList */
434 static int hf_gsm_map_om_sgw_List_01 = -1;        /* SGW_EventList */
435 static int hf_gsm_map_om_pgw_List_01 = -1;        /* PGW_EventList */
436 static int hf_gsm_map_om_traceRecordingSessionReference = -1;  /* TraceRecordingSessionReference */
437 static int hf_gsm_map_om_rnc_InterfaceList = -1;  /* RNC_InterfaceList */
438 static int hf_gsm_map_om_msc_s_InterfaceList = -1;  /* MSC_S_InterfaceList */
439 static int hf_gsm_map_om_msc_s_EventList = -1;    /* MSC_S_EventList */
440 static int hf_gsm_map_om_mgw_InterfaceList = -1;  /* MGW_InterfaceList */
441 static int hf_gsm_map_om_mgw_EventList = -1;      /* MGW_EventList */
442 static int hf_gsm_map_om_traceSupportIndicator = -1;  /* NULL */
443 /* named bits */
444 static int hf_gsm_map_om_TraceNE_TypeList_msc_s = -1;
445 static int hf_gsm_map_om_TraceNE_TypeList_mgw = -1;
446 static int hf_gsm_map_om_TraceNE_TypeList_sgsn = -1;
447 static int hf_gsm_map_om_TraceNE_TypeList_ggsn = -1;
448 static int hf_gsm_map_om_TraceNE_TypeList_rnc = -1;
449 static int hf_gsm_map_om_TraceNE_TypeList_bm_sc = -1;
450 static int hf_gsm_map_om_TraceNE_TypeList_mme = -1;
451 static int hf_gsm_map_om_TraceNE_TypeList_sgw = -1;
452 static int hf_gsm_map_om_TraceNE_TypeList_pgw = -1;
453 static int hf_gsm_map_om_TraceNE_TypeList_eNB = -1;
454 static int hf_gsm_map_om_MSC_S_InterfaceList_a = -1;
455 static int hf_gsm_map_om_MSC_S_InterfaceList_iu = -1;
456 static int hf_gsm_map_om_MSC_S_InterfaceList_mc = -1;
457 static int hf_gsm_map_om_MSC_S_InterfaceList_map_g = -1;
458 static int hf_gsm_map_om_MSC_S_InterfaceList_map_b = -1;
459 static int hf_gsm_map_om_MSC_S_InterfaceList_map_e = -1;
460 static int hf_gsm_map_om_MSC_S_InterfaceList_map_f = -1;
461 static int hf_gsm_map_om_MSC_S_InterfaceList_cap = -1;
462 static int hf_gsm_map_om_MSC_S_InterfaceList_map_d = -1;
463 static int hf_gsm_map_om_MSC_S_InterfaceList_map_c = -1;
464 static int hf_gsm_map_om_MGW_InterfaceList_mc = -1;
465 static int hf_gsm_map_om_MGW_InterfaceList_nb_up = -1;
466 static int hf_gsm_map_om_MGW_InterfaceList_iu_up = -1;
467 static int hf_gsm_map_om_SGSN_InterfaceList_gb = -1;
468 static int hf_gsm_map_om_SGSN_InterfaceList_iu = -1;
469 static int hf_gsm_map_om_SGSN_InterfaceList_gn = -1;
470 static int hf_gsm_map_om_SGSN_InterfaceList_map_gr = -1;
471 static int hf_gsm_map_om_SGSN_InterfaceList_map_gd = -1;
472 static int hf_gsm_map_om_SGSN_InterfaceList_map_gf = -1;
473 static int hf_gsm_map_om_SGSN_InterfaceList_gs = -1;
474 static int hf_gsm_map_om_SGSN_InterfaceList_ge = -1;
475 static int hf_gsm_map_om_SGSN_InterfaceList_s3 = -1;
476 static int hf_gsm_map_om_SGSN_InterfaceList_s4 = -1;
477 static int hf_gsm_map_om_SGSN_InterfaceList_s6d = -1;
478 static int hf_gsm_map_om_GGSN_InterfaceList_gn = -1;
479 static int hf_gsm_map_om_GGSN_InterfaceList_gi = -1;
480 static int hf_gsm_map_om_GGSN_InterfaceList_gmb = -1;
481 static int hf_gsm_map_om_RNC_InterfaceList_iu = -1;
482 static int hf_gsm_map_om_RNC_InterfaceList_iur = -1;
483 static int hf_gsm_map_om_RNC_InterfaceList_iub = -1;
484 static int hf_gsm_map_om_RNC_InterfaceList_uu = -1;
485 static int hf_gsm_map_om_BMSC_InterfaceList_gmb = -1;
486 static int hf_gsm_map_om_MME_InterfaceList_s1_mme = -1;
487 static int hf_gsm_map_om_MME_InterfaceList_s3 = -1;
488 static int hf_gsm_map_om_MME_InterfaceList_s6a = -1;
489 static int hf_gsm_map_om_MME_InterfaceList_s10 = -1;
490 static int hf_gsm_map_om_MME_InterfaceList_s11 = -1;
491 static int hf_gsm_map_om_SGW_InterfaceList_s4 = -1;
492 static int hf_gsm_map_om_SGW_InterfaceList_s5 = -1;
493 static int hf_gsm_map_om_SGW_InterfaceList_s8b = -1;
494 static int hf_gsm_map_om_SGW_InterfaceList_s11 = -1;
495 static int hf_gsm_map_om_SGW_InterfaceList_gxc = -1;
496 static int hf_gsm_map_om_PGW_InterfaceList_s2a = -1;
497 static int hf_gsm_map_om_PGW_InterfaceList_s2b = -1;
498 static int hf_gsm_map_om_PGW_InterfaceList_s2c = -1;
499 static int hf_gsm_map_om_PGW_InterfaceList_s5 = -1;
500 static int hf_gsm_map_om_PGW_InterfaceList_s6b = -1;
501 static int hf_gsm_map_om_PGW_InterfaceList_gx = -1;
502 static int hf_gsm_map_om_PGW_InterfaceList_s8b = -1;
503 static int hf_gsm_map_om_PGW_InterfaceList_sgi = -1;
504 static int hf_gsm_map_om_ENB_InterfaceList_s1_mme = -1;
505 static int hf_gsm_map_om_ENB_InterfaceList_x2 = -1;
506 static int hf_gsm_map_om_ENB_InterfaceList_uu = -1;
507 static int hf_gsm_map_om_MSC_S_EventList_mo_mtCall = -1;
508 static int hf_gsm_map_om_MSC_S_EventList_mo_mt_sms = -1;
509 static int hf_gsm_map_om_MSC_S_EventList_lu_imsiAttach_imsiDetach = -1;
510 static int hf_gsm_map_om_MSC_S_EventList_handovers = -1;
511 static int hf_gsm_map_om_MSC_S_EventList_ss = -1;
512 static int hf_gsm_map_om_MGW_EventList_context = -1;
513 static int hf_gsm_map_om_SGSN_EventList_pdpContext = -1;
514 static int hf_gsm_map_om_SGSN_EventList_mo_mt_sms = -1;
515 static int hf_gsm_map_om_SGSN_EventList_rau_gprsAttach_gprsDetach = -1;
516 static int hf_gsm_map_om_SGSN_EventList_mbmsContext = -1;
517 static int hf_gsm_map_om_GGSN_EventList_pdpContext = -1;
518 static int hf_gsm_map_om_GGSN_EventList_mbmsContext = -1;
519 static int hf_gsm_map_om_BMSC_EventList_mbmsMulticastServiceActivation = -1;
520 static int hf_gsm_map_om_MME_EventList_ue_initiatedPDNconectivityRequest = -1;
521 static int hf_gsm_map_om_MME_EventList_serviceRequestts = -1;
522 static int hf_gsm_map_om_MME_EventList_initialAttachTrackingAreaUpdateDetach = -1;
523 static int hf_gsm_map_om_MME_EventList_ue_initiatedPDNdisconnection = -1;
524 static int hf_gsm_map_om_MME_EventList_bearerActivationModificationDeletion = -1;
525 static int hf_gsm_map_om_MME_EventList_handover = -1;
526 static int hf_gsm_map_om_SGW_EventList_pdn_connectionCreation = -1;
527 static int hf_gsm_map_om_SGW_EventList_pdn_connectionTermination = -1;
528 static int hf_gsm_map_om_SGW_EventList_bearerActivationModificationDeletion = -1;
529 static int hf_gsm_map_om_PGW_EventList_pdn_connectionCreation = -1;
530 static int hf_gsm_map_om_PGW_EventList_pdn_connectionTermination = -1;
531 static int hf_gsm_map_om_PGW_EventList_bearerActivationModificationDeletion = -1;
532
533 /* --- Module MAP-MS-DataTypes --- --- ---                                    */
534
535 static int hf_gsm_map_ms_imsi = -1;               /* IMSI */
536 static int hf_gsm_map_ms_msc_Number = -1;         /* ISDN_AddressString */
537 static int hf_gsm_map_ms_vlr_Number = -1;         /* ISDN_AddressString */
538 static int hf_gsm_map_ms_lmsi = -1;               /* LMSI */
539 static int hf_gsm_map_ms_extensionContainer = -1;  /* ExtensionContainer */
540 static int hf_gsm_map_ms_vlr_Capability = -1;     /* VLR_Capability */
541 static int hf_gsm_map_ms_informPreviousNetworkEntity = -1;  /* NULL */
542 static int hf_gsm_map_ms_cs_LCS_NotSupportedByUE = -1;  /* NULL */
543 static int hf_gsm_map_ms_v_gmlc_Address = -1;     /* GSN_Address */
544 static int hf_gsm_map_ms_add_info = -1;           /* ADD_Info */
545 static int hf_gsm_map_ms_pagingArea = -1;         /* PagingArea */
546 static int hf_gsm_map_ms_skipSubscriberDataUpdate = -1;  /* NULL */
547 static int hf_gsm_map_ms_restorationIndicator = -1;  /* NULL */
548 static int hf_gsm_map_ms_eplmn_List = -1;         /* EPLMN_List */
549 static int hf_gsm_map_ms_mme_DiameterAddress = -1;  /* NetworkNodeDiameterAddress */
550 static int hf_gsm_map_ms_supportedCamelPhases = -1;  /* SupportedCamelPhases */
551 static int hf_gsm_map_ms_solsaSupportIndicator = -1;  /* NULL */
552 static int hf_gsm_map_ms_istSupportIndicator = -1;  /* IST_SupportIndicator */
553 static int hf_gsm_map_ms_superChargerSupportedInServingNetworkEntity = -1;  /* SuperChargerInfo */
554 static int hf_gsm_map_ms_longFTN_Supported = -1;  /* NULL */
555 static int hf_gsm_map_ms_supportedLCS_CapabilitySets = -1;  /* SupportedLCS_CapabilitySets */
556 static int hf_gsm_map_ms_offeredCamel4CSIs = -1;  /* OfferedCamel4CSIs */
557 static int hf_gsm_map_ms_supportedRAT_TypesIndicator = -1;  /* SupportedRAT_Types */
558 static int hf_gsm_map_ms_longGroupID_Supported = -1;  /* NULL */
559 static int hf_gsm_map_ms_mtRoamingForwardingSupported = -1;  /* NULL */
560 static int hf_gsm_map_ms_msisdn_lessOperation_Supported = -1;  /* NULL */
561 static int hf_gsm_map_ms_sendSubscriberData = -1;  /* NULL */
562 static int hf_gsm_map_ms_subscriberDataStored = -1;  /* AgeIndicator */
563 static int hf_gsm_map_ms_hlr_Number = -1;         /* ISDN_AddressString */
564 static int hf_gsm_map_ms_add_Capability = -1;     /* NULL */
565 static int hf_gsm_map_ms_pagingArea_Capability = -1;  /* NULL */
566 static int hf_gsm_map_ms_imeisv = -1;             /* IMEI */
567 static int hf_gsm_map_ms_PagingArea_item = -1;    /* LocationArea */
568 static int hf_gsm_map_ms_laiFixedLength = -1;     /* LAIFixedLength */
569 static int hf_gsm_map_ms_lac = -1;                /* LAC */
570 static int hf_gsm_map_ms_identity = -1;           /* Identity */
571 static int hf_gsm_map_ms_cancellationType = -1;   /* CancellationType */
572 static int hf_gsm_map_ms_typeOfUpdate = -1;       /* TypeOfUpdate */
573 static int hf_gsm_map_ms_mtrf_SupportedAndAuthorized = -1;  /* NULL */
574 static int hf_gsm_map_ms_mtrf_SupportedAndNotAuthorized = -1;  /* NULL */
575 static int hf_gsm_map_ms_newMSC_Number = -1;      /* ISDN_AddressString */
576 static int hf_gsm_map_ms_newVLR_Number = -1;      /* ISDN_AddressString */
577 static int hf_gsm_map_ms_new_lmsi = -1;           /* LMSI */
578 static int hf_gsm_map_ms_sgsn_Number = -1;        /* ISDN_AddressString */
579 static int hf_gsm_map_ms_freezeTMSI = -1;         /* NULL */
580 static int hf_gsm_map_ms_freezeP_TMSI = -1;       /* NULL */
581 static int hf_gsm_map_ms_freezeM_TMSI = -1;       /* NULL */
582 static int hf_gsm_map_ms_tmsi = -1;               /* TMSI */
583 static int hf_gsm_map_ms_numberOfRequestedVectors = -1;  /* NumberOfRequestedVectors */
584 static int hf_gsm_map_ms_segmentationProhibited = -1;  /* NULL */
585 static int hf_gsm_map_ms_previous_LAI = -1;       /* LAIFixedLength */
586 static int hf_gsm_map_ms_hopCounter = -1;         /* HopCounter */
587 static int hf_gsm_map_ms_authenticationSetList = -1;  /* AuthenticationSetList */
588 static int hf_gsm_map_ms_currentSecurityContext = -1;  /* CurrentSecurityContext */
589 static int hf_gsm_map_ms_tripletList = -1;        /* TripletList */
590 static int hf_gsm_map_ms_quintupletList = -1;     /* QuintupletList */
591 static int hf_gsm_map_ms_TripletList_item = -1;   /* AuthenticationTriplet */
592 static int hf_gsm_map_ms_QuintupletList_item = -1;  /* AuthenticationQuintuplet */
593 static int hf_gsm_map_ms_rand = -1;               /* RAND */
594 static int hf_gsm_map_ms_sres = -1;               /* SRES */
595 static int hf_gsm_map_ms_kc = -1;                 /* Kc */
596 static int hf_gsm_map_ms_xres = -1;               /* XRES */
597 static int hf_gsm_map_ms_ck = -1;                 /* CK */
598 static int hf_gsm_map_ms_ik = -1;                 /* IK */
599 static int hf_gsm_map_ms_autn = -1;               /* AUTN */
600 static int hf_gsm_map_ms_gsm_SecurityContextData = -1;  /* GSM_SecurityContextData */
601 static int hf_gsm_map_ms_umts_SecurityContextData = -1;  /* UMTS_SecurityContextData */
602 static int hf_gsm_map_ms_cksn = -1;               /* Cksn */
603 static int hf_gsm_map_ms_ksi = -1;                /* KSI */
604 static int hf_gsm_map_ms_failureCause = -1;       /* FailureCause */
605 static int hf_gsm_map_ms_re_attempt = -1;         /* BOOLEAN */
606 static int hf_gsm_map_ms_accessType = -1;         /* AccessType */
607 static int hf_gsm_map_ms_sgsn_Address = -1;       /* GSN_Address */
608 static int hf_gsm_map_ms_sgsn_Capability = -1;    /* SGSN_Capability */
609 static int hf_gsm_map_ms_ps_LCS_NotSupportedByUE = -1;  /* NULL */
610 static int hf_gsm_map_ms_eps_info = -1;           /* EPS_Info */
611 static int hf_gsm_map_ms_servingNodeTypeIndicator = -1;  /* NULL */
612 static int hf_gsm_map_ms_usedRAT_Type = -1;       /* Used_RAT_Type */
613 static int hf_gsm_map_ms_gprsSubscriptionDataNotNeeded = -1;  /* NULL */
614 static int hf_gsm_map_ms_nodeTypeIndicator = -1;  /* NULL */
615 static int hf_gsm_map_ms_areaRestricted = -1;     /* NULL */
616 static int hf_gsm_map_ms_ue_reachableIndicator = -1;  /* NULL */
617 static int hf_gsm_map_ms_epsSubscriptionDataNotNeeded = -1;  /* NULL */
618 static int hf_gsm_map_ms_ue_srvcc_Capability = -1;  /* UE_SRVCC_Capability */
619 static int hf_gsm_map_ms_mmeNumberforMTSMS = -1;  /* ISDN_AddressString */
620 static int hf_gsm_map_ms_smsRegisterRequest = -1;  /* SMSRegisterRequest */
621 static int hf_gsm_map_ms_sms_Only = -1;           /* NULL */
622 static int hf_gsm_map_ms_pdn_gw_update = -1;      /* PDN_GW_Update */
623 static int hf_gsm_map_ms_isr_Information = -1;    /* ISR_Information */
624 static int hf_gsm_map_ms_apn = -1;                /* APN */
625 static int hf_gsm_map_ms_pdn_gw_Identity = -1;    /* PDN_GW_Identity */
626 static int hf_gsm_map_ms_contextId = -1;          /* ContextId */
627 static int hf_gsm_map_ms_gprsEnhancementsSupportIndicator = -1;  /* NULL */
628 static int hf_gsm_map_ms_smsCallBarringSupportIndicator = -1;  /* NULL */
629 static int hf_gsm_map_ms_supportedFeatures = -1;  /* SupportedFeatures */
630 static int hf_gsm_map_ms_t_adsDataRetrieval = -1;  /* NULL */
631 static int hf_gsm_map_ms_homogeneousSupportOfIMSVoiceOverPSSessions = -1;  /* BOOLEAN */
632 static int hf_gsm_map_ms_cancellationTypeInitialAttach = -1;  /* NULL */
633 static int hf_gsm_map_ms_additionalMsisdnSupport = -1;  /* NULL */
634 static int hf_gsm_map_ms_sgsn_mmeSeparationSupported = -1;  /* NULL */
635 static int hf_gsm_map_ms_mmeRegisteredforSMS = -1;  /* NULL */
636 static int hf_gsm_map_ms_EPLMN_List_item = -1;    /* PLMN_Id */
637 static int hf_gsm_map_ms_an_APDU = -1;            /* AccessNetworkSignalInfo */
638 static int hf_gsm_map_ms_integrityProtectionInfo = -1;  /* IntegrityProtectionInformation */
639 static int hf_gsm_map_ms_encryptionInfo = -1;     /* EncryptionInformation */
640 static int hf_gsm_map_ms_keyStatus = -1;          /* KeyStatus */
641 static int hf_gsm_map_ms_allowedGSM_Algorithms = -1;  /* AllowedGSM_Algorithms */
642 static int hf_gsm_map_ms_allowedUMTS_Algorithms = -1;  /* AllowedUMTS_Algorithms */
643 static int hf_gsm_map_ms_radioResourceInformation = -1;  /* RadioResourceInformation */
644 static int hf_gsm_map_ms_radioResourceList = -1;  /* RadioResourceList */
645 static int hf_gsm_map_ms_bssmap_ServiceHandover = -1;  /* BSSMAP_ServiceHandover */
646 static int hf_gsm_map_ms_ranap_ServiceHandover = -1;  /* RANAP_ServiceHandover */
647 static int hf_gsm_map_ms_bssmap_ServiceHandoverList = -1;  /* BSSMAP_ServiceHandoverList */
648 static int hf_gsm_map_ms_currentlyUsedCodec = -1;  /* Codec */
649 static int hf_gsm_map_ms_iuSupportedCodecsList = -1;  /* SupportedCodecsList */
650 static int hf_gsm_map_ms_rab_ConfigurationIndicator = -1;  /* NULL */
651 static int hf_gsm_map_ms_iuSelectedCodec = -1;    /* Codec */
652 static int hf_gsm_map_ms_alternativeChannelType = -1;  /* RadioResourceInformation */
653 static int hf_gsm_map_ms_tracePropagationList = -1;  /* TracePropagationList */
654 static int hf_gsm_map_ms_aoipSupportedCodecsListAnchor = -1;  /* AoIPCodecsList */
655 static int hf_gsm_map_ms_aoipSelectedCodecTarget = -1;  /* AoIPCodec */
656 static int hf_gsm_map_ms_integrityProtectionAlgorithms = -1;  /* PermittedIntegrityProtectionAlgorithms */
657 static int hf_gsm_map_ms_encryptionAlgorithms = -1;  /* PermittedEncryptionAlgorithms */
658 static int hf_gsm_map_ms_targetCellId = -1;       /* GlobalCellId */
659 static int hf_gsm_map_ms_ho_NumberNotRequired = -1;  /* NULL */
660 static int hf_gsm_map_ms_targetRNCId = -1;        /* RNCId */
661 static int hf_gsm_map_ms_multipleBearerRequested = -1;  /* NULL */
662 static int hf_gsm_map_ms_rab_Id = -1;             /* RAB_Id */
663 static int hf_gsm_map_ms_asciCallReference = -1;  /* ASCI_CallReference */
664 static int hf_gsm_map_ms_geran_classmark = -1;    /* GERAN_Classmark */
665 static int hf_gsm_map_ms_iuCurrentlyUsedCodec = -1;  /* Codec */
666 static int hf_gsm_map_ms_uesbi_Iu = -1;           /* UESBI_Iu */
667 static int hf_gsm_map_ms_regionalSubscriptionData = -1;  /* ZoneCodeList */
668 static int hf_gsm_map_ms_lclsGlobalCallReference = -1;  /* LCLS_GlobalCallReference */
669 static int hf_gsm_map_ms_lcls_Negotiation = -1;   /* LCLS_Negotiation */
670 static int hf_gsm_map_ms_lcls_Configuration_Preference = -1;  /* LCLS_ConfigurationPreference */
671 static int hf_gsm_map_ms_csg_SubscriptionDataList = -1;  /* CSG_SubscriptionDataList */
672 static int hf_gsm_map_ms_BSSMAP_ServiceHandoverList_item = -1;  /* BSSMAP_ServiceHandoverInfo */
673 static int hf_gsm_map_ms_RadioResourceList_item = -1;  /* RadioResource */
674 static int hf_gsm_map_ms_handoverNumber = -1;     /* ISDN_AddressString */
675 static int hf_gsm_map_ms_relocationNumberList = -1;  /* RelocationNumberList */
676 static int hf_gsm_map_ms_multicallBearerInfo = -1;  /* MulticallBearerInfo */
677 static int hf_gsm_map_ms_multipleBearerNotSupported = -1;  /* NULL */
678 static int hf_gsm_map_ms_selectedUMTS_Algorithms = -1;  /* SelectedUMTS_Algorithms */
679 static int hf_gsm_map_ms_chosenRadioResourceInformation = -1;  /* ChosenRadioResourceInformation */
680 static int hf_gsm_map_ms_iuAvailableCodecsList = -1;  /* CodecList */
681 static int hf_gsm_map_ms_aoipAvailableCodecsListMap = -1;  /* AoIPCodecsList */
682 static int hf_gsm_map_ms_integrityProtectionAlgorithm = -1;  /* ChosenIntegrityProtectionAlgorithm */
683 static int hf_gsm_map_ms_encryptionAlgorithm = -1;  /* ChosenEncryptionAlgorithm */
684 static int hf_gsm_map_ms_chosenChannelInfo = -1;  /* ChosenChannelInfo */
685 static int hf_gsm_map_ms_chosenSpeechVersion = -1;  /* ChosenSpeechVersion */
686 static int hf_gsm_map_ms_targetMSC_Number = -1;   /* ISDN_AddressString */
687 static int hf_gsm_map_ms_selectedRab_Id = -1;     /* RAB_Id */
688 static int hf_gsm_map_ms_selectedGSM_Algorithm = -1;  /* SelectedGSM_Algorithm */
689 static int hf_gsm_map_ms_iUSelectedCodec = -1;    /* Codec */
690 static int hf_gsm_map_ms_codec1 = -1;             /* AoIPCodec */
691 static int hf_gsm_map_ms_codec2 = -1;             /* AoIPCodec */
692 static int hf_gsm_map_ms_codec3 = -1;             /* AoIPCodec */
693 static int hf_gsm_map_ms_codec4 = -1;             /* AoIPCodec */
694 static int hf_gsm_map_ms_codec5 = -1;             /* AoIPCodec */
695 static int hf_gsm_map_ms_codec6 = -1;             /* AoIPCodec */
696 static int hf_gsm_map_ms_codec7 = -1;             /* AoIPCodec */
697 static int hf_gsm_map_ms_codec8 = -1;             /* AoIPCodec */
698 static int hf_gsm_map_ms_utranCodecList = -1;     /* CodecList */
699 static int hf_gsm_map_ms_geranCodecList = -1;     /* CodecList */
700 static int hf_gsm_map_ms_codec1_01 = -1;          /* Codec */
701 static int hf_gsm_map_ms_codec2_01 = -1;          /* Codec */
702 static int hf_gsm_map_ms_codec3_01 = -1;          /* Codec */
703 static int hf_gsm_map_ms_codec4_01 = -1;          /* Codec */
704 static int hf_gsm_map_ms_codec5_01 = -1;          /* Codec */
705 static int hf_gsm_map_ms_codec6_01 = -1;          /* Codec */
706 static int hf_gsm_map_ms_codec7_01 = -1;          /* Codec */
707 static int hf_gsm_map_ms_codec8_01 = -1;          /* Codec */
708 static int hf_gsm_map_ms_RelocationNumberList_item = -1;  /* RelocationNumber */
709 static int hf_gsm_map_ms_immediateResponsePreferred = -1;  /* NULL */
710 static int hf_gsm_map_ms_re_synchronisationInfo = -1;  /* Re_synchronisationInfo */
711 static int hf_gsm_map_ms_requestingNodeType = -1;  /* RequestingNodeType */
712 static int hf_gsm_map_ms_requestingPLMN_Id = -1;  /* PLMN_Id */
713 static int hf_gsm_map_ms_numberOfRequestedAdditional_Vectors = -1;  /* NumberOfRequestedVectors */
714 static int hf_gsm_map_ms_additionalVectorsAreForEPS = -1;  /* NULL */
715 static int hf_gsm_map_ms_auts = -1;               /* AUTS */
716 static int hf_gsm_map_ms_eps_AuthenticationSetList = -1;  /* EPS_AuthenticationSetList */
717 static int hf_gsm_map_ms_EPS_AuthenticationSetList_item = -1;  /* EPC_AV */
718 static int hf_gsm_map_ms_kasme = -1;              /* KASME */
719 static int hf_gsm_map_ms_imei = -1;               /* IMEI */
720 static int hf_gsm_map_ms_requestedEquipmentInfo = -1;  /* RequestedEquipmentInfo */
721 static int hf_gsm_map_ms_equipmentStatus = -1;    /* EquipmentStatus */
722 static int hf_gsm_map_ms_bmuef = -1;              /* UESBI_Iu */
723 static int hf_gsm_map_ms_uesbi_IuA = -1;          /* UESBI_IuA */
724 static int hf_gsm_map_ms_uesbi_IuB = -1;          /* UESBI_IuB */
725 static int hf_gsm_map_ms_CSG_SubscriptionDataList_item = -1;  /* CSG_SubscriptionData */
726 static int hf_gsm_map_ms_csg_Id = -1;             /* CSG_Id */
727 static int hf_gsm_map_ms_expirationDate = -1;     /* Time */
728 static int hf_gsm_map_ms_lipa_AllowedAPNList = -1;  /* LIPA_AllowedAPNList */
729 static int hf_gsm_map_ms_plmn_Id = -1;            /* PLMN_Id */
730 static int hf_gsm_map_ms_VPLMN_CSG_SubscriptionDataList_item = -1;  /* CSG_SubscriptionData */
731 static int hf_gsm_map_ms_LIPA_AllowedAPNList_item = -1;  /* APN */
732 static int hf_gsm_map_ms_apn_oi_Replacement = -1;  /* APN_OI_Replacement */
733 static int hf_gsm_map_ms_rfsp_id = -1;            /* RFSP_ID */
734 static int hf_gsm_map_ms_ambr = -1;               /* AMBR */
735 static int hf_gsm_map_ms_apn_ConfigurationProfile = -1;  /* APN_ConfigurationProfile */
736 static int hf_gsm_map_ms_stn_sr = -1;             /* ISDN_AddressString */
737 static int hf_gsm_map_ms_mps_CSPriority = -1;     /* NULL */
738 static int hf_gsm_map_ms_mps_EPSPriority = -1;    /* NULL */
739 static int hf_gsm_map_ms_subscribed_vsrvcc = -1;  /* NULL */
740 static int hf_gsm_map_ms_defaultContext = -1;     /* ContextId */
741 static int hf_gsm_map_ms_completeDataListIncluded = -1;  /* NULL */
742 static int hf_gsm_map_ms_epsDataList = -1;        /* EPS_DataList */
743 static int hf_gsm_map_ms_EPS_DataList_item = -1;  /* APN_Configuration */
744 static int hf_gsm_map_ms_pdn_Type = -1;           /* PDN_Type */
745 static int hf_gsm_map_ms_servedPartyIP_IPv4_Address = -1;  /* PDP_Address */
746 static int hf_gsm_map_ms_eps_qos_Subscribed = -1;  /* EPS_QoS_Subscribed */
747 static int hf_gsm_map_ms_pdn_gw_AllocationType = -1;  /* PDN_GW_AllocationType */
748 static int hf_gsm_map_ms_vplmnAddressAllowed = -1;  /* NULL */
749 static int hf_gsm_map_ms_chargingCharacteristics = -1;  /* ChargingCharacteristics */
750 static int hf_gsm_map_ms_specificAPNInfoList = -1;  /* SpecificAPNInfoList */
751 static int hf_gsm_map_ms_servedPartyIP_IPv6_Address = -1;  /* PDP_Address */
752 static int hf_gsm_map_ms_sipto_Permission = -1;   /* SIPTO_Permission */
753 static int hf_gsm_map_ms_lipa_Permission = -1;    /* LIPA_Permission */
754 static int hf_gsm_map_ms_qos_Class_Identifier = -1;  /* QoS_Class_Identifier */
755 static int hf_gsm_map_ms_allocation_Retention_Priority = -1;  /* Allocation_Retention_Priority */
756 static int hf_gsm_map_ms_max_RequestedBandwidth_UL = -1;  /* Bandwidth */
757 static int hf_gsm_map_ms_max_RequestedBandwidth_DL = -1;  /* Bandwidth */
758 static int hf_gsm_map_ms_SpecificAPNInfoList_item = -1;  /* SpecificAPNInfo */
759 static int hf_gsm_map_ms_priority_level = -1;     /* INTEGER */
760 static int hf_gsm_map_ms_pre_emption_capability = -1;  /* BOOLEAN */
761 static int hf_gsm_map_ms_pre_emption_vulnerability = -1;  /* BOOLEAN */
762 static int hf_gsm_map_ms_pdn_gw_ipv4_Address = -1;  /* PDP_Address */
763 static int hf_gsm_map_ms_pdn_gw_ipv6_Address = -1;  /* PDP_Address */
764 static int hf_gsm_map_ms_pdn_gw_name = -1;        /* FQDN */
765 static int hf_gsm_map_ms_gmlc_List = -1;          /* GMLC_List */
766 static int hf_gsm_map_ms_lcs_PrivacyExceptionList = -1;  /* LCS_PrivacyExceptionList */
767 static int hf_gsm_map_ms_molr_List = -1;          /* MOLR_List */
768 static int hf_gsm_map_ms_add_lcs_PrivacyExceptionList = -1;  /* LCS_PrivacyExceptionList */
769 static int hf_gsm_map_ms_GMLC_List_item = -1;     /* ISDN_AddressString */
770 static int hf_gsm_map_ms_GPRSDataList_item = -1;  /* PDP_Context */
771 static int hf_gsm_map_ms_pdp_ContextId = -1;      /* ContextId */
772 static int hf_gsm_map_ms_pdp_Type = -1;           /* PDP_Type */
773 static int hf_gsm_map_ms_pdp_Address = -1;        /* PDP_Address */
774 static int hf_gsm_map_ms_qos_Subscribed = -1;     /* QoS_Subscribed */
775 static int hf_gsm_map_ms_ext_QoS_Subscribed = -1;  /* Ext_QoS_Subscribed */
776 static int hf_gsm_map_ms_pdp_ChargingCharacteristics = -1;  /* ChargingCharacteristics */
777 static int hf_gsm_map_ms_ext2_QoS_Subscribed = -1;  /* Ext2_QoS_Subscribed */
778 static int hf_gsm_map_ms_ext3_QoS_Subscribed = -1;  /* Ext3_QoS_Subscribed */
779 static int hf_gsm_map_ms_ext4_QoS_Subscribed = -1;  /* Ext4_QoS_Subscribed */
780 static int hf_gsm_map_ms_ext_pdp_Type = -1;       /* Ext_PDP_Type */
781 static int hf_gsm_map_ms_ext_pdp_Address = -1;    /* PDP_Address */
782 static int hf_gsm_map_ms_gprsDataList = -1;       /* GPRSDataList */
783 static int hf_gsm_map_ms_gprs_CSI = -1;           /* GPRS_CSI */
784 static int hf_gsm_map_ms_mo_sms_CSI = -1;         /* SMS_CSI */
785 static int hf_gsm_map_ms_mt_sms_CSI = -1;         /* SMS_CSI */
786 static int hf_gsm_map_ms_mt_smsCAMELTDP_CriteriaList = -1;  /* MT_smsCAMELTDP_CriteriaList */
787 static int hf_gsm_map_ms_mg_csi = -1;             /* MG_CSI */
788 static int hf_gsm_map_ms_gprs_CamelTDPDataList = -1;  /* GPRS_CamelTDPDataList */
789 static int hf_gsm_map_ms_camelCapabilityHandling = -1;  /* CamelCapabilityHandling */
790 static int hf_gsm_map_ms_notificationToCSE = -1;  /* NULL */
791 static int hf_gsm_map_ms_csi_Active = -1;         /* NULL */
792 static int hf_gsm_map_ms_GPRS_CamelTDPDataList_item = -1;  /* GPRS_CamelTDPData */
793 static int hf_gsm_map_ms_gprs_TriggerDetectionPoint = -1;  /* GPRS_TriggerDetectionPoint */
794 static int hf_gsm_map_ms_serviceKey = -1;         /* ServiceKey */
795 static int hf_gsm_map_ms_gsmSCF_Address = -1;     /* ISDN_AddressString */
796 static int hf_gsm_map_ms_defaultSessionHandling = -1;  /* DefaultGPRS_Handling */
797 static int hf_gsm_map_ms_LSADataList_item = -1;   /* LSAData */
798 static int hf_gsm_map_ms_lsaIdentity = -1;        /* LSAIdentity */
799 static int hf_gsm_map_ms_lsaAttributes = -1;      /* LSAAttributes */
800 static int hf_gsm_map_ms_lsaActiveModeIndicator = -1;  /* NULL */
801 static int hf_gsm_map_ms_lsaOnlyAccessIndicator = -1;  /* LSAOnlyAccessIndicator */
802 static int hf_gsm_map_ms_lsaDataList = -1;        /* LSADataList */
803 static int hf_gsm_map_ms_msisdn = -1;             /* ISDN_AddressString */
804 static int hf_gsm_map_ms_category = -1;           /* Category */
805 static int hf_gsm_map_ms_subscriberStatus = -1;   /* SubscriberStatus */
806 static int hf_gsm_map_ms_bearerServiceList = -1;  /* BearerServiceList */
807 static int hf_gsm_map_ms_teleserviceList = -1;    /* TeleserviceList */
808 static int hf_gsm_map_ms_provisionedSS = -1;      /* Ext_SS_InfoList */
809 static int hf_gsm_map_ms_odb_Data = -1;           /* ODB_Data */
810 static int hf_gsm_map_ms_roamingRestrictionDueToUnsupportedFeature = -1;  /* NULL */
811 static int hf_gsm_map_ms_vbsSubscriptionData = -1;  /* VBSDataList */
812 static int hf_gsm_map_ms_vgcsSubscriptionData = -1;  /* VGCSDataList */
813 static int hf_gsm_map_ms_vlrCamelSubscriptionInfo = -1;  /* VlrCamelSubscriptionInfo */
814 static int hf_gsm_map_ms_BearerServiceList_item = -1;  /* Ext_BearerServiceCode */
815 static int hf_gsm_map_ms_TeleserviceList_item = -1;  /* Ext_TeleserviceCode */
816 static int hf_gsm_map_ms_odb_GeneralData = -1;    /* ODB_GeneralData */
817 static int hf_gsm_map_ms_odb_HPLMN_Data = -1;     /* ODB_HPLMN_Data */
818 static int hf_gsm_map_ms_Ext_SS_InfoList_item = -1;  /* Ext_SS_Info */
819 static int hf_gsm_map_ms_forwardingInfo = -1;     /* Ext_ForwInfo */
820 static int hf_gsm_map_ms_callBarringInfo = -1;    /* Ext_CallBarInfo */
821 static int hf_gsm_map_ms_cug_Info = -1;           /* CUG_Info */
822 static int hf_gsm_map_ms_ss_Data = -1;            /* Ext_SS_Data */
823 static int hf_gsm_map_ms_emlpp_Info = -1;         /* EMLPP_Info */
824 static int hf_gsm_map_ms_ss_Code = -1;            /* SS_Code */
825 static int hf_gsm_map_ms_forwardingFeatureList = -1;  /* Ext_ForwFeatureList */
826 static int hf_gsm_map_ms_Ext_ForwFeatureList_item = -1;  /* Ext_ForwFeature */
827 static int hf_gsm_map_ms_basicService = -1;       /* Ext_BasicServiceCode */
828 static int hf_gsm_map_ms_ss_Status = -1;          /* Ext_SS_Status */
829 static int hf_gsm_map_ms_forwardedToNumber = -1;  /* ISDN_AddressString */
830 static int hf_gsm_map_ms_forwardedToSubaddress = -1;  /* ISDN_SubaddressString */
831 static int hf_gsm_map_ms_forwardingOptions = -1;  /* T_forwardingOptions */
832 static int hf_gsm_map_ms_noReplyConditionTime = -1;  /* Ext_NoRepCondTime */
833 static int hf_gsm_map_ms_longForwardedToNumber = -1;  /* FTN_AddressString */
834 static int hf_gsm_map_ms_callBarringFeatureList = -1;  /* Ext_CallBarFeatureList */
835 static int hf_gsm_map_ms_Ext_CallBarFeatureList_item = -1;  /* Ext_CallBarringFeature */
836 static int hf_gsm_map_ms_cug_SubscriptionList = -1;  /* CUG_SubscriptionList */
837 static int hf_gsm_map_ms_cug_FeatureList = -1;    /* CUG_FeatureList */
838 static int hf_gsm_map_ms_CUG_SubscriptionList_item = -1;  /* CUG_Subscription */
839 static int hf_gsm_map_ms_cug_Index = -1;          /* CUG_Index */
840 static int hf_gsm_map_ms_cug_Interlock = -1;      /* CUG_Interlock */
841 static int hf_gsm_map_ms_intraCUG_Options = -1;   /* IntraCUG_Options */
842 static int hf_gsm_map_ms_basicServiceGroupList = -1;  /* Ext_BasicServiceGroupList */
843 static int hf_gsm_map_ms_CUG_FeatureList_item = -1;  /* CUG_Feature */
844 static int hf_gsm_map_ms_Ext_BasicServiceGroupList_item = -1;  /* Ext_BasicServiceCode */
845 static int hf_gsm_map_ms_preferentialCUG_Indicator = -1;  /* CUG_Index */
846 static int hf_gsm_map_ms_interCUG_Restrictions = -1;  /* InterCUG_Restrictions */
847 static int hf_gsm_map_ms_ss_SubscriptionOption = -1;  /* SS_SubscriptionOption */
848 static int hf_gsm_map_ms_LCS_PrivacyExceptionList_item = -1;  /* LCS_PrivacyClass */
849 static int hf_gsm_map_ms_notificationToMSUser = -1;  /* NotificationToMSUser */
850 static int hf_gsm_map_ms_externalClientList = -1;  /* ExternalClientList */
851 static int hf_gsm_map_ms_plmnClientList = -1;     /* PLMNClientList */
852 static int hf_gsm_map_ms_ext_externalClientList = -1;  /* Ext_ExternalClientList */
853 static int hf_gsm_map_ms_serviceTypeList = -1;    /* ServiceTypeList */
854 static int hf_gsm_map_ms_ExternalClientList_item = -1;  /* ExternalClient */
855 static int hf_gsm_map_ms_PLMNClientList_item = -1;  /* LCSClientInternalID */
856 static int hf_gsm_map_ms_Ext_ExternalClientList_item = -1;  /* ExternalClient */
857 static int hf_gsm_map_ms_clientIdentity = -1;     /* LCSClientExternalID */
858 static int hf_gsm_map_ms_gmlc_Restriction = -1;   /* GMLC_Restriction */
859 static int hf_gsm_map_ms_ServiceTypeList_item = -1;  /* ServiceType */
860 static int hf_gsm_map_ms_serviceTypeIdentity = -1;  /* LCSServiceTypeID */
861 static int hf_gsm_map_ms_MOLR_List_item = -1;     /* MOLR_Class */
862 static int hf_gsm_map_ms_ZoneCodeList_item = -1;  /* ZoneCode */
863 static int hf_gsm_map_ms_ss_List = -1;            /* SS_List */
864 static int hf_gsm_map_ms_regionalSubscriptionResponse = -1;  /* RegionalSubscriptionResponse */
865 static int hf_gsm_map_ms_basicServiceList = -1;   /* BasicServiceList */
866 static int hf_gsm_map_ms_regionalSubscriptionIdentifier = -1;  /* ZoneCode */
867 static int hf_gsm_map_ms_vbsGroupIndication = -1;  /* NULL */
868 static int hf_gsm_map_ms_vgcsGroupIndication = -1;  /* NULL */
869 static int hf_gsm_map_ms_camelSubscriptionInfoWithdraw = -1;  /* NULL */
870 static int hf_gsm_map_ms_gprsSubscriptionDataWithdraw = -1;  /* GPRSSubscriptionDataWithdraw */
871 static int hf_gsm_map_ms_roamingRestrictedInSgsnDueToUnsuppportedFeature = -1;  /* NULL */
872 static int hf_gsm_map_ms_lsaInformationWithdraw = -1;  /* LSAInformationWithdraw */
873 static int hf_gsm_map_ms_gmlc_ListWithdraw = -1;  /* NULL */
874 static int hf_gsm_map_ms_istInformationWithdraw = -1;  /* NULL */
875 static int hf_gsm_map_ms_specificCSI_Withdraw = -1;  /* SpecificCSI_Withdraw */
876 static int hf_gsm_map_ms_chargingCharacteristicsWithdraw = -1;  /* NULL */
877 static int hf_gsm_map_ms_stn_srWithdraw = -1;     /* NULL */
878 static int hf_gsm_map_ms_epsSubscriptionDataWithdraw = -1;  /* EPS_SubscriptionDataWithdraw */
879 static int hf_gsm_map_ms_apn_oi_replacementWithdraw = -1;  /* NULL */
880 static int hf_gsm_map_ms_csg_SubscriptionDeleted = -1;  /* NULL */
881 static int hf_gsm_map_ms_subscribedPeriodicTAU_RAU_TimerWithdraw = -1;  /* NULL */
882 static int hf_gsm_map_ms_subscribedPeriodicLAU_TimerWithdraw = -1;  /* NULL */
883 static int hf_gsm_map_ms_subscribed_vsrvccWithdraw = -1;  /* NULL */
884 static int hf_gsm_map_ms_vplmn_Csg_SubscriptionDeleted = -1;  /* NULL */
885 static int hf_gsm_map_ms_additionalMSISDN_Withdraw = -1;  /* NULL */
886 static int hf_gsm_map_ms_allGPRSData = -1;        /* NULL */
887 static int hf_gsm_map_ms_contextIdList = -1;      /* ContextIdList */
888 static int hf_gsm_map_ms_allEPS_Data = -1;        /* NULL */
889 static int hf_gsm_map_ms_ContextIdList_item = -1;  /* ContextId */
890 static int hf_gsm_map_ms_allLSAData = -1;         /* NULL */
891 static int hf_gsm_map_ms_lsaIdentityList = -1;    /* LSAIdentityList */
892 static int hf_gsm_map_ms_LSAIdentityList_item = -1;  /* LSAIdentity */
893 static int hf_gsm_map_ms_BasicServiceList_item = -1;  /* Ext_BasicServiceCode */
894 static int hf_gsm_map_ms_o_CSI = -1;              /* O_CSI */
895 static int hf_gsm_map_ms_ss_CSI = -1;             /* SS_CSI */
896 static int hf_gsm_map_ms_o_BcsmCamelTDP_CriteriaList = -1;  /* O_BcsmCamelTDPCriteriaList */
897 static int hf_gsm_map_ms_tif_CSI = -1;            /* NULL */
898 static int hf_gsm_map_ms_m_CSI = -1;              /* M_CSI */
899 static int hf_gsm_map_ms_vt_CSI = -1;             /* T_CSI */
900 static int hf_gsm_map_ms_t_BCSM_CAMEL_TDP_CriteriaList = -1;  /* T_BCSM_CAMEL_TDP_CriteriaList */
901 static int hf_gsm_map_ms_d_CSI = -1;              /* D_CSI */
902 static int hf_gsm_map_ms_MT_smsCAMELTDP_CriteriaList_item = -1;  /* MT_smsCAMELTDP_Criteria */
903 static int hf_gsm_map_ms_sms_TriggerDetectionPoint = -1;  /* SMS_TriggerDetectionPoint */
904 static int hf_gsm_map_ms_tpdu_TypeCriterion = -1;  /* TPDU_TypeCriterion */
905 static int hf_gsm_map_ms_TPDU_TypeCriterion_item = -1;  /* MT_SMS_TPDU_Type */
906 static int hf_gsm_map_ms_dp_AnalysedInfoCriteriaList = -1;  /* DP_AnalysedInfoCriteriaList */
907 static int hf_gsm_map_ms_DP_AnalysedInfoCriteriaList_item = -1;  /* DP_AnalysedInfoCriterium */
908 static int hf_gsm_map_ms_dialledNumber = -1;      /* ISDN_AddressString */
909 static int hf_gsm_map_ms_defaultCallHandling = -1;  /* DefaultCallHandling */
910 static int hf_gsm_map_ms_ss_CamelData = -1;       /* SS_CamelData */
911 static int hf_gsm_map_ms_ss_EventList = -1;       /* SS_EventList */
912 static int hf_gsm_map_ms_SS_EventList_item = -1;  /* SS_Code */
913 static int hf_gsm_map_ms_o_BcsmCamelTDPDataList = -1;  /* O_BcsmCamelTDPDataList */
914 static int hf_gsm_map_ms_csiActive = -1;          /* NULL */
915 static int hf_gsm_map_ms_O_BcsmCamelTDPDataList_item = -1;  /* O_BcsmCamelTDPData */
916 static int hf_gsm_map_ms_o_BcsmTriggerDetectionPoint = -1;  /* O_BcsmTriggerDetectionPoint */
917 static int hf_gsm_map_ms_O_BcsmCamelTDPCriteriaList_item = -1;  /* O_BcsmCamelTDP_Criteria */
918 static int hf_gsm_map_ms_T_BCSM_CAMEL_TDP_CriteriaList_item = -1;  /* T_BCSM_CAMEL_TDP_Criteria */
919 static int hf_gsm_map_ms_destinationNumberCriteria = -1;  /* DestinationNumberCriteria */
920 static int hf_gsm_map_ms_basicServiceCriteria = -1;  /* BasicServiceCriteria */
921 static int hf_gsm_map_ms_callTypeCriteria = -1;   /* CallTypeCriteria */
922 static int hf_gsm_map_ms_o_CauseValueCriteria = -1;  /* O_CauseValueCriteria */
923 static int hf_gsm_map_ms_t_BCSM_TriggerDetectionPoint = -1;  /* T_BcsmTriggerDetectionPoint */
924 static int hf_gsm_map_ms_t_CauseValueCriteria = -1;  /* T_CauseValueCriteria */
925 static int hf_gsm_map_ms_matchType = -1;          /* MatchType */
926 static int hf_gsm_map_ms_destinationNumberList = -1;  /* DestinationNumberList */
927 static int hf_gsm_map_ms_destinationNumberLengthList = -1;  /* DestinationNumberLengthList */
928 static int hf_gsm_map_ms_DestinationNumberList_item = -1;  /* ISDN_AddressString */
929 static int hf_gsm_map_ms_DestinationNumberLengthList_item = -1;  /* INTEGER_1_maxNumOfISDN_AddressDigits */
930 static int hf_gsm_map_ms_BasicServiceCriteria_item = -1;  /* Ext_BasicServiceCode */
931 static int hf_gsm_map_ms_O_CauseValueCriteria_item = -1;  /* CauseValue */
932 static int hf_gsm_map_ms_T_CauseValueCriteria_item = -1;  /* CauseValue */
933 static int hf_gsm_map_ms_sms_CAMEL_TDP_DataList = -1;  /* SMS_CAMEL_TDP_DataList */
934 static int hf_gsm_map_ms_SMS_CAMEL_TDP_DataList_item = -1;  /* SMS_CAMEL_TDP_Data */
935 static int hf_gsm_map_ms_defaultSMS_Handling = -1;  /* DefaultSMS_Handling */
936 static int hf_gsm_map_ms_mobilityTriggers = -1;   /* MobilityTriggers */
937 static int hf_gsm_map_ms_MobilityTriggers_item = -1;  /* MM_Code */
938 static int hf_gsm_map_ms_t_BcsmCamelTDPDataList = -1;  /* T_BcsmCamelTDPDataList */
939 static int hf_gsm_map_ms_T_BcsmCamelTDPDataList_item = -1;  /* T_BcsmCamelTDPData */
940 static int hf_gsm_map_ms_t_BcsmTriggerDetectionPoint = -1;  /* T_BcsmTriggerDetectionPoint */
941 static int hf_gsm_map_ms_ggsn_Address = -1;       /* GSN_Address */
942 static int hf_gsm_map_ms_ggsn_Number = -1;        /* ISDN_AddressString */
943 static int hf_gsm_map_ms_mobileNotReachableReason = -1;  /* AbsentSubscriberDiagnosticSM */
944 static int hf_gsm_map_ms_sendingNodenumber = -1;  /* SendingNode_Number */
945 static int hf_gsm_map_ms_hlr_List = -1;           /* HLR_List */
946 static int hf_gsm_map_ms_css_Number = -1;         /* ISDN_AddressString */
947 static int hf_gsm_map_ms_msNotReachable = -1;     /* NULL */
948 static int hf_gsm_map_ms_VBSDataList_item = -1;   /* VoiceBroadcastData */
949 static int hf_gsm_map_ms_VGCSDataList_item = -1;  /* VoiceGroupCallData */
950 static int hf_gsm_map_ms_groupId = -1;            /* GroupId */
951 static int hf_gsm_map_ms_additionalSubscriptions = -1;  /* AdditionalSubscriptions */
952 static int hf_gsm_map_ms_additionalInfo = -1;     /* AdditionalInfo */
953 static int hf_gsm_map_ms_longGroupId = -1;        /* Long_GroupId */
954 static int hf_gsm_map_ms_groupid = -1;            /* GroupId */
955 static int hf_gsm_map_ms_broadcastInitEntitlement = -1;  /* NULL */
956 static int hf_gsm_map_ms_requestedInfo = -1;      /* RequestedInfo */
957 static int hf_gsm_map_ms_callPriority = -1;       /* EMLPP_Priority */
958 static int hf_gsm_map_ms_subscriberInfo = -1;     /* SubscriberInfo */
959 static int hf_gsm_map_ms_locationInformation = -1;  /* LocationInformation */
960 static int hf_gsm_map_ms_subscriberState = -1;    /* SubscriberState */
961 static int hf_gsm_map_ms_locationInformationGPRS = -1;  /* LocationInformationGPRS */
962 static int hf_gsm_map_ms_ps_SubscriberState = -1;  /* PS_SubscriberState */
963 static int hf_gsm_map_ms_ms_Classmark2 = -1;      /* MS_Classmark2 */
964 static int hf_gsm_map_ms_gprs_MS_Class = -1;      /* GPRSMSClass */
965 static int hf_gsm_map_ms_mnpInfoRes = -1;         /* MNPInfoRes */
966 static int hf_gsm_map_ms_imsVoiceOverPS_SessionsIndication = -1;  /* IMS_VoiceOverPS_SessionsInd */
967 static int hf_gsm_map_ms_lastUE_ActivityTime = -1;  /* Time */
968 static int hf_gsm_map_ms_lastRAT_Type = -1;       /* Used_RAT_Type */
969 static int hf_gsm_map_ms_eps_SubscriberState = -1;  /* PS_SubscriberState */
970 static int hf_gsm_map_ms_locationInformationEPS = -1;  /* LocationInformationEPS */
971 static int hf_gsm_map_ms_timeZone = -1;           /* TimeZone */
972 static int hf_gsm_map_ms_daylightSavingTime = -1;  /* DaylightSavingTime */
973 static int hf_gsm_map_ms_routeingNumber = -1;     /* RouteingNumber */
974 static int hf_gsm_map_ms_numberPortabilityStatus = -1;  /* NumberPortabilityStatus */
975 static int hf_gsm_map_ms_mSNetworkCapability = -1;  /* MSNetworkCapability */
976 static int hf_gsm_map_ms_mSRadioAccessCapability = -1;  /* MSRadioAccessCapability */
977 static int hf_gsm_map_ms_locationInformation_01 = -1;  /* NULL */
978 static int hf_gsm_map_ms_subscriberState_01 = -1;  /* NULL */
979 static int hf_gsm_map_ms_currentLocation = -1;    /* NULL */
980 static int hf_gsm_map_ms_requestedDomain = -1;    /* DomainType */
981 static int hf_gsm_map_ms_imei_01 = -1;            /* NULL */
982 static int hf_gsm_map_ms_ms_classmark = -1;       /* NULL */
983 static int hf_gsm_map_ms_mnpRequestedInfo = -1;   /* NULL */
984 static int hf_gsm_map_ms_locationInformationEPS_Supported = -1;  /* NULL */
985 static int hf_gsm_map_ms_t_adsData = -1;          /* NULL */
986 static int hf_gsm_map_ms_requestedNodes = -1;     /* RequestedNodes */
987 static int hf_gsm_map_ms_servingNodeIndication = -1;  /* NULL */
988 static int hf_gsm_map_ms_localTimeZoneRequest = -1;  /* NULL */
989 static int hf_gsm_map_ms_ageOfLocationInformation = -1;  /* AgeOfLocationInformation */
990 static int hf_gsm_map_ms_geographicalInformation = -1;  /* GeographicalInformation */
991 static int hf_gsm_map_ms_vlr_number = -1;         /* ISDN_AddressString */
992 static int hf_gsm_map_ms_locationNumber = -1;     /* LocationNumber */
993 static int hf_gsm_map_ms_cellGlobalIdOrServiceAreaIdOrLAI = -1;  /* CellGlobalIdOrServiceAreaIdOrLAI */
994 static int hf_gsm_map_ms_selectedLSA_Id = -1;     /* LSAIdentity */
995 static int hf_gsm_map_ms_geodeticInformation = -1;  /* GeodeticInformation */
996 static int hf_gsm_map_ms_currentLocationRetrieved = -1;  /* NULL */
997 static int hf_gsm_map_ms_sai_Present = -1;        /* NULL */
998 static int hf_gsm_map_ms_userCSGInformation = -1;  /* UserCSGInformation */
999 static int hf_gsm_map_ms_e_utranCellGlobalIdentity = -1;  /* E_UTRAN_CGI */
1000 static int hf_gsm_map_ms_trackingAreaIdentity = -1;  /* TA_Id */
1001 static int hf_gsm_map_ms_mme_Name = -1;           /* DiameterIdentity */
1002 static int hf_gsm_map_ms_routeingAreaIdentity = -1;  /* RAIdentity */
1003 static int hf_gsm_map_ms_selectedLSAIdentity = -1;  /* LSAIdentity */
1004 static int hf_gsm_map_ms_accessMode = -1;         /* OCTET_STRING_SIZE_1 */
1005 static int hf_gsm_map_ms_cmi = -1;                /* OCTET_STRING_SIZE_1 */
1006 static int hf_gsm_map_ms_assumedIdle = -1;        /* NULL */
1007 static int hf_gsm_map_ms_camelBusy = -1;          /* NULL */
1008 static int hf_gsm_map_ms_netDetNotReachable = -1;  /* NotReachableReason */
1009 static int hf_gsm_map_ms_notProvidedFromVLR = -1;  /* NULL */
1010 static int hf_gsm_map_ms_notProvidedFromSGSNorMME = -1;  /* NULL */
1011 static int hf_gsm_map_ms_ps_Detached = -1;        /* NULL */
1012 static int hf_gsm_map_ms_ps_AttachedNotReachableForPaging = -1;  /* NULL */
1013 static int hf_gsm_map_ms_ps_AttachedReachableForPaging = -1;  /* NULL */
1014 static int hf_gsm_map_ms_ps_PDP_ActiveNotReachableForPaging = -1;  /* PDP_ContextInfoList */
1015 static int hf_gsm_map_ms_ps_PDP_ActiveReachableForPaging = -1;  /* PDP_ContextInfoList */
1016 static int hf_gsm_map_ms_PDP_ContextInfoList_item = -1;  /* PDP_ContextInfo */
1017 static int hf_gsm_map_ms_pdp_ContextIdentifier = -1;  /* ContextId */
1018 static int hf_gsm_map_ms_pdp_ContextActive = -1;  /* NULL */
1019 static int hf_gsm_map_ms_apn_Subscribed = -1;     /* APN */
1020 static int hf_gsm_map_ms_apn_InUse = -1;          /* APN */
1021 static int hf_gsm_map_ms_nsapi = -1;              /* NSAPI */
1022 static int hf_gsm_map_ms_transactionId = -1;      /* TransactionId */
1023 static int hf_gsm_map_ms_teid_ForGnAndGp = -1;    /* TEID */
1024 static int hf_gsm_map_ms_teid_ForIu = -1;         /* TEID */
1025 static int hf_gsm_map_ms_qos_Subscribed_01 = -1;  /* Ext_QoS_Subscribed */
1026 static int hf_gsm_map_ms_qos_Requested = -1;      /* Ext_QoS_Subscribed */
1027 static int hf_gsm_map_ms_qos_Negotiated = -1;     /* Ext_QoS_Subscribed */
1028 static int hf_gsm_map_ms_chargingId = -1;         /* GPRSChargingID */
1029 static int hf_gsm_map_ms_rnc_Address = -1;        /* GSN_Address */
1030 static int hf_gsm_map_ms_qos2_Subscribed = -1;    /* Ext2_QoS_Subscribed */
1031 static int hf_gsm_map_ms_qos2_Requested = -1;     /* Ext2_QoS_Subscribed */
1032 static int hf_gsm_map_ms_qos2_Negotiated = -1;    /* Ext2_QoS_Subscribed */
1033 static int hf_gsm_map_ms_qos3_Subscribed = -1;    /* Ext3_QoS_Subscribed */
1034 static int hf_gsm_map_ms_qos3_Requested = -1;     /* Ext3_QoS_Subscribed */
1035 static int hf_gsm_map_ms_qos3_Negotiated = -1;    /* Ext3_QoS_Subscribed */
1036 static int hf_gsm_map_ms_qos4_Subscribed = -1;    /* Ext4_QoS_Subscribed */
1037 static int hf_gsm_map_ms_qos4_Requested = -1;     /* Ext4_QoS_Subscribed */
1038 static int hf_gsm_map_ms_qos4_Negotiated = -1;    /* Ext4_QoS_Subscribed */
1039 static int hf_gsm_map_ms_subscriberIdentity = -1;  /* SubscriberIdentity */
1040 static int hf_gsm_map_ms_requestedSubscriptionInfo = -1;  /* RequestedSubscriptionInfo */
1041 static int hf_gsm_map_ms_callForwardingData = -1;  /* CallForwardingData */
1042 static int hf_gsm_map_ms_callBarringData = -1;    /* CallBarringData */
1043 static int hf_gsm_map_ms_odb_Info = -1;           /* ODB_Info */
1044 static int hf_gsm_map_ms_camel_SubscriptionInfo = -1;  /* CAMEL_SubscriptionInfo */
1045 static int hf_gsm_map_ms_supportedVLR_CAMEL_Phases = -1;  /* SupportedCamelPhases */
1046 static int hf_gsm_map_ms_supportedSGSN_CAMEL_Phases = -1;  /* SupportedCamelPhases */
1047 static int hf_gsm_map_ms_offeredCamel4CSIsInVLR = -1;  /* OfferedCamel4CSIs */
1048 static int hf_gsm_map_ms_offeredCamel4CSIsInSGSN = -1;  /* OfferedCamel4CSIs */
1049 static int hf_gsm_map_ms_msisdn_BS_List = -1;     /* MSISDN_BS_List */
1050 static int hf_gsm_map_ms_cw_Data = -1;            /* CallWaitingData */
1051 static int hf_gsm_map_ms_ch_Data = -1;            /* CallHoldData */
1052 static int hf_gsm_map_ms_clip_Data = -1;          /* ClipData */
1053 static int hf_gsm_map_ms_clir_Data = -1;          /* ClirData */
1054 static int hf_gsm_map_ms_ect_data = -1;           /* EctData */
1055 static int hf_gsm_map_ms_cwFeatureList = -1;      /* Ext_CwFeatureList */
1056 static int hf_gsm_map_ms_Ext_CwFeatureList_item = -1;  /* Ext_CwFeature */
1057 static int hf_gsm_map_ms_overrideCategory = -1;   /* OverrideCategory */
1058 static int hf_gsm_map_ms_cliRestrictionOption = -1;  /* CliRestrictionOption */
1059 static int hf_gsm_map_ms_requestedSS_Info = -1;   /* SS_ForBS_Code */
1060 static int hf_gsm_map_ms_odb = -1;                /* NULL */
1061 static int hf_gsm_map_ms_requestedCAMEL_SubscriptionInfo = -1;  /* RequestedCAMEL_SubscriptionInfo */
1062 static int hf_gsm_map_ms_supportedVLR_CAMEL_Phases_01 = -1;  /* NULL */
1063 static int hf_gsm_map_ms_supportedSGSN_CAMEL_Phases_01 = -1;  /* NULL */
1064 static int hf_gsm_map_ms_additionalRequestedCAMEL_SubscriptionInfo = -1;  /* AdditionalRequestedCAMEL_SubscriptionInfo */
1065 static int hf_gsm_map_ms_msisdn_BS_List_01 = -1;  /* NULL */
1066 static int hf_gsm_map_ms_csg_SubscriptionDataRequested = -1;  /* NULL */
1067 static int hf_gsm_map_ms_cw_Info = -1;            /* NULL */
1068 static int hf_gsm_map_ms_clip_Info = -1;          /* NULL */
1069 static int hf_gsm_map_ms_clir_Info = -1;          /* NULL */
1070 static int hf_gsm_map_ms_hold_Info = -1;          /* NULL */
1071 static int hf_gsm_map_ms_ect_Info = -1;           /* NULL */
1072 static int hf_gsm_map_ms_MSISDN_BS_List_item = -1;  /* MSISDN_BS */
1073 static int hf_gsm_map_ms_password = -1;           /* Password */
1074 static int hf_gsm_map_ms_wrongPasswordAttemptsCounter = -1;  /* WrongPasswordAttemptsCounter */
1075 static int hf_gsm_map_ms_t_CSI = -1;              /* T_CSI */
1076 static int hf_gsm_map_ms_vt_BCSM_CAMEL_TDP_CriteriaList = -1;  /* T_BCSM_CAMEL_TDP_CriteriaList */
1077 static int hf_gsm_map_ms_tif_CSI_NotificationToCSE = -1;  /* NULL */
1078 static int hf_gsm_map_ms_specificCSIDeletedList = -1;  /* SpecificCSI_Withdraw */
1079 static int hf_gsm_map_ms_o_IM_CSI = -1;           /* O_CSI */
1080 static int hf_gsm_map_ms_o_IM_BcsmCamelTDP_CriteriaList = -1;  /* O_BcsmCamelTDPCriteriaList */
1081 static int hf_gsm_map_ms_d_IM_CSI = -1;           /* D_CSI */
1082 static int hf_gsm_map_ms_vt_IM_CSI = -1;          /* T_CSI */
1083 static int hf_gsm_map_ms_vt_IM_BCSM_CAMEL_TDP_CriteriaList = -1;  /* T_BCSM_CAMEL_TDP_CriteriaList */
1084 static int hf_gsm_map_ms_modificationRequestFor_CF_Info = -1;  /* ModificationRequestFor_CF_Info */
1085 static int hf_gsm_map_ms_modificationRequestFor_CB_Info = -1;  /* ModificationRequestFor_CB_Info */
1086 static int hf_gsm_map_ms_modificationRequestFor_CSI = -1;  /* ModificationRequestFor_CSI */
1087 static int hf_gsm_map_ms_modificationRequestFor_ODB_data = -1;  /* ModificationRequestFor_ODB_data */
1088 static int hf_gsm_map_ms_modificationRequestFor_IP_SM_GW_Data = -1;  /* ModificationRequestFor_IP_SM_GW_Data */
1089 static int hf_gsm_map_ms_activationRequestForUE_reachability = -1;  /* RequestedServingNode */
1090 static int hf_gsm_map_ms_modificationRequestFor_CSG = -1;  /* ModificationRequestFor_CSG */
1091 static int hf_gsm_map_ms_modificationRequestFor_CW_Data = -1;  /* ModificationRequestFor_CW_Info */
1092 static int hf_gsm_map_ms_modificationRequestFor_CLIP_Data = -1;  /* ModificationRequestFor_CLIP_Info */
1093 static int hf_gsm_map_ms_modificationRequestFor_CLIR_Data = -1;  /* ModificationRequestFor_CLIR_Info */
1094 static int hf_gsm_map_ms_modificationRequestFor_HOLD_Data = -1;  /* ModificationRequestFor_CH_Info */
1095 static int hf_gsm_map_ms_modificationRequestFor_ECT_Data = -1;  /* ModificationRequestFor_ECT_Info */
1096 static int hf_gsm_map_ms_modifyNotificationToCSE = -1;  /* ModificationInstruction */
1097 static int hf_gsm_map_ms_ss_InfoFor_CSE = -1;     /* Ext_SS_InfoFor_CSE */
1098 static int hf_gsm_map_ms_serviceCentreAddress = -1;  /* AddressString */
1099 static int hf_gsm_map_ms_forwardedToNumber_01 = -1;  /* AddressString */
1100 static int hf_gsm_map_ms_odb_data = -1;           /* ODB_Data */
1101 static int hf_gsm_map_ms_requestedCamel_SubscriptionInfo = -1;  /* RequestedCAMEL_SubscriptionInfo */
1102 static int hf_gsm_map_ms_modifyCSI_State = -1;    /* ModificationInstruction */
1103 static int hf_gsm_map_ms_modifyRegistrationStatus = -1;  /* ModificationInstruction */
1104 static int hf_gsm_map_ms_ip_sm_gw_DiameterAddress = -1;  /* NetworkNodeDiameterAddress */
1105 static int hf_gsm_map_ms_forwardingInfoFor_CSE = -1;  /* Ext_ForwardingInfoFor_CSE */
1106 static int hf_gsm_map_ms_callBarringInfoFor_CSE = -1;  /* Ext_CallBarringInfoFor_CSE */
1107 static int hf_gsm_map_ms_allInformationSent = -1;  /* NULL */
1108 static int hf_gsm_map_ms_ue_reachable = -1;       /* ServingNode */
1109 static int hf_gsm_map_ms_eventMet = -1;           /* MM_Code */
1110 static int hf_gsm_map_ms_supportedCAMELPhases = -1;  /* SupportedCamelPhases */
1111 static int hf_gsm_map_ms_offeredCamel4Functionalities = -1;  /* OfferedCamel4Functionalities */
1112 static int hf_gsm_map_ms_temporaryEmptySubscriptiondataIndicator = -1;  /* NULL */
1113 static int hf_gsm_map_ms_naea_PreferredCI = -1;   /* NAEA_PreferredCI */
1114 static int hf_gsm_map_ms_gprsSubscriptionData = -1;  /* GPRSSubscriptionData */
1115 static int hf_gsm_map_ms_roamingRestrictedInSgsnDueToUnsupportedFeature = -1;  /* NULL */
1116 static int hf_gsm_map_ms_networkAccessMode = -1;  /* NetworkAccessMode */
1117 static int hf_gsm_map_ms_lsaInformation = -1;     /* LSAInformation */
1118 static int hf_gsm_map_ms_lmu_Indicator = -1;      /* NULL */
1119 static int hf_gsm_map_ms_lcsInformation = -1;     /* LCSInformation */
1120 static int hf_gsm_map_ms_istAlertTimer = -1;      /* IST_AlertTimerValue */
1121 static int hf_gsm_map_ms_superChargerSupportedInHLR = -1;  /* AgeIndicator */
1122 static int hf_gsm_map_ms_mc_SS_Info = -1;         /* MC_SS_Info */
1123 static int hf_gsm_map_ms_cs_AllocationRetentionPriority = -1;  /* CS_AllocationRetentionPriority */
1124 static int hf_gsm_map_ms_sgsn_CAMEL_SubscriptionInfo = -1;  /* SGSN_CAMEL_SubscriptionInfo */
1125 static int hf_gsm_map_ms_accessRestrictionData = -1;  /* AccessRestrictionData */
1126 static int hf_gsm_map_ms_ics_Indicator = -1;      /* BOOLEAN */
1127 static int hf_gsm_map_ms_eps_SubscriptionData = -1;  /* EPS_SubscriptionData */
1128 static int hf_gsm_map_ms_ue_ReachabilityRequestIndicator = -1;  /* NULL */
1129 static int hf_gsm_map_ms_subscribedPeriodicRAUTAUtimer = -1;  /* SubscribedPeriodicRAUTAUtimer */
1130 static int hf_gsm_map_ms_vplmnLIPAAllowed = -1;   /* NULL */
1131 static int hf_gsm_map_ms_mdtUserConsent = -1;     /* BOOLEAN */
1132 static int hf_gsm_map_ms_subscribedPeriodicLAUtimer = -1;  /* SubscribedPeriodicLAUtimer */
1133 static int hf_gsm_map_ms_vplmn_Csg_SubscriptionDataList = -1;  /* VPLMN_CSG_SubscriptionDataList */
1134 static int hf_gsm_map_ms_additionalMSISDN = -1;   /* ISDN_AddressString */
1135 static int hf_gsm_map_ms_psAndSMS_OnlyServiceProvision = -1;  /* NULL */
1136 static int hf_gsm_map_ms_smsInSGSNAllowed = -1;   /* NULL */
1137 /* named bits */
1138 static int hf_gsm_map_ms_SupportedRAT_Types_utran = -1;
1139 static int hf_gsm_map_ms_SupportedRAT_Types_geran = -1;
1140 static int hf_gsm_map_ms_SupportedRAT_Types_gan = -1;
1141 static int hf_gsm_map_ms_SupportedRAT_Types_i_hspa_evolution = -1;
1142 static int hf_gsm_map_ms_SupportedRAT_Types_e_utran = -1;
1143 static int hf_gsm_map_ms_SupportedLCS_CapabilitySets_lcsCapabilitySet1 = -1;
1144 static int hf_gsm_map_ms_SupportedLCS_CapabilitySets_lcsCapabilitySet2 = -1;
1145 static int hf_gsm_map_ms_SupportedLCS_CapabilitySets_lcsCapabilitySet3 = -1;
1146 static int hf_gsm_map_ms_SupportedLCS_CapabilitySets_lcsCapabilitySet4 = -1;
1147 static int hf_gsm_map_ms_SupportedLCS_CapabilitySets_lcsCapabilitySet5 = -1;
1148 static int hf_gsm_map_ms_ISR_Information_updateLocation = -1;
1149 static int hf_gsm_map_ms_ISR_Information_cancelSGSN = -1;
1150 static int hf_gsm_map_ms_ISR_Information_initialAttachIndicator = -1;
1151 static int hf_gsm_map_ms_SupportedFeatures_odb_all_apn = -1;
1152 static int hf_gsm_map_ms_SupportedFeatures_odb_HPLMN_APN = -1;
1153 static int hf_gsm_map_ms_SupportedFeatures_odb_VPLMN_APN = -1;
1154 static int hf_gsm_map_ms_SupportedFeatures_odb_all_og = -1;
1155 static int hf_gsm_map_ms_SupportedFeatures_odb_all_international_og = -1;
1156 static int hf_gsm_map_ms_SupportedFeatures_odb_all_int_og_not_to_HPLMN_country = -1;
1157 static int hf_gsm_map_ms_SupportedFeatures_odb_all_interzonal_og = -1;
1158 static int hf_gsm_map_ms_SupportedFeatures_odb_all_interzonal_og_not_to_HPLMN_country = -1;
1159 static int hf_gsm_map_ms_SupportedFeatures_odb_all_interzonal_og_and_internat_og_not_to_HPLMN_country = -1;
1160 static int hf_gsm_map_ms_SupportedFeatures_regSub = -1;
1161 static int hf_gsm_map_ms_SupportedFeatures_trace = -1;
1162 static int hf_gsm_map_ms_SupportedFeatures_lcs_all_PrivExcep = -1;
1163 static int hf_gsm_map_ms_SupportedFeatures_lcs_universal = -1;
1164 static int hf_gsm_map_ms_SupportedFeatures_lcs_CallSessionRelated = -1;
1165 static int hf_gsm_map_ms_SupportedFeatures_lcs_CallSessionUnrelated = -1;
1166 static int hf_gsm_map_ms_SupportedFeatures_lcs_PLMN_operator = -1;
1167 static int hf_gsm_map_ms_SupportedFeatures_lcs_ServiceType = -1;
1168 static int hf_gsm_map_ms_SupportedFeatures_lcs_all_MOLR_SS = -1;
1169 static int hf_gsm_map_ms_SupportedFeatures_lcs_basicSelfLocation = -1;
1170 static int hf_gsm_map_ms_SupportedFeatures_lcs_autonomousSelfLocation = -1;
1171 static int hf_gsm_map_ms_SupportedFeatures_lcs_transferToThirdParty = -1;
1172 static int hf_gsm_map_ms_SupportedFeatures_sm_mo_pp = -1;
1173 static int hf_gsm_map_ms_SupportedFeatures_barring_OutgoingCalls = -1;
1174 static int hf_gsm_map_ms_SupportedFeatures_baoc = -1;
1175 static int hf_gsm_map_ms_SupportedFeatures_boic = -1;
1176 static int hf_gsm_map_ms_SupportedFeatures_boicExHC = -1;
1177 static int hf_gsm_map_ms_SupportedFeatures_localTimeZoneRetrieval = -1;
1178 static int hf_gsm_map_ms_SupportedFeatures_additionalMsisdn = -1;
1179 static int hf_gsm_map_ms_SupportedFeatures_smsInMME = -1;
1180 static int hf_gsm_map_ms_SupportedFeatures_smsInSGSN = -1;
1181 static int hf_gsm_map_ms_LCLS_Negotiation_permission_indicator_not_allowed_bit = -1;
1182 static int hf_gsm_map_ms_LCLS_Negotiation_permission_indicator_spare_bit = -1;
1183 static int hf_gsm_map_ms_LCLS_ConfigurationPreference_forward_data_sending_indicator = -1;
1184 static int hf_gsm_map_ms_LCLS_ConfigurationPreference_backward_data_sending_indicator = -1;
1185 static int hf_gsm_map_ms_LCLS_ConfigurationPreference_forward_data_reception_indicator = -1;
1186 static int hf_gsm_map_ms_LCLS_ConfigurationPreference_backward_data_reception_indicator = -1;
1187 static int hf_gsm_map_ms_RequestedEquipmentInfo_equipmentStatus = -1;
1188 static int hf_gsm_map_ms_RequestedEquipmentInfo_bmuef = -1;
1189 static int hf_gsm_map_ms_AccessRestrictionData_utranNotAllowed = -1;
1190 static int hf_gsm_map_ms_AccessRestrictionData_geranNotAllowed = -1;
1191 static int hf_gsm_map_ms_AccessRestrictionData_ganNotAllowed = -1;
1192 static int hf_gsm_map_ms_AccessRestrictionData_i_hspa_evolutionNotAllowed = -1;
1193 static int hf_gsm_map_ms_AccessRestrictionData_e_utranNotAllowed = -1;
1194 static int hf_gsm_map_ms_AccessRestrictionData_ho_toNon3GPP_AccessNotAllowed = -1;
1195 static int hf_gsm_map_ms_ODB_GeneralData_allOG_CallsBarred = -1;
1196 static int hf_gsm_map_ms_ODB_GeneralData_internationalOGCallsBarred = -1;
1197 static int hf_gsm_map_ms_ODB_GeneralData_internationalOGCallsNotToHPLMN_CountryBarred = -1;
1198 static int hf_gsm_map_ms_ODB_GeneralData_interzonalOGCallsBarred = -1;
1199 static int hf_gsm_map_ms_ODB_GeneralData_interzonalOGCallsNotToHPLMN_CountryBarred = -1;
1200 static int hf_gsm_map_ms_ODB_GeneralData_interzonalOGCallsAndInternationalOGCallsNotToHPLMN_CountryBarred = -1;
1201 static int hf_gsm_map_ms_ODB_GeneralData_premiumRateInformationOGCallsBarred = -1;
1202 static int hf_gsm_map_ms_ODB_GeneralData_premiumRateEntertainementOGCallsBarred = -1;
1203 static int hf_gsm_map_ms_ODB_GeneralData_ss_AccessBarred = -1;
1204 static int hf_gsm_map_ms_ODB_GeneralData_allECT_Barred = -1;
1205 static int hf_gsm_map_ms_ODB_GeneralData_chargeableECT_Barred = -1;
1206 static int hf_gsm_map_ms_ODB_GeneralData_internationalECT_Barred = -1;
1207 static int hf_gsm_map_ms_ODB_GeneralData_interzonalECT_Barred = -1;
1208 static int hf_gsm_map_ms_ODB_GeneralData_doublyChargeableECT_Barred = -1;
1209 static int hf_gsm_map_ms_ODB_GeneralData_multipleECT_Barred = -1;
1210 static int hf_gsm_map_ms_ODB_GeneralData_allPacketOrientedServicesBarred = -1;
1211 static int hf_gsm_map_ms_ODB_GeneralData_roamerAccessToHPLMN_AP_Barred = -1;
1212 static int hf_gsm_map_ms_ODB_GeneralData_roamerAccessToVPLMN_AP_Barred = -1;
1213 static int hf_gsm_map_ms_ODB_GeneralData_roamingOutsidePLMNOG_CallsBarred = -1;
1214 static int hf_gsm_map_ms_ODB_GeneralData_allIC_CallsBarred = -1;
1215 static int hf_gsm_map_ms_ODB_GeneralData_roamingOutsidePLMNIC_CallsBarred = -1;
1216 static int hf_gsm_map_ms_ODB_GeneralData_roamingOutsidePLMNICountryIC_CallsBarred = -1;
1217 static int hf_gsm_map_ms_ODB_GeneralData_roamingOutsidePLMN_Barred = -1;
1218 static int hf_gsm_map_ms_ODB_GeneralData_roamingOutsidePLMN_CountryBarred = -1;
1219 static int hf_gsm_map_ms_ODB_GeneralData_registrationAllCF_Barred = -1;
1220 static int hf_gsm_map_ms_ODB_GeneralData_registrationCFNotToHPLMN_Barred = -1;
1221 static int hf_gsm_map_ms_ODB_GeneralData_registrationInterzonalCF_Barred = -1;
1222 static int hf_gsm_map_ms_ODB_GeneralData_registrationInterzonalCFNotToHPLMN_Barred = -1;
1223 static int hf_gsm_map_ms_ODB_GeneralData_registrationInternationalCF_Barred = -1;
1224 static int hf_gsm_map_ms_ODB_HPLMN_Data_plmn_SpecificBarringType1 = -1;
1225 static int hf_gsm_map_ms_ODB_HPLMN_Data_plmn_SpecificBarringType2 = -1;
1226 static int hf_gsm_map_ms_ODB_HPLMN_Data_plmn_SpecificBarringType3 = -1;
1227 static int hf_gsm_map_ms_ODB_HPLMN_Data_plmn_SpecificBarringType4 = -1;
1228 static int hf_gsm_map_ms_SpecificCSI_Withdraw_o_csi = -1;
1229 static int hf_gsm_map_ms_SpecificCSI_Withdraw_ss_csi = -1;
1230 static int hf_gsm_map_ms_SpecificCSI_Withdraw_tif_csi = -1;
1231 static int hf_gsm_map_ms_SpecificCSI_Withdraw_d_csi = -1;
1232 static int hf_gsm_map_ms_SpecificCSI_Withdraw_vt_csi = -1;
1233 static int hf_gsm_map_ms_SpecificCSI_Withdraw_mo_sms_csi = -1;
1234 static int hf_gsm_map_ms_SpecificCSI_Withdraw_m_csi = -1;
1235 static int hf_gsm_map_ms_SpecificCSI_Withdraw_gprs_csi = -1;
1236 static int hf_gsm_map_ms_SpecificCSI_Withdraw_t_csi = -1;
1237 static int hf_gsm_map_ms_SpecificCSI_Withdraw_mt_sms_csi = -1;
1238 static int hf_gsm_map_ms_SpecificCSI_Withdraw_mg_csi = -1;
1239 static int hf_gsm_map_ms_SpecificCSI_Withdraw_o_IM_CSI = -1;
1240 static int hf_gsm_map_ms_SpecificCSI_Withdraw_d_IM_CSI = -1;
1241 static int hf_gsm_map_ms_SpecificCSI_Withdraw_vt_IM_CSI = -1;
1242 static int hf_gsm_map_ms_SupportedCamelPhases_phase1 = -1;
1243 static int hf_gsm_map_ms_SupportedCamelPhases_phase2 = -1;
1244 static int hf_gsm_map_ms_SupportedCamelPhases_phase3 = -1;
1245 static int hf_gsm_map_ms_SupportedCamelPhases_phase4 = -1;
1246 static int hf_gsm_map_ms_OfferedCamel4CSIs_o_csi = -1;
1247 static int hf_gsm_map_ms_OfferedCamel4CSIs_d_csi = -1;
1248 static int hf_gsm_map_ms_OfferedCamel4CSIs_vt_csi = -1;
1249 static int hf_gsm_map_ms_OfferedCamel4CSIs_t_csi = -1;
1250 static int hf_gsm_map_ms_OfferedCamel4CSIs_mt_sms_csi = -1;
1251 static int hf_gsm_map_ms_OfferedCamel4CSIs_mg_csi = -1;
1252 static int hf_gsm_map_ms_OfferedCamel4CSIs_psi_enhancements = -1;
1253 static int hf_gsm_map_ms_OfferedCamel4Functionalities_initiateCallAttempt = -1;
1254 static int hf_gsm_map_ms_OfferedCamel4Functionalities_splitLeg = -1;
1255 static int hf_gsm_map_ms_OfferedCamel4Functionalities_moveLeg = -1;
1256 static int hf_gsm_map_ms_OfferedCamel4Functionalities_disconnectLeg = -1;
1257 static int hf_gsm_map_ms_OfferedCamel4Functionalities_entityReleased = -1;
1258 static int hf_gsm_map_ms_OfferedCamel4Functionalities_dfc_WithArgument = -1;
1259 static int hf_gsm_map_ms_OfferedCamel4Functionalities_playTone = -1;
1260 static int hf_gsm_map_ms_OfferedCamel4Functionalities_dtmf_MidCall = -1;
1261 static int hf_gsm_map_ms_OfferedCamel4Functionalities_chargingIndicator = -1;
1262 static int hf_gsm_map_ms_OfferedCamel4Functionalities_alertingDP = -1;
1263 static int hf_gsm_map_ms_OfferedCamel4Functionalities_locationAtAlerting = -1;
1264 static int hf_gsm_map_ms_OfferedCamel4Functionalities_changeOfPositionDP = -1;
1265 static int hf_gsm_map_ms_OfferedCamel4Functionalities_or_Interactions = -1;
1266 static int hf_gsm_map_ms_OfferedCamel4Functionalities_warningToneEnhancements = -1;
1267 static int hf_gsm_map_ms_OfferedCamel4Functionalities_cf_Enhancements = -1;
1268 static int hf_gsm_map_ms_OfferedCamel4Functionalities_subscribedEnhancedDialledServices = -1;
1269 static int hf_gsm_map_ms_OfferedCamel4Functionalities_servingNetworkEnhancedDialledServices = -1;
1270 static int hf_gsm_map_ms_OfferedCamel4Functionalities_criteriaForChangeOfPositionDP = -1;
1271 static int hf_gsm_map_ms_OfferedCamel4Functionalities_serviceChangeDP = -1;
1272 static int hf_gsm_map_ms_OfferedCamel4Functionalities_collectInformation = -1;
1273 static int hf_gsm_map_ms_AdditionalSubscriptions_privilegedUplinkRequest = -1;
1274 static int hf_gsm_map_ms_AdditionalSubscriptions_emergencyUplinkRequest = -1;
1275 static int hf_gsm_map_ms_AdditionalSubscriptions_emergencyReset = -1;
1276 static int hf_gsm_map_ms_RequestedNodes_mme = -1;
1277 static int hf_gsm_map_ms_RequestedNodes_sgsn = -1;
1278 static int hf_gsm_map_ms_RequestedServingNode_mmeAndSgsn = -1;
1279 static int hf_gsm_map_ms_ServingNode_mme = -1;
1280 static int hf_gsm_map_ms_ServingNode_sgsn = -1;
1281
1282 /* --- Module MAP-CH-DataTypes --- --- ---                                    */
1283
1284 static int hf_gsm_map_ch_cug_Interlock = -1;      /* CUG_Interlock */
1285 static int hf_gsm_map_ch_cug_OutgoingAccess = -1;  /* NULL */
1286 static int hf_gsm_map_ch_extensionContainer = -1;  /* ExtensionContainer */
1287 static int hf_gsm_map_ch_msisdn = -1;             /* ISDN_AddressString */
1288 static int hf_gsm_map_ch_cug_CheckInfo = -1;      /* CUG_CheckInfo */
1289 static int hf_gsm_map_ch_numberOfForwarding = -1;  /* NumberOfForwarding */
1290 static int hf_gsm_map_ch_interrogationType = -1;  /* InterrogationType */
1291 static int hf_gsm_map_ch_or_Interrogation = -1;   /* NULL */
1292 static int hf_gsm_map_ch_or_Capability = -1;      /* OR_Phase */
1293 static int hf_gsm_map_ch_gmsc_OrGsmSCF_Address = -1;  /* ISDN_AddressString */
1294 static int hf_gsm_map_ch_callReferenceNumber = -1;  /* CallReferenceNumber */
1295 static int hf_gsm_map_ch_forwardingReason = -1;   /* ForwardingReason */
1296 static int hf_gsm_map_ch_basicServiceGroup = -1;  /* Ext_BasicServiceCode */
1297 static int hf_gsm_map_ch_networkSignalInfo = -1;  /* ExternalSignalInfo */
1298 static int hf_gsm_map_ch_camelInfo = -1;          /* CamelInfo */
1299 static int hf_gsm_map_ch_suppressionOfAnnouncement = -1;  /* SuppressionOfAnnouncement */
1300 static int hf_gsm_map_ch_alertingPattern = -1;    /* AlertingPattern */
1301 static int hf_gsm_map_ch_ccbs_Call = -1;          /* NULL */
1302 static int hf_gsm_map_ch_supportedCCBS_Phase = -1;  /* SupportedCCBS_Phase */
1303 static int hf_gsm_map_ch_additionalSignalInfo = -1;  /* Ext_ExternalSignalInfo */
1304 static int hf_gsm_map_ch_istSupportIndicator = -1;  /* IST_SupportIndicator */
1305 static int hf_gsm_map_ch_pre_pagingSupported = -1;  /* NULL */
1306 static int hf_gsm_map_ch_callDiversionTreatmentIndicator = -1;  /* CallDiversionTreatmentIndicator */
1307 static int hf_gsm_map_ch_longFTN_Supported = -1;  /* NULL */
1308 static int hf_gsm_map_ch_suppress_VT_CSI = -1;    /* NULL */
1309 static int hf_gsm_map_ch_suppressIncomingCallBarring = -1;  /* NULL */
1310 static int hf_gsm_map_ch_gsmSCF_InitiatedCall = -1;  /* NULL */
1311 static int hf_gsm_map_ch_basicServiceGroup2 = -1;  /* Ext_BasicServiceCode */
1312 static int hf_gsm_map_ch_networkSignalInfo2 = -1;  /* ExternalSignalInfo */
1313 static int hf_gsm_map_ch_suppressMTSS = -1;       /* SuppressMTSS */
1314 static int hf_gsm_map_ch_mtRoamingRetrySupported = -1;  /* NULL */
1315 static int hf_gsm_map_ch_callPriority = -1;       /* EMLPP_Priority */
1316 static int hf_gsm_map_ch_imsi = -1;               /* IMSI */
1317 static int hf_gsm_map_ch_extendedRoutingInfo = -1;  /* ExtendedRoutingInfo */
1318 static int hf_gsm_map_ch_cugSubscriptionFlag = -1;  /* NULL */
1319 static int hf_gsm_map_ch_subscriberInfo = -1;     /* SubscriberInfo */
1320 static int hf_gsm_map_ch_ss_List = -1;            /* SS_List */
1321 static int hf_gsm_map_ch_basicService = -1;       /* Ext_BasicServiceCode */
1322 static int hf_gsm_map_ch_forwardingInterrogationRequired = -1;  /* NULL */
1323 static int hf_gsm_map_ch_vmsc_Address = -1;       /* ISDN_AddressString */
1324 static int hf_gsm_map_ch_naea_PreferredCI = -1;   /* NAEA_PreferredCI */
1325 static int hf_gsm_map_ch_ccbs_Indicators = -1;    /* CCBS_Indicators */
1326 static int hf_gsm_map_ch_numberPortabilityStatus = -1;  /* NumberPortabilityStatus */
1327 static int hf_gsm_map_ch_istAlertTimer = -1;      /* IST_AlertTimerValue */
1328 static int hf_gsm_map_ch_supportedCamelPhasesInVMSC = -1;  /* SupportedCamelPhases */
1329 static int hf_gsm_map_ch_offeredCamel4CSIsInVMSC = -1;  /* OfferedCamel4CSIs */
1330 static int hf_gsm_map_ch_routingInfo2 = -1;       /* RoutingInfo */
1331 static int hf_gsm_map_ch_ss_List2 = -1;           /* SS_List */
1332 static int hf_gsm_map_ch_basicService2 = -1;      /* Ext_BasicServiceCode */
1333 static int hf_gsm_map_ch_allowedServices = -1;    /* AllowedServices */
1334 static int hf_gsm_map_ch_unavailabilityCause = -1;  /* UnavailabilityCause */
1335 static int hf_gsm_map_ch_releaseResourcesSupported = -1;  /* NULL */
1336 static int hf_gsm_map_ch_gsm_BearerCapability = -1;  /* ExternalSignalInfo */
1337 static int hf_gsm_map_ch_ccbs_Possible = -1;      /* NULL */
1338 static int hf_gsm_map_ch_keepCCBS_CallIndicator = -1;  /* NULL */
1339 static int hf_gsm_map_ch_roamingNumber = -1;      /* ISDN_AddressString */
1340 static int hf_gsm_map_ch_forwardingData = -1;     /* ForwardingData */
1341 static int hf_gsm_map_ch_forwardedToNumber = -1;  /* ISDN_AddressString */
1342 static int hf_gsm_map_ch_forwardedToSubaddress = -1;  /* ISDN_SubaddressString */
1343 static int hf_gsm_map_ch_forwardingOptions = -1;  /* ForwardingOptions */
1344 static int hf_gsm_map_ch_longForwardedToNumber = -1;  /* FTN_AddressString */
1345 static int hf_gsm_map_ch_msc_Number = -1;         /* ISDN_AddressString */
1346 static int hf_gsm_map_ch_lmsi = -1;               /* LMSI */
1347 static int hf_gsm_map_ch_gmsc_Address = -1;       /* ISDN_AddressString */
1348 static int hf_gsm_map_ch_supportedCamelPhasesInInterrogatingNode = -1;  /* SupportedCamelPhases */
1349 static int hf_gsm_map_ch_orNotSupportedInGMSC = -1;  /* NULL */
1350 static int hf_gsm_map_ch_offeredCamel4CSIsInInterrogatingNode = -1;  /* OfferedCamel4CSIs */
1351 static int hf_gsm_map_ch_pagingArea = -1;         /* PagingArea */
1352 static int hf_gsm_map_ch_mtrf_Indicator = -1;     /* NULL */
1353 static int hf_gsm_map_ch_oldMSC_Number = -1;      /* ISDN_AddressString */
1354 static int hf_gsm_map_ch_o_CSI = -1;              /* O_CSI */
1355 static int hf_gsm_map_ch_uu_Data = -1;            /* UU_Data */
1356 static int hf_gsm_map_ch_allInformationSent = -1;  /* NULL */
1357 static int hf_gsm_map_ch_d_csi = -1;              /* D_CSI */
1358 static int hf_gsm_map_ch_o_BcsmCamelTDPCriteriaList = -1;  /* O_BcsmCamelTDPCriteriaList */
1359 static int hf_gsm_map_ch_mtRoamingRetry = -1;     /* NULL */
1360 static int hf_gsm_map_ch_uuIndicator = -1;        /* UUIndicator */
1361 static int hf_gsm_map_ch_uui = -1;                /* UUI */
1362 static int hf_gsm_map_ch_uusCFInteraction = -1;   /* NULL */
1363 static int hf_gsm_map_ch_supportedCamelPhases = -1;  /* SupportedCamelPhases */
1364 static int hf_gsm_map_ch_suppress_T_CSI = -1;     /* NULL */
1365 static int hf_gsm_map_ch_offeredCamel4CSIs = -1;  /* OfferedCamel4CSIs */
1366 static int hf_gsm_map_ch_routingInfo = -1;        /* RoutingInfo */
1367 static int hf_gsm_map_ch_camelRoutingInfo = -1;   /* CamelRoutingInfo */
1368 static int hf_gsm_map_ch_gmscCamelSubscriptionInfo = -1;  /* GmscCamelSubscriptionInfo */
1369 static int hf_gsm_map_ch_t_CSI = -1;              /* T_CSI */
1370 static int hf_gsm_map_ch_o_BcsmCamelTDP_CriteriaList = -1;  /* O_BcsmCamelTDPCriteriaList */
1371 static int hf_gsm_map_ch_t_BCSM_CAMEL_TDP_CriteriaList = -1;  /* T_BCSM_CAMEL_TDP_CriteriaList */
1372 static int hf_gsm_map_ch_ccbs_Monitoring = -1;    /* ReportingState */
1373 static int hf_gsm_map_ch_ccbs_SubscriberStatus = -1;  /* CCBS_SubscriberStatus */
1374 static int hf_gsm_map_ch_eventReportData = -1;    /* EventReportData */
1375 static int hf_gsm_map_ch_callReportdata = -1;     /* CallReportData */
1376 static int hf_gsm_map_ch_monitoringMode = -1;     /* MonitoringMode */
1377 static int hf_gsm_map_ch_callOutcome = -1;        /* CallOutcome */
1378 static int hf_gsm_map_ch_callInfo = -1;           /* ExternalSignalInfo */
1379 static int hf_gsm_map_ch_ccbs_Feature = -1;       /* CCBS_Feature */
1380 static int hf_gsm_map_ch_translatedB_Number = -1;  /* ISDN_AddressString */
1381 static int hf_gsm_map_ch_replaceB_Number = -1;    /* NULL */
1382 static int hf_gsm_map_ch_ruf_Outcome = -1;        /* RUF_Outcome */
1383 static int hf_gsm_map_ch_istInformationWithdraw = -1;  /* NULL */
1384 static int hf_gsm_map_ch_callTerminationIndicator = -1;  /* CallTerminationIndicator */
1385 static int hf_gsm_map_ch_msrn = -1;               /* ISDN_AddressString */
1386 /* named bits */
1387 static int hf_gsm_map_ch_SuppressMTSS_suppressCUG = -1;
1388 static int hf_gsm_map_ch_SuppressMTSS_suppressCCBS = -1;
1389 static int hf_gsm_map_ch_AllowedServices_firstServiceAllowed = -1;
1390 static int hf_gsm_map_ch_AllowedServices_secondServiceAllowed = -1;
1391
1392 /* --- Module MAP-LCS-DataTypes --- --- ---                                   */
1393
1394 static int hf_gsm_map_lcs_gsm_map_lcs_LCS_ClientID_PDU = -1;  /* LCS_ClientID */
1395 static int hf_gsm_map_lcs_mlcNumber = -1;         /* ISDN_AddressString */
1396 static int hf_gsm_map_lcs_targetMS = -1;          /* SubscriberIdentity */
1397 static int hf_gsm_map_lcs_extensionContainer = -1;  /* ExtensionContainer */
1398 static int hf_gsm_map_lcs_lcsLocationInfo = -1;   /* LCSLocationInfo */
1399 static int hf_gsm_map_lcs_v_gmlc_Address = -1;    /* GSN_Address */
1400 static int hf_gsm_map_lcs_h_gmlc_Address = -1;    /* GSN_Address */
1401 static int hf_gsm_map_lcs_ppr_Address = -1;       /* GSN_Address */
1402 static int hf_gsm_map_lcs_additional_v_gmlc_Address = -1;  /* GSN_Address */
1403 static int hf_gsm_map_lcs_networkNode_Number = -1;  /* ISDN_AddressString */
1404 static int hf_gsm_map_lcs_lmsi = -1;              /* LMSI */
1405 static int hf_gsm_map_lcs_gprsNodeIndicator = -1;  /* NULL */
1406 static int hf_gsm_map_lcs_additional_Number = -1;  /* Additional_Number */
1407 static int hf_gsm_map_lcs_supportedLCS_CapabilitySets = -1;  /* SupportedLCS_CapabilitySets */
1408 static int hf_gsm_map_lcs_additional_LCS_CapabilitySets = -1;  /* SupportedLCS_CapabilitySets */
1409 static int hf_gsm_map_lcs_mme_Name = -1;          /* DiameterIdentity */
1410 static int hf_gsm_map_lcs_aaa_Server_Name = -1;   /* DiameterIdentity */
1411 static int hf_gsm_map_lcs_locationType = -1;      /* LocationType */
1412 static int hf_gsm_map_lcs_mlc_Number = -1;        /* ISDN_AddressString */
1413 static int hf_gsm_map_lcs_lcs_ClientID = -1;      /* LCS_ClientID */
1414 static int hf_gsm_map_lcs_privacyOverride = -1;   /* NULL */
1415 static int hf_gsm_map_lcs_imsi = -1;              /* IMSI */
1416 static int hf_gsm_map_lcs_msisdn = -1;            /* ISDN_AddressString */
1417 static int hf_gsm_map_lcs_imei = -1;              /* IMEI */
1418 static int hf_gsm_map_lcs_lcs_Priority = -1;      /* LCS_Priority */
1419 static int hf_gsm_map_lcs_lcs_QoS = -1;           /* LCS_QoS */
1420 static int hf_gsm_map_lcs_supportedGADShapes = -1;  /* SupportedGADShapes */
1421 static int hf_gsm_map_lcs_lcs_ReferenceNumber = -1;  /* LCS_ReferenceNumber */
1422 static int hf_gsm_map_lcs_lcsServiceTypeID = -1;  /* LCSServiceTypeID */
1423 static int hf_gsm_map_lcs_lcsCodeword = -1;       /* LCSCodeword */
1424 static int hf_gsm_map_lcs_lcs_PrivacyCheck = -1;  /* LCS_PrivacyCheck */
1425 static int hf_gsm_map_lcs_areaEventInfo = -1;     /* AreaEventInfo */
1426 static int hf_gsm_map_lcs_mo_lrShortCircuitIndicator = -1;  /* NULL */
1427 static int hf_gsm_map_lcs_periodicLDRInfo = -1;   /* PeriodicLDRInfo */
1428 static int hf_gsm_map_lcs_reportingPLMNList = -1;  /* ReportingPLMNList */
1429 static int hf_gsm_map_lcs_locationEstimateType = -1;  /* LocationEstimateType */
1430 static int hf_gsm_map_lcs_deferredLocationEventType = -1;  /* DeferredLocationEventType */
1431 static int hf_gsm_map_lcs_lcsClientType = -1;     /* LCSClientType */
1432 static int hf_gsm_map_lcs_lcsClientExternalID = -1;  /* LCSClientExternalID */
1433 static int hf_gsm_map_lcs_lcsClientDialedByMS = -1;  /* AddressString */
1434 static int hf_gsm_map_lcs_lcsClientInternalID = -1;  /* LCSClientInternalID */
1435 static int hf_gsm_map_lcs_lcsClientName = -1;     /* LCSClientName */
1436 static int hf_gsm_map_lcs_lcsAPN = -1;            /* APN */
1437 static int hf_gsm_map_lcs_lcsRequestorID = -1;    /* LCSRequestorID */
1438 static int hf_gsm_map_lcs_dataCodingScheme = -1;  /* USSD_DataCodingScheme */
1439 static int hf_gsm_map_lcs_nameString = -1;        /* NameString */
1440 static int hf_gsm_map_lcs_lcs_FormatIndicator = -1;  /* LCS_FormatIndicator */
1441 static int hf_gsm_map_lcs_requestorIDString = -1;  /* RequestorIDString */
1442 static int hf_gsm_map_lcs_horizontal_accuracy = -1;  /* Horizontal_Accuracy */
1443 static int hf_gsm_map_lcs_verticalCoordinateRequest = -1;  /* NULL */
1444 static int hf_gsm_map_lcs_vertical_accuracy = -1;  /* Vertical_Accuracy */
1445 static int hf_gsm_map_lcs_responseTime = -1;      /* ResponseTime */
1446 static int hf_gsm_map_lcs_velocityRequest = -1;   /* NULL */
1447 static int hf_gsm_map_lcs_responseTimeCategory = -1;  /* ResponseTimeCategory */
1448 static int hf_gsm_map_lcs_lcsCodewordString = -1;  /* LCSCodewordString */
1449 static int hf_gsm_map_lcs_callSessionUnrelated = -1;  /* PrivacyCheckRelatedAction */
1450 static int hf_gsm_map_lcs_callSessionRelated = -1;  /* PrivacyCheckRelatedAction */
1451 static int hf_gsm_map_lcs_areaDefinition = -1;    /* AreaDefinition */
1452 static int hf_gsm_map_lcs_occurrenceInfo = -1;    /* OccurrenceInfo */
1453 static int hf_gsm_map_lcs_intervalTime = -1;      /* IntervalTime */
1454 static int hf_gsm_map_lcs_areaList = -1;          /* AreaList */
1455 static int hf_gsm_map_lcs_AreaList_item = -1;     /* Area */
1456 static int hf_gsm_map_lcs_areaType = -1;          /* AreaType */
1457 static int hf_gsm_map_lcs_areaIdentification = -1;  /* AreaIdentification */
1458 static int hf_gsm_map_lcs_reportingAmount = -1;   /* ReportingAmount */
1459 static int hf_gsm_map_lcs_reportingInterval = -1;  /* ReportingInterval */
1460 static int hf_gsm_map_lcs_plmn_ListPrioritized = -1;  /* NULL */
1461 static int hf_gsm_map_lcs_plmn_List = -1;         /* PLMNList */
1462 static int hf_gsm_map_lcs_PLMNList_item = -1;     /* ReportingPLMN */
1463 static int hf_gsm_map_lcs_plmn_Id = -1;           /* PLMN_Id */
1464 static int hf_gsm_map_lcs_ran_Technology = -1;    /* RAN_Technology */
1465 static int hf_gsm_map_lcs_ran_PeriodicLocationSupport = -1;  /* NULL */
1466 static int hf_gsm_map_lcs_locationEstimate = -1;  /* Ext_GeographicalInformation */
1467 static int hf_gsm_map_lcs_ageOfLocationEstimate = -1;  /* AgeOfLocationInformation */
1468 static int hf_gsm_map_lcs_add_LocationEstimate = -1;  /* Add_GeographicalInformation */
1469 static int hf_gsm_map_lcs_deferredmt_lrResponseIndicator = -1;  /* NULL */
1470 static int hf_gsm_map_lcs_geranPositioningData = -1;  /* PositioningDataInformation */
1471 static int hf_gsm_map_lcs_utranPositioningData = -1;  /* UtranPositioningDataInfo */
1472 static int hf_gsm_map_lcs_cellIdOrSai = -1;       /* CellGlobalIdOrServiceAreaIdOrLAI */
1473 static int hf_gsm_map_lcs_sai_Present = -1;       /* NULL */
1474 static int hf_gsm_map_lcs_accuracyFulfilmentIndicator = -1;  /* AccuracyFulfilmentIndicator */
1475 static int hf_gsm_map_lcs_velocityEstimate = -1;  /* VelocityEstimate */
1476 static int hf_gsm_map_lcs_geranGANSSpositioningData = -1;  /* GeranGANSSpositioningData */
1477 static int hf_gsm_map_lcs_utranGANSSpositioningData = -1;  /* UtranGANSSpositioningData */
1478 static int hf_gsm_map_lcs_targetServingNodeForHandover = -1;  /* ServingNodeAddress */
1479 static int hf_gsm_map_lcs_lcs_Event = -1;         /* LCS_Event */
1480 static int hf_gsm_map_lcs_na_ESRD = -1;           /* ISDN_AddressString */
1481 static int hf_gsm_map_lcs_na_ESRK = -1;           /* ISDN_AddressString */
1482 static int hf_gsm_map_lcs_slr_ArgExtensionContainer = -1;  /* SLR_ArgExtensionContainer */
1483 static int hf_gsm_map_lcs_deferredmt_lrData = -1;  /* Deferredmt_lrData */
1484 static int hf_gsm_map_lcs_pseudonymIndicator = -1;  /* NULL */
1485 static int hf_gsm_map_lcs_sequenceNumber = -1;    /* SequenceNumber */
1486 static int hf_gsm_map_lcs_terminationCause = -1;  /* TerminationCause */
1487 static int hf_gsm_map_lcs_msc_Number = -1;        /* ISDN_AddressString */
1488 static int hf_gsm_map_lcs_sgsn_Number = -1;       /* ISDN_AddressString */
1489 static int hf_gsm_map_lcs_mme_Number = -1;        /* DiameterIdentity */
1490 /* named bits */
1491 static int hf_gsm_map_lcs_DeferredLocationEventType_msAvailable = -1;
1492 static int hf_gsm_map_lcs_DeferredLocationEventType_enteringIntoArea = -1;
1493 static int hf_gsm_map_lcs_DeferredLocationEventType_leavingFromArea = -1;
1494 static int hf_gsm_map_lcs_DeferredLocationEventType_beingInsideArea = -1;
1495 static int hf_gsm_map_lcs_DeferredLocationEventType_periodicLDR = -1;
1496 static int hf_gsm_map_lcs_SupportedGADShapes_ellipsoidPoint = -1;
1497 static int hf_gsm_map_lcs_SupportedGADShapes_ellipsoidPointWithUncertaintyCircle = -1;
1498 static int hf_gsm_map_lcs_SupportedGADShapes_ellipsoidPointWithUncertaintyEllipse = -1;
1499 static int hf_gsm_map_lcs_SupportedGADShapes_polygon = -1;
1500 static int hf_gsm_map_lcs_SupportedGADShapes_ellipsoidPointWithAltitude = -1;
1501 static int hf_gsm_map_lcs_SupportedGADShapes_ellipsoidPointWithAltitudeAndUncertaintyElipsoid = -1;
1502 static int hf_gsm_map_lcs_SupportedGADShapes_ellipsoidArc = -1;
1503
1504 /* --- Module MAP-GR-DataTypes --- --- ---                                    */
1505
1506 static int hf_gsm_map_gr_teleservice = -1;        /* Ext_TeleserviceCode */
1507 static int hf_gsm_map_gr_asciCallReference = -1;  /* ASCI_CallReference */
1508 static int hf_gsm_map_gr_codec_Info = -1;         /* CODEC_Info */
1509 static int hf_gsm_map_gr_cipheringAlgorithm = -1;  /* CipheringAlgorithm */
1510 static int hf_gsm_map_gr_groupKeyNumber_Vk_Id = -1;  /* GroupKeyNumber */
1511 static int hf_gsm_map_gr_groupKey = -1;           /* Kc */
1512 static int hf_gsm_map_gr_priority = -1;           /* EMLPP_Priority */
1513 static int hf_gsm_map_gr_uplinkFree = -1;         /* NULL */
1514 static int hf_gsm_map_gr_extensionContainer = -1;  /* ExtensionContainer */
1515 static int hf_gsm_map_gr_vstk = -1;               /* VSTK */
1516 static int hf_gsm_map_gr_vstk_rand = -1;          /* VSTK_RAND */
1517 static int hf_gsm_map_gr_talkerChannelParameter = -1;  /* NULL */
1518 static int hf_gsm_map_gr_uplinkReplyIndicator = -1;  /* NULL */
1519 static int hf_gsm_map_gr_groupCallNumber = -1;    /* ISDN_AddressString */
1520 static int hf_gsm_map_gr_imsi = -1;               /* IMSI */
1521 static int hf_gsm_map_gr_talkerPriority = -1;     /* TalkerPriority */
1522 static int hf_gsm_map_gr_additionalInfo = -1;     /* AdditionalInfo */
1523 static int hf_gsm_map_gr_uplinkRequestAck = -1;   /* NULL */
1524 static int hf_gsm_map_gr_uplinkReleaseIndication = -1;  /* NULL */
1525 static int hf_gsm_map_gr_uplinkRejectCommand = -1;  /* NULL */
1526 static int hf_gsm_map_gr_uplinkSeizedCommand = -1;  /* NULL */
1527 static int hf_gsm_map_gr_uplinkReleaseCommand = -1;  /* NULL */
1528 static int hf_gsm_map_gr_stateAttributes = -1;    /* StateAttributes */
1529 static int hf_gsm_map_gr_emergencyModeResetCommandFlag = -1;  /* NULL */
1530 static int hf_gsm_map_gr_sm_RP_UI = -1;           /* SignalInfo */
1531 static int hf_gsm_map_gr_an_APDU = -1;            /* AccessNetworkSignalInfo */
1532 static int hf_gsm_map_gr_uplinkRequest = -1;      /* NULL */
1533 static int hf_gsm_map_gr_releaseGroupCall = -1;   /* NULL */
1534 static int hf_gsm_map_gr_downlinkAttached = -1;   /* NULL */
1535 static int hf_gsm_map_gr_uplinkAttached = -1;     /* NULL */
1536 static int hf_gsm_map_gr_dualCommunication = -1;  /* NULL */
1537 static int hf_gsm_map_gr_callOriginator = -1;     /* NULL */
1538 static int hf_gsm_map_gr_requestedInfo = -1;      /* RequestedInfo */
1539 static int hf_gsm_map_gr_groupId = -1;            /* Long_GroupId */
1540 static int hf_gsm_map_gr_cellId = -1;             /* GlobalCellId */
1541 static int hf_gsm_map_gr_tmsi = -1;               /* TMSI */
1542 static int hf_gsm_map_gr_cksn = -1;               /* Cksn */
1543 static int hf_gsm_map_gr_anchorMSC_Address = -1;  /* ISDN_AddressString */
1544 static int hf_gsm_map_gr_additionalSubscriptions = -1;  /* AdditionalSubscriptions */
1545 static int hf_gsm_map_gr_kc = -1;                 /* Kc */
1546
1547 /* --- Module MAP-DialogueInformation --- --- ---                             */
1548
1549 static int hf_gsm_map_dialogue_gsm_map_dialogue_MAP_DialoguePDU_PDU = -1;  /* MAP_DialoguePDU */
1550 static int hf_gsm_map_dialogue_map_open = -1;     /* MAP_OpenInfo */
1551 static int hf_gsm_map_dialogue_map_accept = -1;   /* MAP_AcceptInfo */
1552 static int hf_gsm_map_dialogue_map_close = -1;    /* MAP_CloseInfo */
1553 static int hf_gsm_map_dialogue_map_refuse = -1;   /* MAP_RefuseInfo */
1554 static int hf_gsm_map_dialogue_map_userAbort = -1;  /* MAP_UserAbortInfo */
1555 static int hf_gsm_map_dialogue_map_providerAbort = -1;  /* MAP_ProviderAbortInfo */
1556 static int hf_gsm_map_dialogue_destinationReference = -1;  /* AddressString */
1557 static int hf_gsm_map_dialogue_originationReference = -1;  /* AddressString */
1558 static int hf_gsm_map_dialogue_extensionContainer = -1;  /* ExtensionContainer */
1559 static int hf_gsm_map_dialogue_reason = -1;       /* Reason */
1560 static int hf_gsm_map_dialogue_alternativeApplicationContext = -1;  /* OBJECT_IDENTIFIER */
1561 static int hf_gsm_map_dialogue_map_UserAbortChoice = -1;  /* MAP_UserAbortChoice */
1562 static int hf_gsm_map_dialogue_userSpecificReason = -1;  /* NULL */
1563 static int hf_gsm_map_dialogue_userResourceLimitation = -1;  /* NULL */
1564 static int hf_gsm_map_dialogue_resourceUnavailable = -1;  /* ResourceUnavailableReason */
1565 static int hf_gsm_map_dialogue_applicationProcedureCancellation = -1;  /* ProcedureCancellationReason */
1566 static int hf_gsm_map_dialogue_map_ProviderAbortReason = -1;  /* MAP_ProviderAbortReason */
1567
1568 /* --- Module DummyMAP --- --- ---                                            */
1569
1570 static int hf_gsm_old_invoke = -1;                /* Invoke */
1571 static int hf_gsm_old_returnResultLast = -1;      /* ReturnResult */
1572 static int hf_gsm_old_returnError = -1;           /* ReturnError */
1573 static int hf_gsm_old_reject = -1;                /* Reject */
1574 static int hf_gsm_old_returnResultNotLast = -1;   /* ReturnResult */
1575 static int hf_gsm_old_invokeID = -1;              /* InvokeIdType */
1576 static int hf_gsm_old_linkedID = -1;              /* InvokeIdType */
1577 static int hf_gsm_old_opCode = -1;                /* MAP_OPERATION */
1578 static int hf_gsm_old_invokeparameter = -1;       /* InvokeParameter */
1579 static int hf_gsm_old_resultretres = -1;          /* T_resultretres */
1580 static int hf_gsm_old_returnparameter = -1;       /* ReturnResultParameter */
1581 static int hf_gsm_old_errorCode = -1;             /* MAP_ERROR */
1582 static int hf_gsm_old_parameter = -1;             /* ReturnErrorParameter */
1583 static int hf_gsm_old_invokeIDRej = -1;           /* T_invokeIDRej */
1584 static int hf_gsm_old_derivable = -1;             /* InvokeIdType */
1585 static int hf_gsm_old_not_derivable = -1;         /* NULL */
1586 static int hf_gsm_old_problem = -1;               /* T_problem */
1587 static int hf_gsm_old_generalProblem = -1;        /* GeneralProblem */
1588 static int hf_gsm_old_invokeProblem = -1;         /* InvokeProblem */
1589 static int hf_gsm_old_returnResultProblem = -1;   /* ReturnResultProblem */
1590 static int hf_gsm_old_returnErrorProblem = -1;    /* ReturnErrorProblem */
1591 static int hf_gsm_old_localValue = -1;            /* OperationLocalvalue */
1592 static int hf_gsm_old_globalValue = -1;           /* OBJECT_IDENTIFIER */
1593 static int hf_gsm_old_localValue_01 = -1;         /* LocalErrorcode */
1594 static int hf_gsm_old_protocolId = -1;            /* ProtocolId */
1595 static int hf_gsm_old_signalInfo = -1;            /* SignalInfo */
1596 static int hf_gsm_old_extensionContainer = -1;    /* ExtensionContainer */
1597 static int hf_gsm_old_gsm_BearerCapability = -1;  /* ExternalSignalInfo */
1598 static int hf_gsm_old_isdn_BearerCapability = -1;  /* ExternalSignalInfo */
1599 static int hf_gsm_old_call_Direction = -1;        /* CallDirection */
1600 static int hf_gsm_old_b_Subscriber_Address = -1;  /* ISDN_AddressString */
1601 static int hf_gsm_old_chosenChannel = -1;         /* ExternalSignalInfo */
1602 static int hf_gsm_old_lowerLayerCompatibility = -1;  /* ExternalSignalInfo */
1603 static int hf_gsm_old_highLayerCompatibility = -1;  /* ExternalSignalInfo */
1604 static int hf_gsm_old_sIWFSNumber = -1;           /* ISDN_AddressString */
1605 static int hf_gsm_old_imsi = -1;                  /* IMSI */
1606 static int hf_gsm_old_vlr_Number = -1;            /* ISDN_AddressString */
1607 static int hf_gsm_old_targetCellId = -1;          /* GlobalCellId */
1608 static int hf_gsm_old_ho_NumberNotRequired = -1;  /* NULL */
1609 static int hf_gsm_old_bss_APDU = -1;              /* Bss_APDU */
1610 static int hf_gsm_old_handoverNumber = -1;        /* ISDN_AddressString */
1611 static int hf_gsm_old_SendAuthenticationInfoResOld_item = -1;  /* SendAuthenticationInfoResOld_item */
1612 static int hf_gsm_old_rand = -1;                  /* RAND */
1613 static int hf_gsm_old_sres = -1;                  /* SRES */
1614 static int hf_gsm_old_kc = -1;                    /* Kc */
1615 static int hf_gsm_old_tripletList = -1;           /* TripletListold */
1616 static int hf_gsm_old_TripletListold_item = -1;   /* AuthenticationTriplet_v2 */
1617 static int hf_gsm_old_channelType = -1;           /* ExternalSignalInfo */
1618 static int hf_gsm_old_securityHeader = -1;        /* SecurityHeader */
1619 static int hf_gsm_old_protectedPayload = -1;      /* ProtectedPayload */
1620 static int hf_gsm_old_securityParametersIndex = -1;  /* SecurityParametersIndex */
1621 static int hf_gsm_old_originalComponentIdentifier = -1;  /* OriginalComponentIdentifier */
1622 static int hf_gsm_old_initialisationVector = -1;  /* InitialisationVector */
1623 static int hf_gsm_old_operationCode = -1;         /* OperationCode */
1624 static int hf_gsm_old_errorCode_01 = -1;          /* ErrorCode */
1625 static int hf_gsm_old_userInfo = -1;              /* NULL */
1626 static int hf_gsm_old_localValue_02 = -1;         /* INTEGER */
1627 static int hf_gsm_old_msisdn = -1;                /* ISDN_AddressString */
1628 static int hf_gsm_old_category = -1;              /* Category */
1629 static int hf_gsm_old_basicService = -1;          /* BasicServiceCode */
1630 static int hf_gsm_old_operatorSS_Code = -1;       /* T_operatorSS_Code */
1631 static int hf_gsm_old_operatorSS_Code_item = -1;  /* OCTET_STRING_SIZE_1 */
1632 static int hf_gsm_old_sm_RP_DA = -1;              /* SM_RP_DAold */
1633 static int hf_gsm_old_sm_RP_OA = -1;              /* SM_RP_OAold */
1634 static int hf_gsm_old_sm_RP_UI = -1;              /* SignalInfo */
1635 static int hf_gsm_old_moreMessagesToSend = -1;    /* NULL */
1636 static int hf_gsm_old_imsi_01 = -1;               /* T_imsi */
1637 static int hf_gsm_old_lmsi = -1;                  /* T_lmsi */
1638 static int hf_gsm_old_serviceCentreAddressDA = -1;  /* T_serviceCentreAddressDA */
1639 static int hf_gsm_old_noSM_RP_DA = -1;            /* NULL */
1640 static int hf_gsm_old_msisdn_01 = -1;             /* T_msisdn */
1641 static int hf_gsm_old_serviceCentreAddressOA = -1;  /* T_serviceCentreAddressOA */
1642 static int hf_gsm_old_noSM_RP_OA = -1;            /* NULL */
1643 static int hf_gsm_old_cug_CheckInfo = -1;         /* CUG_CheckInfo */
1644 static int hf_gsm_old_numberOfForwarding = -1;    /* NumberOfForwarding */
1645 static int hf_gsm_old_networkSignalInfo = -1;     /* ExternalSignalInfo */
1646 static int hf_gsm_old_routingInfo = -1;           /* RoutingInfo */
1647 static int hf_gsm_old_originatingEntityNumber = -1;  /* ISDN_AddressString */
1648 static int hf_gsm_old_msisdn_02 = -1;             /* AddressString */
1649
1650 /* --- Module SS-DataTypes --- --- ---                                        */
1651
1652 static int hf_gsm_ss_ss_Code = -1;                /* SS_Code */
1653 static int hf_gsm_ss_ss_Status = -1;              /* SS_Status */
1654 static int hf_gsm_ss_ss_Notification = -1;        /* SS_Notification */
1655 static int hf_gsm_ss_callIsWaiting_Indicator = -1;  /* NULL */
1656 static int hf_gsm_ss_callOnHold_Indicator = -1;   /* CallOnHold_Indicator */
1657 static int hf_gsm_ss_mpty_Indicator = -1;         /* NULL */
1658 static int hf_gsm_ss_cug_Index = -1;              /* CUG_Index */
1659 static int hf_gsm_ss_clirSuppressionRejected = -1;  /* NULL */
1660 static int hf_gsm_ss_ect_Indicator = -1;          /* ECT_Indicator */
1661 static int hf_gsm_ss_nameIndicator = -1;          /* NameIndicator */
1662 static int hf_gsm_ss_ccbs_Feature = -1;           /* CCBS_Feature */
1663 static int hf_gsm_ss_alertingPattern = -1;        /* AlertingPattern */
1664 static int hf_gsm_ss_multicall_Indicator = -1;    /* Multicall_Indicator */
1665 static int hf_gsm_ss_chargingInformation = -1;    /* ChargingInformation */
1666 static int hf_gsm_ss_e1 = -1;                     /* E1 */
1667 static int hf_gsm_ss_e2 = -1;                     /* E2 */
1668 static int hf_gsm_ss_e3 = -1;                     /* E3 */
1669 static int hf_gsm_ss_e4 = -1;                     /* E4 */
1670 static int hf_gsm_ss_e5 = -1;                     /* E5 */
1671 static int hf_gsm_ss_e6 = -1;                     /* E6 */
1672 static int hf_gsm_ss_e7 = -1;                     /* E7 */
1673 static int hf_gsm_ss_suppressPrefCUG = -1;        /* NULL */
1674 static int hf_gsm_ss_suppressOA = -1;             /* NULL */
1675 static int hf_gsm_ss_ect_CallState = -1;          /* ECT_CallState */
1676 static int hf_gsm_ss_rdn = -1;                    /* RDN */
1677 static int hf_gsm_ss_callingName = -1;            /* Name */
1678 static int hf_gsm_ss_namePresentationAllowed = -1;  /* NameSet */
1679 static int hf_gsm_ss_presentationRestricted = -1;  /* NULL */
1680 static int hf_gsm_ss_nameUnavailable = -1;        /* NULL */
1681 static int hf_gsm_ss_namePresentationRestricted = -1;  /* NameSet */
1682 static int hf_gsm_ss_dataCodingScheme = -1;       /* USSD_DataCodingScheme */
1683 static int hf_gsm_ss_lengthInCharacters = -1;     /* INTEGER */
1684 static int hf_gsm_ss_nameString = -1;             /* USSD_String */
1685 static int hf_gsm_ss_presentationAllowedAddress = -1;  /* RemotePartyNumber */
1686 static int hf_gsm_ss_numberNotAvailableDueToInterworking = -1;  /* NULL */
1687 static int hf_gsm_ss_presentationRestrictedAddress = -1;  /* RemotePartyNumber */
1688 static int hf_gsm_ss_partyNumber = -1;            /* ISDN_AddressString */
1689 static int hf_gsm_ss_partyNumberSubaddress = -1;  /* ISDN_SubaddressString */
1690 static int hf_gsm_ss_deflectedToNumber = -1;      /* AddressString */
1691 static int hf_gsm_ss_deflectedToSubaddress = -1;  /* ISDN_SubaddressString */
1692 static int hf_gsm_ss_uUS_Service = -1;            /* UUS_Service */
1693 static int hf_gsm_ss_uUS_Required = -1;           /* BOOLEAN */
1694 static int hf_gsm_ss_notificationType = -1;       /* NotificationToMSUser */
1695 static int hf_gsm_ss_locationType = -1;           /* LocationType */
1696 static int hf_gsm_ss_lcsClientExternalID = -1;    /* LCSClientExternalID */
1697 static int hf_gsm_ss_lcsClientName = -1;          /* LCSClientName */
1698 static int hf_gsm_ss_lcsRequestorID = -1;         /* LCSRequestorID */
1699 static int hf_gsm_ss_lcsCodeword = -1;            /* LCSCodeword */
1700 static int hf_gsm_ss_lcsServiceTypeID = -1;       /* LCSServiceTypeID */
1701 static int hf_gsm_ss_verificationResponse = -1;   /* VerificationResponse */
1702 static int hf_gsm_ss_molr_Type = -1;              /* MOLR_Type */
1703 static int hf_gsm_ss_locationMethod = -1;         /* LocationMethod */
1704 static int hf_gsm_ss_lcs_QoS = -1;                /* LCS_QoS */
1705 static int hf_gsm_ss_mlc_Number = -1;             /* ISDN_AddressString */
1706 static int hf_gsm_ss_gpsAssistanceData = -1;      /* GPSAssistanceData */
1707 static int hf_gsm_ss_supportedGADShapes = -1;     /* SupportedGADShapes */
1708 static int hf_gsm_ss_ageOfLocationInfo = -1;      /* AgeOfLocationInformation */
1709 static int hf_gsm_ss_pseudonymIndicator = -1;     /* NULL */
1710 static int hf_gsm_ss_h_gmlc_address = -1;         /* GSN_Address */
1711 static int hf_gsm_ss_locationEstimate = -1;       /* Ext_GeographicalInformation */
1712 static int hf_gsm_ss_velocityEstimate = -1;       /* VelocityEstimate */
1713 static int hf_gsm_ss_referenceNumber = -1;        /* LCS_ReferenceNumber */
1714 static int hf_gsm_ss_periodicLDRInfo = -1;        /* PeriodicLDRInfo */
1715 static int hf_gsm_ss_locationUpdateRequest = -1;  /* NULL */
1716 static int hf_gsm_ss_sequenceNumber = -1;         /* SequenceNumber */
1717 static int hf_gsm_ss_terminationCause = -1;       /* TerminationCause */
1718 static int hf_gsm_ss_mo_lrShortCircuit = -1;      /* NULL */
1719 static int hf_gsm_ss_ganssAssistanceData = -1;    /* GANSSAssistanceData */
1720 static int hf_gsm_ss_multiplePositioningProtocolPDUs = -1;  /* MultiplePositioningProtocolPDUs */
1721 static int hf_gsm_ss_MultiplePositioningProtocolPDUs_item = -1;  /* PositioningProtocolPDU */
1722 static int hf_gsm_ss_decipheringKeys = -1;        /* DecipheringKeys */
1723 static int hf_gsm_ss_add_LocationEstimate = -1;   /* Add_GeographicalInformation */
1724 static int hf_gsm_ss_reportingPLMNList = -1;      /* ReportingPLMNList */
1725 static int hf_gsm_ss_deferredLocationEventType = -1;  /* DeferredLocationEventType */
1726 static int hf_gsm_ss_areaEventInfo = -1;          /* AreaEventInfo */
1727 static int hf_gsm_ss_qoS = -1;                    /* LCS_QoS */
1728
1729 /* --- Module EricssonMAP --- --- ---                                         */
1730
1731 static int hf_gsm_map_ericsson_imei = -1;         /* IMEI */
1732 static int hf_gsm_map_ericsson_requestedEquipmentInfo = -1;  /* RequestedEquipmentInfo */
1733 static int hf_gsm_map_ericsson_imsi = -1;         /* IMSI */
1734 static int hf_gsm_map_ericsson_locationInformation = -1;  /* T_locationInformation */
1735 static int hf_gsm_map_ericsson_extensionContainer = -1;  /* ExtensionContainer */
1736
1737 /*--- End of included file: packet-gsm_map-hf.c ---*/
1738 #line 156 "../../asn1/gsm_map/packet-gsm_map-template.c"
1739
1740 /* Initialize the subtree pointers */
1741 static gint ett_gsm_map = -1;
1742 static gint ett_gsm_map_InvokeId = -1;
1743 static gint ett_gsm_map_InvokePDU = -1;
1744 static gint ett_gsm_map_ReturnResultPDU = -1;
1745 static gint ett_gsm_map_ReturnErrorPDU = -1;
1746 static gint ett_gsm_map_ReturnResult_result = -1;
1747 static gint ett_gsm_map_ReturnError_result = -1;
1748 static gint ett_gsm_map_GSMMAPPDU = -1;
1749 static gint ett_gsm_map_ext_qos_subscribed = -1;
1750 static gint ett_gsm_map_pdptypenumber = -1;
1751 static gint ett_gsm_map_RAIdentity = -1;
1752 static gint ett_gsm_map_LAIFixedLength = -1;
1753 static gint ett_gsm_map_isdn_address_string = -1;
1754 static gint ett_gsm_map_geo_desc = -1;
1755 static gint ett_gsm_map_LongSignalInfo = -1;
1756 static gint ett_gsm_map_RadioResourceInformation =-1;
1757 static gint ett_gsm_map_MSNetworkCapability =-1;
1758 static gint ett_gsm_map_MSRadioAccessCapability = -1;
1759 static gint ett_gsm_map_externalsignalinfo = -1;
1760 static gint ett_gsm_map_cbs_data_coding = -1;
1761 static gint ett_gsm_map_GlobalCellId = -1;
1762 static gint ett_gsm_map_GeographicalInformation = -1;
1763 static gint ett_gsm_map_apn_str = -1;
1764 static gint ett_gsm_map_LocationNumber = -1;
1765 static gint ett_gsm_map_ericsson_locationInformation = -1;
1766
1767
1768 /*--- Included file: packet-gsm_map-ett.c ---*/
1769 #line 1 "../../asn1/gsm_map/packet-gsm_map-ett.c"
1770
1771 /* --- Module MAP-ExtensionDataTypes --- --- ---                              */
1772
1773 static gint ett_gsm_map_ExtensionContainer = -1;
1774 static gint ett_gsm_map_SLR_ArgExtensionContainer = -1;
1775 static gint ett_gsm_map_PrivateExtensionList = -1;
1776 static gint ett_gsm_map_PrivateExtension = -1;
1777 static gint ett_gsm_map_PCS_Extensions = -1;
1778 static gint ett_gsm_map_SLR_Arg_PCS_Extensions = -1;
1779
1780 /* --- Module MAP-CommonDataTypes --- --- ---                                 */
1781
1782 static gint ett_gsm_map_ExternalSignalInfo = -1;
1783 static gint ett_gsm_map_Ext_ExternalSignalInfo = -1;
1784 static gint ett_gsm_map_AccessNetworkSignalInfo = -1;
1785 static gint ett_gsm_map_Identity = -1;
1786 static gint ett_gsm_map_IMSI_WithLMSI = -1;
1787 static gint ett_gsm_map_HLR_List = -1;
1788 static gint ett_gsm_map_NAEA_PreferredCI = -1;
1789 static gint ett_gsm_map_SubscriberIdentity = -1;
1790 static gint ett_gsm_map_LCSClientExternalID = -1;
1791 static gint ett_gsm_map_NetworkNodeDiameterAddress = -1;
1792 static gint ett_gsm_map_CellGlobalIdOrServiceAreaIdOrLAI = -1;
1793 static gint ett_gsm_map_BasicServiceCode = -1;
1794 static gint ett_gsm_map_Ext_BasicServiceCode = -1;
1795 static gint ett_gsm_map_EMLPP_Info = -1;
1796 static gint ett_gsm_map_MC_SS_Info = -1;
1797
1798 /* --- Module MAP-SS-DataTypes --- --- ---                                    */
1799
1800 static gint ett_gsm_map_ss_RegisterSS_Arg = -1;
1801 static gint ett_gsm_map_ss_SS_Info = -1;
1802 static gint ett_gsm_map_ss_ForwardingInfo = -1;
1803 static gint ett_gsm_map_ss_ForwardingFeatureList = -1;
1804 static gint ett_gsm_map_ss_ForwardingFeature = -1;
1805 static gint ett_gsm_map_ss_CallBarringInfo = -1;
1806 static gint ett_gsm_map_ss_CallBarringFeatureList = -1;
1807 static gint ett_gsm_map_ss_CallBarringFeature = -1;
1808 static gint ett_gsm_map_ss_SS_Data = -1;
1809 static gint ett_gsm_map_ss_SS_SubscriptionOption = -1;
1810 static gint ett_gsm_map_ss_SS_ForBS_Code = -1;
1811 static gint ett_gsm_map_ss_GenericServiceInfo = -1;
1812 static gint ett_gsm_map_ss_CCBS_FeatureList = -1;
1813 static gint ett_gsm_map_ss_CCBS_Feature = -1;
1814 static gint ett_gsm_map_ss_InterrogateSS_Res = -1;
1815 static gint ett_gsm_map_ss_USSD_Arg = -1;
1816 static gint ett_gsm_map_ss_USSD_Res = -1;
1817 static gint ett_gsm_map_ss_SS_List = -1;
1818 static gint ett_gsm_map_ss_BasicServiceGroupList = -1;
1819 static gint ett_gsm_map_ss_SS_InvocationNotificationArg = -1;
1820 static gint ett_gsm_map_ss_SS_InvocationNotificationRes = -1;
1821 static gint ett_gsm_map_ss_SS_EventSpecification = -1;
1822 static gint ett_gsm_map_ss_RegisterCC_EntryArg = -1;
1823 static gint ett_gsm_map_ss_CCBS_Data = -1;
1824 static gint ett_gsm_map_ss_ServiceIndicator = -1;
1825 static gint ett_gsm_map_ss_RegisterCC_EntryRes = -1;
1826 static gint ett_gsm_map_ss_EraseCC_EntryArg = -1;
1827 static gint ett_gsm_map_ss_EraseCC_EntryRes = -1;
1828
1829 /* --- Module MAP-ER-DataTypes --- --- ---                                    */
1830
1831 static gint ett_gsm_map_er_RoamingNotAllowedParam = -1;
1832 static gint ett_gsm_map_er_CallBarredParam = -1;
1833 static gint ett_gsm_map_er_ExtensibleCallBarredParam = -1;
1834 static gint ett_gsm_map_er_CUG_RejectParam = -1;
1835 static gint ett_gsm_map_er_SS_IncompatibilityCause = -1;
1836 static gint ett_gsm_map_er_SM_DeliveryFailureCause = -1;
1837 static gint ett_gsm_map_er_AbsentSubscriberSM_Param = -1;
1838 static gint ett_gsm_map_er_SystemFailureParam = -1;
1839 static gint ett_gsm_map_er_ExtensibleSystemFailureParam = -1;
1840 static gint ett_gsm_map_er_DataMissingParam = -1;
1841 static gint ett_gsm_map_er_UnexpectedDataParam = -1;
1842 static gint ett_gsm_map_er_FacilityNotSupParam = -1;
1843 static gint ett_gsm_map_er_OR_NotAllowedParam = -1;
1844 static gint ett_gsm_map_er_UnknownSubscriberParam = -1;
1845 static gint ett_gsm_map_er_NumberChangedParam = -1;
1846 static gint ett_gsm_map_er_UnidentifiedSubParam = -1;
1847 static gint ett_gsm_map_er_IllegalSubscriberParam = -1;
1848 static gint ett_gsm_map_er_IllegalEquipmentParam = -1;
1849 static gint ett_gsm_map_er_BearerServNotProvParam = -1;
1850 static gint ett_gsm_map_er_TeleservNotProvParam = -1;
1851 static gint ett_gsm_map_er_TracingBufferFullParam = -1;
1852 static gint ett_gsm_map_er_NoRoamingNbParam = -1;
1853 static gint ett_gsm_map_er_AbsentSubscriberParam = -1;
1854 static gint ett_gsm_map_er_BusySubscriberParam = -1;
1855 static gint ett_gsm_map_er_NoSubscriberReplyParam = -1;
1856 static gint ett_gsm_map_er_ForwardingViolationParam = -1;
1857 static gint ett_gsm_map_er_ForwardingFailedParam = -1;
1858 static gint ett_gsm_map_er_ATI_NotAllowedParam = -1;
1859 static gint ett_gsm_map_er_ATSI_NotAllowedParam = -1;
1860 static gint ett_gsm_map_er_ATM_NotAllowedParam = -1;
1861 static gint ett_gsm_map_er_IllegalSS_OperationParam = -1;
1862 static gint ett_gsm_map_er_SS_NotAvailableParam = -1;
1863 static gint ett_gsm_map_er_SS_SubscriptionViolationParam = -1;
1864 static gint ett_gsm_map_er_InformationNotAvailableParam = -1;
1865 static gint ett_gsm_map_er_SubBusyForMT_SMS_Param = -1;
1866 static gint ett_gsm_map_er_MessageWaitListFullParam = -1;
1867 static gint ett_gsm_map_er_ResourceLimitationParam = -1;
1868 static gint ett_gsm_map_er_NoGroupCallNbParam = -1;
1869 static gint ett_gsm_map_er_IncompatibleTerminalParam = -1;
1870 static gint ett_gsm_map_er_ShortTermDenialParam = -1;
1871 static gint ett_gsm_map_er_LongTermDenialParam = -1;
1872 static gint ett_gsm_map_er_UnauthorizedRequestingNetwork_Param = -1;
1873 static gint ett_gsm_map_er_UnauthorizedLCSClient_Param = -1;
1874 static gint ett_gsm_map_er_PositionMethodFailure_Param = -1;
1875 static gint ett_gsm_map_er_UnknownOrUnreachableLCSClient_Param = -1;
1876 static gint ett_gsm_map_er_MM_EventNotSupported_Param = -1;
1877 static gint ett_gsm_map_er_TargetCellOutsideGCA_Param = -1;
1878 static gint ett_gsm_map_er_OngoingGroupCallParam = -1;
1879
1880 /* --- Module MAP-SM-DataTypes --- --- ---                                    */
1881
1882 static gint ett_gsm_map_sm_RoutingInfoForSM_Arg = -1;
1883 static gint ett_gsm_map_sm_RoutingInfoForSM_Res = -1;
1884 static gint ett_gsm_map_sm_IP_SM_GW_Guidance = -1;
1885 static gint ett_gsm_map_sm_LocationInfoWithLMSI = -1;
1886 static gint ett_gsm_map_sm_Additional_Number = -1;
1887 static gint ett_gsm_map_sm_MO_ForwardSM_Arg = -1;
1888 static gint ett_gsm_map_sm_MO_ForwardSM_Res = -1;
1889 static gint ett_gsm_map_sm_MT_ForwardSM_Arg = -1;
1890 static gint ett_gsm_map_sm_MT_ForwardSM_Res = -1;
1891 static gint ett_gsm_map_sm_SM_RP_DA = -1;
1892 static gint ett_gsm_map_sm_SM_RP_OA = -1;
1893 static gint ett_gsm_map_sm_ReportSM_DeliveryStatusArg = -1;
1894 static gint ett_gsm_map_sm_ReportSM_DeliveryStatusRes = -1;
1895 static gint ett_gsm_map_sm_AlertServiceCentreArg = -1;
1896 static gint ett_gsm_map_sm_InformServiceCentreArg = -1;
1897 static gint ett_gsm_map_sm_MW_Status = -1;
1898 static gint ett_gsm_map_sm_ReadyForSM_Arg = -1;
1899 static gint ett_gsm_map_sm_ReadyForSM_Res = -1;
1900 static gint ett_gsm_map_sm_MT_ForwardSM_VGCS_Arg = -1;
1901 static gint ett_gsm_map_sm_MT_ForwardSM_VGCS_Res = -1;
1902 static gint ett_gsm_map_sm_DispatcherList = -1;
1903 static gint ett_gsm_map_sm_AdditionalDispatcherList = -1;
1904
1905 /* --- Module MAP-OM-DataTypes --- --- ---                                    */
1906
1907 static gint ett_gsm_map_om_ActivateTraceModeArg = -1;
1908 static gint ett_gsm_map_om_MDT_Configuration = -1;
1909 static gint ett_gsm_map_om_AreaScope = -1;
1910 static gint ett_gsm_map_om_CGI_List = -1;
1911 static gint ett_gsm_map_om_E_UTRAN_CGI_List = -1;
1912 static gint ett_gsm_map_om_RoutingAreaId_List = -1;
1913 static gint ett_gsm_map_om_LocationAreaId_List = -1;
1914 static gint ett_gsm_map_om_TrackingAreaId_List = -1;
1915 static gint ett_gsm_map_om_TraceDepthList = -1;
1916 static gint ett_gsm_map_om_TraceNE_TypeList = -1;
1917 static gint ett_gsm_map_om_TraceInterfaceList = -1;
1918 static gint ett_gsm_map_om_MSC_S_InterfaceList = -1;
1919 static gint ett_gsm_map_om_MGW_InterfaceList = -1;
1920 static gint ett_gsm_map_om_SGSN_InterfaceList = -1;
1921 static gint ett_gsm_map_om_GGSN_InterfaceList = -1;
1922 static gint ett_gsm_map_om_RNC_InterfaceList = -1;
1923 static gint ett_gsm_map_om_BMSC_InterfaceList = -1;
1924 static gint ett_gsm_map_om_MME_InterfaceList = -1;
1925 static gint ett_gsm_map_om_SGW_InterfaceList = -1;
1926 static gint ett_gsm_map_om_PGW_InterfaceList = -1;
1927 static gint ett_gsm_map_om_ENB_InterfaceList = -1;
1928 static gint ett_gsm_map_om_TraceEventList = -1;
1929 static gint ett_gsm_map_om_MSC_S_EventList = -1;
1930 static gint ett_gsm_map_om_MGW_EventList = -1;
1931 static gint ett_gsm_map_om_SGSN_EventList = -1;
1932 static gint ett_gsm_map_om_GGSN_EventList = -1;
1933 static gint ett_gsm_map_om_BMSC_EventList = -1;
1934 static gint ett_gsm_map_om_MME_EventList = -1;
1935 static gint ett_gsm_map_om_SGW_EventList = -1;
1936 static gint ett_gsm_map_om_PGW_EventList = -1;
1937 static gint ett_gsm_map_om_TracePropagationList = -1;
1938 static gint ett_gsm_map_om_ActivateTraceModeRes = -1;
1939 static gint ett_gsm_map_om_DeactivateTraceModeArg = -1;
1940 static gint ett_gsm_map_om_DeactivateTraceModeRes = -1;
1941
1942 /* --- Module MAP-MS-DataTypes --- --- ---                                    */
1943
1944 static gint ett_gsm_map_ms_UpdateLocationArg = -1;
1945 static gint ett_gsm_map_ms_VLR_Capability = -1;
1946 static gint ett_gsm_map_ms_SupportedRAT_Types = -1;
1947 static gint ett_gsm_map_ms_SuperChargerInfo = -1;
1948 static gint ett_gsm_map_ms_SupportedLCS_CapabilitySets = -1;
1949 static gint ett_gsm_map_ms_UpdateLocationRes = -1;
1950 static gint ett_gsm_map_ms_ADD_Info = -1;
1951 static gint ett_gsm_map_ms_PagingArea = -1;
1952 static gint ett_gsm_map_ms_LocationArea = -1;
1953 static gint ett_gsm_map_ms_CancelLocationArg_U = -1;
1954 static gint ett_gsm_map_ms_CancelLocationRes = -1;
1955 static gint ett_gsm_map_ms_PurgeMS_Arg_U = -1;
1956 static gint ett_gsm_map_ms_PurgeMS_Res = -1;
1957 static gint ett_gsm_map_ms_SendIdentificationArg = -1;
1958 static gint ett_gsm_map_ms_SendIdentificationRes_U = -1;
1959 static gint ett_gsm_map_ms_AuthenticationSetList = -1;
1960 static gint ett_gsm_map_ms_TripletList = -1;
1961 static gint ett_gsm_map_ms_QuintupletList = -1;
1962 static gint ett_gsm_map_ms_AuthenticationTriplet = -1;
1963 static gint ett_gsm_map_ms_AuthenticationQuintuplet = -1;
1964 static gint ett_gsm_map_ms_CurrentSecurityContext = -1;
1965 static gint ett_gsm_map_ms_GSM_SecurityContextData = -1;
1966 static gint ett_gsm_map_ms_UMTS_SecurityContextData = -1;
1967 static gint ett_gsm_map_ms_AuthenticationFailureReportArg = -1;
1968 static gint ett_gsm_map_ms_AuthenticationFailureReportRes = -1;
1969 static gint ett_gsm_map_ms_UpdateGprsLocationArg = -1;
1970 static gint ett_gsm_map_ms_EPS_Info = -1;
1971 static gint ett_gsm_map_ms_PDN_GW_Update = -1;
1972 static gint ett_gsm_map_ms_ISR_Information = -1;
1973 static gint ett_gsm_map_ms_SGSN_Capability = -1;
1974 static gint ett_gsm_map_ms_SupportedFeatures = -1;
1975 static gint ett_gsm_map_ms_UpdateGprsLocationRes = -1;
1976 static gint ett_gsm_map_ms_EPLMN_List = -1;
1977 static gint ett_gsm_map_ms_ForwardAccessSignalling_Arg_U = -1;
1978 static gint ett_gsm_map_ms_AllowedUMTS_Algorithms = -1;
1979 static gint ett_gsm_map_ms_PrepareHO_Arg_U = -1;
1980 static gint ett_gsm_map_ms_LCLS_Negotiation = -1;
1981 static gint ett_gsm_map_ms_LCLS_ConfigurationPreference = -1;
1982 static gint ett_gsm_map_ms_BSSMAP_ServiceHandoverList = -1;
1983 static gint ett_gsm_map_ms_BSSMAP_ServiceHandoverInfo = -1;
1984 static gint ett_gsm_map_ms_RadioResourceList = -1;
1985 static gint ett_gsm_map_ms_RadioResource = -1;
1986 static gint ett_gsm_map_ms_PrepareHO_Res_U = -1;
1987 static gint ett_gsm_map_ms_SelectedUMTS_Algorithms = -1;
1988 static gint ett_gsm_map_ms_ChosenRadioResourceInformation = -1;
1989 static gint ett_gsm_map_ms_PrepareSubsequentHO_Arg_U = -1;
1990 static gint ett_gsm_map_ms_PrepareSubsequentHO_Res_U = -1;
1991 static gint ett_gsm_map_ms_ProcessAccessSignalling_Arg_U = -1;
1992 static gint ett_gsm_map_ms_AoIPCodecsList = -1;
1993 static gint ett_gsm_map_ms_SupportedCodecsList = -1;
1994 static gint ett_gsm_map_ms_CodecList = -1;
1995 static gint ett_gsm_map_ms_SendEndSignal_Arg_U = -1;
1996 static gint ett_gsm_map_ms_SendEndSignal_Res = -1;
1997 static gint ett_gsm_map_ms_RelocationNumberList = -1;
1998 static gint ett_gsm_map_ms_RelocationNumber = -1;
1999 static gint ett_gsm_map_ms_SendAuthenticationInfoArg = -1;
2000 static gint ett_gsm_map_ms_Re_synchronisationInfo = -1;
2001 static gint ett_gsm_map_ms_SendAuthenticationInfoRes_U = -1;
2002 static gint ett_gsm_map_ms_EPS_AuthenticationSetList = -1;
2003 static gint ett_gsm_map_ms_EPC_AV = -1;
2004 static gint ett_gsm_map_ms_CheckIMEI_Arg = -1;
2005 static gint ett_gsm_map_ms_CheckIMEI_Res = -1;
2006 static gint ett_gsm_map_ms_RequestedEquipmentInfo = -1;
2007 static gint ett_gsm_map_ms_UESBI_Iu = -1;
2008 static gint ett_gsm_map_ms_InsertSubscriberDataArg = -1;
2009 static gint ett_gsm_map_ms_CSG_SubscriptionDataList = -1;
2010 static gint ett_gsm_map_ms_CSG_SubscriptionData = -1;
2011 static gint ett_gsm_map_ms_VPLMN_CSG_SubscriptionDataList = -1;
2012 static gint ett_gsm_map_ms_LIPA_AllowedAPNList = -1;
2013 static gint ett_gsm_map_ms_EPS_SubscriptionData = -1;
2014 static gint ett_gsm_map_ms_APN_ConfigurationProfile = -1;
2015 static gint ett_gsm_map_ms_EPS_DataList = -1;
2016 static gint ett_gsm_map_ms_APN_Configuration = -1;
2017 static gint ett_gsm_map_ms_EPS_QoS_Subscribed = -1;
2018 static gint ett_gsm_map_ms_AMBR = -1;
2019 static gint ett_gsm_map_ms_SpecificAPNInfoList = -1;
2020 static gint ett_gsm_map_ms_SpecificAPNInfo = -1;
2021 static gint ett_gsm_map_ms_Allocation_Retention_Priority = -1;
2022 static gint ett_gsm_map_ms_PDN_GW_Identity = -1;
2023 static gint ett_gsm_map_ms_AccessRestrictionData = -1;
2024 static gint ett_gsm_map_ms_LCSInformation = -1;
2025 static gint ett_gsm_map_ms_GMLC_List = -1;
2026 static gint ett_gsm_map_ms_GPRSDataList = -1;
2027 static gint ett_gsm_map_ms_PDP_Context = -1;
2028 static gint ett_gsm_map_ms_GPRSSubscriptionData = -1;
2029 static gint ett_gsm_map_ms_SGSN_CAMEL_SubscriptionInfo = -1;
2030 static gint ett_gsm_map_ms_GPRS_CSI = -1;
2031 static gint ett_gsm_map_ms_GPRS_CamelTDPDataList = -1;
2032 static gint ett_gsm_map_ms_GPRS_CamelTDPData = -1;
2033 static gint ett_gsm_map_ms_LSADataList = -1;
2034 static gint ett_gsm_map_ms_LSAData = -1;
2035 static gint ett_gsm_map_ms_LSAInformation = -1;
2036 static gint ett_gsm_map_ms_SubscriberData = -1;
2037 static gint ett_gsm_map_ms_BearerServiceList = -1;
2038 static gint ett_gsm_map_ms_TeleserviceList = -1;
2039 static gint ett_gsm_map_ms_ODB_Data = -1;
2040 static gint ett_gsm_map_ms_ODB_GeneralData = -1;
2041 static gint ett_gsm_map_ms_ODB_HPLMN_Data = -1;
2042 static gint ett_gsm_map_ms_Ext_SS_InfoList = -1;
2043 static gint ett_gsm_map_ms_Ext_SS_Info = -1;
2044 static gint ett_gsm_map_ms_Ext_ForwInfo = -1;
2045 static gint ett_gsm_map_ms_Ext_ForwFeatureList = -1;
2046 static gint ett_gsm_map_ms_Ext_ForwFeature = -1;
2047 static gint ett_gsm_map_ms_Ext_CallBarInfo = -1;
2048 static gint ett_gsm_map_ms_Ext_CallBarFeatureList = -1;
2049 static gint ett_gsm_map_ms_Ext_CallBarringFeature = -1;
2050 static gint ett_gsm_map_ms_CUG_Info = -1;
2051 static gint ett_gsm_map_ms_CUG_SubscriptionList = -1;
2052 static gint ett_gsm_map_ms_CUG_Subscription = -1;
2053 static gint ett_gsm_map_ms_CUG_FeatureList = -1;
2054 static gint ett_gsm_map_ms_Ext_BasicServiceGroupList = -1;
2055 static gint ett_gsm_map_ms_CUG_Feature = -1;
2056 static gint ett_gsm_map_ms_Ext_SS_Data = -1;
2057 static gint ett_gsm_map_ms_LCS_PrivacyExceptionList = -1;
2058 static gint ett_gsm_map_ms_LCS_PrivacyClass = -1;
2059 static gint ett_gsm_map_ms_ExternalClientList = -1;
2060 static gint ett_gsm_map_ms_PLMNClientList = -1;
2061 static gint ett_gsm_map_ms_Ext_ExternalClientList = -1;
2062 static gint ett_gsm_map_ms_ExternalClient = -1;
2063 static gint ett_gsm_map_ms_ServiceTypeList = -1;
2064 static gint ett_gsm_map_ms_ServiceType = -1;
2065 static gint ett_gsm_map_ms_MOLR_List = -1;
2066 static gint ett_gsm_map_ms_MOLR_Class = -1;
2067 static gint ett_gsm_map_ms_ZoneCodeList = -1;
2068 static gint ett_gsm_map_ms_InsertSubscriberDataRes = -1;
2069 static gint ett_gsm_map_ms_DeleteSubscriberDataArg = -1;
2070 static gint ett_gsm_map_ms_SpecificCSI_Withdraw = -1;
2071 static gint ett_gsm_map_ms_GPRSSubscriptionDataWithdraw = -1;
2072 static gint ett_gsm_map_ms_EPS_SubscriptionDataWithdraw = -1;
2073 static gint ett_gsm_map_ms_ContextIdList = -1;
2074 static gint ett_gsm_map_ms_LSAInformationWithdraw = -1;
2075 static gint ett_gsm_map_ms_LSAIdentityList = -1;
2076 static gint ett_gsm_map_ms_BasicServiceList = -1;
2077 static gint ett_gsm_map_ms_DeleteSubscriberDataRes = -1;
2078 static gint ett_gsm_map_ms_VlrCamelSubscriptionInfo = -1;
2079 static gint ett_gsm_map_ms_MT_smsCAMELTDP_CriteriaList = -1;
2080 static gint ett_gsm_map_ms_MT_smsCAMELTDP_Criteria = -1;
2081 static gint ett_gsm_map_ms_TPDU_TypeCriterion = -1;
2082 static gint ett_gsm_map_ms_D_CSI = -1;
2083 static gint ett_gsm_map_ms_DP_AnalysedInfoCriteriaList = -1;
2084 static gint ett_gsm_map_ms_DP_AnalysedInfoCriterium = -1;
2085 static gint ett_gsm_map_ms_SS_CSI = -1;
2086 static gint ett_gsm_map_ms_SS_CamelData = -1;
2087 static gint ett_gsm_map_ms_SS_EventList = -1;
2088 static gint ett_gsm_map_ms_O_CSI = -1;
2089 static gint ett_gsm_map_ms_O_BcsmCamelTDPDataList = -1;
2090 static gint ett_gsm_map_ms_O_BcsmCamelTDPData = -1;
2091 static gint ett_gsm_map_ms_O_BcsmCamelTDPCriteriaList = -1;
2092 static gint ett_gsm_map_ms_T_BCSM_CAMEL_TDP_CriteriaList = -1;
2093 static gint ett_gsm_map_ms_O_BcsmCamelTDP_Criteria = -1;
2094 static gint ett_gsm_map_ms_T_BCSM_CAMEL_TDP_Criteria = -1;
2095 static gint ett_gsm_map_ms_DestinationNumberCriteria = -1;
2096 static gint ett_gsm_map_ms_DestinationNumberList = -1;
2097 static gint ett_gsm_map_ms_DestinationNumberLengthList = -1;
2098 static gint ett_gsm_map_ms_BasicServiceCriteria = -1;
2099 static gint ett_gsm_map_ms_O_CauseValueCriteria = -1;
2100 static gint ett_gsm_map_ms_T_CauseValueCriteria = -1;
2101 static gint ett_gsm_map_ms_SupportedCamelPhases = -1;
2102 static gint ett_gsm_map_ms_OfferedCamel4CSIs = -1;
2103 static gint ett_gsm_map_ms_OfferedCamel4Functionalities = -1;
2104 static gint ett_gsm_map_ms_SMS_CSI = -1;
2105 static gint ett_gsm_map_ms_SMS_CAMEL_TDP_DataList = -1;
2106 static gint ett_gsm_map_ms_SMS_CAMEL_TDP_Data = -1;
2107 static gint ett_gsm_map_ms_M_CSI = -1;
2108 static gint ett_gsm_map_ms_MG_CSI = -1;
2109 static gint ett_gsm_map_ms_MobilityTriggers = -1;
2110 static gint ett_gsm_map_ms_T_CSI = -1;
2111 static gint ett_gsm_map_ms_T_BcsmCamelTDPDataList = -1;
2112 static gint ett_gsm_map_ms_T_BcsmCamelTDPData = -1;
2113 static gint ett_gsm_map_ms_SendRoutingInfoForGprsArg = -1;
2114 static gint ett_gsm_map_ms_SendRoutingInfoForGprsRes = -1;
2115 static gint ett_gsm_map_ms_FailureReportArg = -1;
2116 static gint ett_gsm_map_ms_FailureReportRes = -1;
2117 static gint ett_gsm_map_ms_NoteMsPresentForGprsArg = -1;
2118 static gint ett_gsm_map_ms_NoteMsPresentForGprsRes = -1;
2119 static gint ett_gsm_map_ms_ResetArg = -1;
2120 static gint ett_gsm_map_ms_SendingNode_Number = -1;
2121 static gint ett_gsm_map_ms_RestoreDataArg = -1;
2122 static gint ett_gsm_map_ms_RestoreDataRes = -1;
2123 static gint ett_gsm_map_ms_VBSDataList = -1;
2124 static gint ett_gsm_map_ms_VGCSDataList = -1;
2125 static gint ett_gsm_map_ms_VoiceGroupCallData = -1;
2126 static gint ett_gsm_map_ms_AdditionalSubscriptions = -1;
2127 static gint ett_gsm_map_ms_VoiceBroadcastData = -1;
2128 static gint ett_gsm_map_ms_ProvideSubscriberInfoArg = -1;
2129 static gint ett_gsm_map_ms_ProvideSubscriberInfoRes = -1;
2130 static gint ett_gsm_map_ms_SubscriberInfo = -1;
2131 static gint ett_gsm_map_ms_MNPInfoRes = -1;
2132 static gint ett_gsm_map_ms_GPRSMSClass = -1;
2133 static gint ett_gsm_map_ms_RequestedInfo = -1;
2134 static gint ett_gsm_map_ms_RequestedNodes = -1;
2135 static gint ett_gsm_map_ms_LocationInformation = -1;
2136 static gint ett_gsm_map_ms_LocationInformationEPS = -1;
2137 static gint ett_gsm_map_ms_LocationInformationGPRS = -1;
2138 static gint ett_gsm_map_ms_UserCSGInformation = -1;
2139 static gint ett_gsm_map_ms_SubscriberState = -1;
2140 static gint ett_gsm_map_ms_PS_SubscriberState = -1;
2141 static gint ett_gsm_map_ms_PDP_ContextInfoList = -1;
2142 static gint ett_gsm_map_ms_PDP_ContextInfo = -1;
2143 static gint ett_gsm_map_ms_AnyTimeInterrogationArg = -1;
2144 static gint ett_gsm_map_ms_AnyTimeInterrogationRes = -1;
2145 static gint ett_gsm_map_ms_AnyTimeSubscriptionInterrogationArg = -1;
2146 static gint ett_gsm_map_ms_AnyTimeSubscriptionInterrogationRes = -1;
2147 static gint ett_gsm_map_ms_CallWaitingData = -1;
2148 static gint ett_gsm_map_ms_Ext_CwFeatureList = -1;
2149 static gint ett_gsm_map_ms_Ext_CwFeature = -1;
2150 static gint ett_gsm_map_ms_ClipData = -1;
2151 static gint ett_gsm_map_ms_ClirData = -1;
2152 static gint ett_gsm_map_ms_CallHoldData = -1;
2153 static gint ett_gsm_map_ms_EctData = -1;
2154 static gint ett_gsm_map_ms_RequestedSubscriptionInfo = -1;
2155 static gint ett_gsm_map_ms_MSISDN_BS_List = -1;
2156 static gint ett_gsm_map_ms_MSISDN_BS = -1;
2157 static gint ett_gsm_map_ms_CallForwardingData = -1;
2158 static gint ett_gsm_map_ms_CallBarringData = -1;
2159 static gint ett_gsm_map_ms_ODB_Info = -1;
2160 static gint ett_gsm_map_ms_CAMEL_SubscriptionInfo = -1;
2161 static gint ett_gsm_map_ms_AnyTimeModificationArg = -1;
2162 static gint ett_gsm_map_ms_ModificationRequestFor_CW_Info = -1;
2163 static gint ett_gsm_map_ms_ModificationRequestFor_CH_Info = -1;
2164 static gint ett_gsm_map_ms_ModificationRequestFor_ECT_Info = -1;
2165 static gint ett_gsm_map_ms_ModificationRequestFor_CLIR_Info = -1;
2166 static gint ett_gsm_map_ms_ModificationRequestFor_CLIP_Info = -1;
2167 static gint ett_gsm_map_ms_ModificationRequestFor_CSG = -1;
2168 static gint ett_gsm_map_ms_RequestedServingNode = -1;
2169 static gint ett_gsm_map_ms_ServingNode = -1;
2170 static gint ett_gsm_map_ms_AnyTimeModificationRes = -1;
2171 static gint ett_gsm_map_ms_ModificationRequestFor_CF_Info = -1;
2172 static gint ett_gsm_map_ms_ModificationRequestFor_CB_Info = -1;
2173 static gint ett_gsm_map_ms_ModificationRequestFor_ODB_data = -1;
2174 static gint ett_gsm_map_ms_ModificationRequestFor_CSI = -1;
2175 static gint ett_gsm_map_ms_ModificationRequestFor_IP_SM_GW_Data = -1;
2176 static gint ett_gsm_map_ms_NoteSubscriberDataModifiedArg = -1;
2177 static gint ett_gsm_map_ms_NoteSubscriberDataModifiedRes = -1;
2178 static gint ett_gsm_map_ms_NoteMM_EventArg = -1;
2179 static gint ett_gsm_map_ms_NoteMM_EventRes = -1;
2180 static gint ett_gsm_map_ms_Ext_SS_InfoFor_CSE = -1;
2181 static gint ett_gsm_map_ms_Ext_ForwardingInfoFor_CSE = -1;
2182 static gint ett_gsm_map_ms_Ext_CallBarringInfoFor_CSE = -1;
2183 static gint ett_gsm_map_ms_UpdateVcsgLocationArg = -1;
2184 static gint ett_gsm_map_ms_UpdateVcsgLocationRes = -1;
2185 static gint ett_gsm_map_ms_CancelVcsgLocationArg = -1;
2186 static gint ett_gsm_map_ms_CancelVcsgLocationRes = -1;
2187
2188 /* --- Module MAP-CH-DataTypes --- --- ---                                    */
2189
2190 static gint ett_gsm_map_ch_CUG_CheckInfo = -1;
2191 static gint ett_gsm_map_ch_SendRoutingInfoArg = -1;
2192 static gint ett_gsm_map_ch_SuppressMTSS = -1;
2193 static gint ett_gsm_map_ch_SendRoutingInfoRes_U = -1;
2194 static gint ett_gsm_map_ch_AllowedServices = -1;
2195 static gint ett_gsm_map_ch_CCBS_Indicators = -1;
2196 static gint ett_gsm_map_ch_RoutingInfo = -1;
2197 static gint ett_gsm_map_ch_ForwardingData = -1;
2198 static gint ett_gsm_map_ch_ProvideRoamingNumberArg = -1;
2199 static gint ett_gsm_map_ch_ProvideRoamingNumberRes = -1;
2200 static gint ett_gsm_map_ch_ResumeCallHandlingArg = -1;
2201 static gint ett_gsm_map_ch_UU_Data = -1;
2202 static gint ett_gsm_map_ch_ResumeCallHandlingRes = -1;
2203 static gint ett_gsm_map_ch_CamelInfo = -1;
2204 static gint ett_gsm_map_ch_ExtendedRoutingInfo = -1;
2205 static gint ett_gsm_map_ch_CamelRoutingInfo = -1;
2206 static gint ett_gsm_map_ch_GmscCamelSubscriptionInfo = -1;
2207 static gint ett_gsm_map_ch_SetReportingStateArg = -1;
2208 static gint ett_gsm_map_ch_SetReportingStateRes = -1;
2209 static gint ett_gsm_map_ch_StatusReportArg = -1;
2210 static gint ett_gsm_map_ch_EventReportData = -1;
2211 static gint ett_gsm_map_ch_CallReportData = -1;
2212 static gint ett_gsm_map_ch_StatusReportRes = -1;
2213 static gint ett_gsm_map_ch_RemoteUserFreeArg = -1;
2214 static gint ett_gsm_map_ch_RemoteUserFreeRes = -1;
2215 static gint ett_gsm_map_ch_IST_AlertArg = -1;
2216 static gint ett_gsm_map_ch_IST_AlertRes = -1;
2217 static gint ett_gsm_map_ch_IST_CommandArg = -1;
2218 static gint ett_gsm_map_ch_IST_CommandRes = -1;
2219 static gint ett_gsm_map_ch_ReleaseResourcesArg = -1;
2220 static gint ett_gsm_map_ch_ReleaseResourcesRes = -1;
2221
2222 /* --- Module MAP-LCS-DataTypes --- --- ---                                   */
2223
2224 static gint ett_gsm_map_lcs_RoutingInfoForLCS_Arg = -1;
2225 static gint ett_gsm_map_lcs_RoutingInfoForLCS_Res = -1;
2226 static gint ett_gsm_map_lcs_LCSLocationInfo = -1;
2227 static gint ett_gsm_map_lcs_ProvideSubscriberLocation_Arg = -1;
2228 static gint ett_gsm_map_lcs_LocationType = -1;
2229 static gint ett_gsm_map_lcs_DeferredLocationEventType = -1;
2230 static gint ett_gsm_map_lcs_LCS_ClientID = -1;
2231 static gint ett_gsm_map_lcs_LCSClientName = -1;
2232 static gint ett_gsm_map_lcs_LCSRequestorID = -1;
2233 static gint ett_gsm_map_lcs_LCS_QoS = -1;
2234 static gint ett_gsm_map_lcs_ResponseTime = -1;
2235 static gint ett_gsm_map_lcs_SupportedGADShapes = -1;
2236 static gint ett_gsm_map_lcs_LCSCodeword = -1;
2237 static gint ett_gsm_map_lcs_LCS_PrivacyCheck = -1;
2238 static gint ett_gsm_map_lcs_AreaEventInfo = -1;
2239 static gint ett_gsm_map_lcs_AreaDefinition = -1;
2240 static gint ett_gsm_map_lcs_AreaList = -1;
2241 static gint ett_gsm_map_lcs_Area = -1;
2242 static gint ett_gsm_map_lcs_PeriodicLDRInfo = -1;
2243 static gint ett_gsm_map_lcs_ReportingPLMNList = -1;
2244 static gint ett_gsm_map_lcs_PLMNList = -1;
2245 static gint ett_gsm_map_lcs_ReportingPLMN = -1;
2246 static gint ett_gsm_map_lcs_ProvideSubscriberLocation_Res = -1;
2247 static gint ett_gsm_map_lcs_SubscriberLocationReport_Arg = -1;
2248 static gint ett_gsm_map_lcs_Deferredmt_lrData = -1;
2249 static gint ett_gsm_map_lcs_ServingNodeAddress = -1;
2250 static gint ett_gsm_map_lcs_SubscriberLocationReport_Res = -1;
2251
2252 /* --- Module MAP-GR-DataTypes --- --- ---                                    */
2253
2254 static gint ett_gsm_map_gr_PrepareGroupCallArg = -1;
2255 static gint ett_gsm_map_gr_PrepareGroupCallRes = -1;
2256 static gint ett_gsm_map_gr_SendGroupCallEndSignalArg = -1;
2257 static gint ett_gsm_map_gr_SendGroupCallEndSignalRes = -1;
2258 static gint ett_gsm_map_gr_ForwardGroupCallSignallingArg = -1;
2259 static gint ett_gsm_map_gr_ProcessGroupCallSignallingArg = -1;
2260 static gint ett_gsm_map_gr_StateAttributes = -1;
2261 static gint ett_gsm_map_gr_SendGroupCallInfoArg = -1;
2262 static gint ett_gsm_map_gr_SendGroupCallInfoRes = -1;
2263
2264 /* --- Module MAP-DialogueInformation --- --- ---                             */
2265
2266 static gint ett_gsm_map_dialogue_MAP_DialoguePDU = -1;
2267 static gint ett_gsm_map_dialogue_MAP_OpenInfo = -1;
2268 static gint ett_gsm_map_dialogue_MAP_AcceptInfo = -1;
2269 static gint ett_gsm_map_dialogue_MAP_CloseInfo = -1;
2270 static gint ett_gsm_map_dialogue_MAP_RefuseInfo = -1;
2271 static gint ett_gsm_map_dialogue_MAP_UserAbortInfo = -1;
2272 static gint ett_gsm_map_dialogue_MAP_UserAbortChoice = -1;
2273 static gint ett_gsm_map_dialogue_MAP_ProviderAbortInfo = -1;
2274
2275 /* --- Module MAP-LocationServiceOperations --- --- ---                       */
2276
2277
2278 /* --- Module MAP-Group-Call-Operations --- --- ---                           */
2279
2280
2281 /* --- Module MAP-ShortMessageServiceOperations --- --- ---                   */
2282
2283
2284 /* --- Module MAP-SupplementaryServiceOperations --- --- ---                  */
2285
2286
2287 /* --- Module MAP-CallHandlingOperations --- --- ---                          */
2288
2289
2290 /* --- Module MAP-OperationAndMaintenanceOperations --- --- ---               */
2291
2292
2293 /* --- Module MAP-MobileServiceOperations --- --- ---                         */
2294
2295
2296 /* --- Module MAP-Errors --- --- ---                                          */
2297
2298
2299 /* --- Module MAP-Protocol --- --- ---                                        */
2300
2301
2302 /* --- Module DummyMAP --- --- ---                                            */
2303
2304 static gint ett_gsm_old_Component = -1;
2305 static gint ett_gsm_old_Invoke = -1;
2306 static gint ett_gsm_old_ReturnResult = -1;
2307 static gint ett_gsm_old_T_resultretres = -1;
2308 static gint ett_gsm_old_ReturnError = -1;
2309 static gint ett_gsm_old_Reject = -1;
2310 static gint ett_gsm_old_T_invokeIDRej = -1;
2311 static gint ett_gsm_old_T_problem = -1;
2312 static gint ett_gsm_old_MAP_OPERATION = -1;
2313 static gint ett_gsm_old_MAP_ERROR = -1;
2314 static gint ett_gsm_old_Bss_APDU = -1;
2315 static gint ett_gsm_old_ProvideSIWFSNumberArg = -1;
2316 static gint ett_gsm_old_ProvideSIWFSNumberRes = -1;
2317 static gint ett_gsm_old_PurgeMSArgV2 = -1;
2318 static gint ett_gsm_old_PrepareHO_ArgOld = -1;
2319 static gint ett_gsm_old_PrepareHO_ResOld = -1;
2320 static gint ett_gsm_old_SendAuthenticationInfoResOld = -1;
2321 static gint ett_gsm_old_SendAuthenticationInfoResOld_item = -1;
2322 static gint ett_gsm_old_SendIdentificationResV2 = -1;
2323 static gint ett_gsm_old_TripletListold = -1;
2324 static gint ett_gsm_old_AuthenticationTriplet_v2 = -1;
2325 static gint ett_gsm_old_SIWFSSignallingModifyArg = -1;
2326 static gint ett_gsm_old_SIWFSSignallingModifyRes = -1;
2327 static gint ett_gsm_old_SecureTransportArg = -1;
2328 static gint ett_gsm_old_SecureTransportErrorParam = -1;
2329 static gint ett_gsm_old_SecureTransportRes = -1;
2330 static gint ett_gsm_old_SecurityHeader = -1;
2331 static gint ett_gsm_old_OriginalComponentIdentifier = -1;
2332 static gint ett_gsm_old_OperationCode = -1;
2333 static gint ett_gsm_old_ErrorCode = -1;
2334 static gint ett_gsm_old_PlmnContainer_U = -1;
2335 static gint ett_gsm_old_T_operatorSS_Code = -1;
2336 static gint ett_gsm_old_ForwardSM_Arg = -1;
2337 static gint ett_gsm_old_SM_RP_DAold = -1;
2338 static gint ett_gsm_old_SM_RP_OAold = -1;
2339 static gint ett_gsm_old_SendRoutingInfoArgV2 = -1;
2340 static gint ett_gsm_old_SendRoutingInfoResV2 = -1;
2341 static gint ett_gsm_old_BeginSubscriberActivityArg = -1;
2342
2343 /* --- Module SS-DataTypes --- --- ---                                        */
2344
2345 static gint ett_gsm_ss_NotifySS_Arg = -1;
2346 static gint ett_gsm_ss_ForwardChargeAdviceArg = -1;
2347 static gint ett_gsm_ss_ChargingInformation = -1;
2348 static gint ett_gsm_ss_ForwardCUG_InfoArg = -1;
2349 static gint ett_gsm_ss_ECT_Indicator = -1;
2350 static gint ett_gsm_ss_NameIndicator = -1;
2351 static gint ett_gsm_ss_Name = -1;
2352 static gint ett_gsm_ss_NameSet = -1;
2353 static gint ett_gsm_ss_RDN = -1;
2354 static gint ett_gsm_ss_RemotePartyNumber = -1;
2355 static gint ett_gsm_ss_AccessRegisterCCEntryArg = -1;
2356 static gint ett_gsm_ss_CallDeflectionArg = -1;
2357 static gint ett_gsm_ss_UserUserServiceArg = -1;
2358 static gint ett_gsm_ss_LocationNotificationArg = -1;
2359 static gint ett_gsm_ss_LocationNotificationRes = -1;
2360 static gint ett_gsm_ss_LCS_MOLRArg = -1;
2361 static gint ett_gsm_ss_MultiplePositioningProtocolPDUs = -1;
2362 static gint ett_gsm_ss_LCS_MOLRRes = -1;
2363 static gint ett_gsm_ss_LCS_AreaEventRequestArg = -1;
2364 static gint ett_gsm_ss_LCS_AreaEventReportArg = -1;
2365 static gint ett_gsm_ss_LCS_AreaEventCancellationArg = -1;
2366 static gint ett_gsm_ss_LCS_PeriodicLocationRequestArg = -1;
2367 static gint ett_gsm_ss_LCS_PeriodicLocationRequestRes = -1;
2368 static gint ett_gsm_ss_LCS_LocationUpdateArg = -1;
2369 static gint ett_gsm_ss_LCS_LocationUpdateRes = -1;
2370 static gint ett_gsm_ss_LCS_PeriodicLocationCancellationArg = -1;
2371
2372 /* --- Module SS-Operations --- --- ---                                       */
2373
2374
2375 /* --- Module EricssonMAP --- --- ---                                         */
2376
2377 static gint ett_gsm_map_ericsson_EnhancedCheckIMEI_Arg = -1;
2378
2379 /*--- End of included file: packet-gsm_map-ett.c ---*/
2380 #line 185 "../../asn1/gsm_map/packet-gsm_map-template.c"
2381
2382 static expert_field ei_gsm_map_unknown_sequence3 = EI_INIT;
2383 static expert_field ei_gsm_map_unknown_sequence = EI_INIT;
2384 static expert_field ei_gsm_map_unknown_parameter = EI_INIT;
2385 static expert_field ei_gsm_map_unknown_invokeData = EI_INIT;
2386
2387 static dissector_table_t        sms_dissector_table;    /* SMS TPDU */
2388 static dissector_handle_t       data_handle;
2389 static dissector_handle_t       ranap_handle;
2390 static dissector_handle_t       dtap_handle;
2391 static dissector_handle_t       map_handle;
2392 static dissector_table_t        map_prop_arg_opcode_table; /* prorietary operation codes */
2393 static dissector_table_t        map_prop_res_opcode_table; /* prorietary operation codes */
2394 static dissector_table_t        map_prop_err_opcode_table; /* prorietary operation codes */
2395 /* Preferenc settings default */
2396 #define MAX_SSN 254
2397 static range_t *global_ssn_range;
2398 #define APPLICATON_CONTEXT_FROM_TRACE 0
2399 static gint pref_application_context_version = APPLICATON_CONTEXT_FROM_TRACE;
2400 static gboolean pref_ericsson_proprietary_ext = FALSE;
2401
2402 /* Global variables */
2403 static guint32 opcode=0;
2404 static guint32 errorCode;
2405 static proto_tree *top_tree;
2406 static int application_context_version;
2407 static guint ProtocolId;
2408 static guint AccessNetworkProtocolId;
2409 static const char *obj_id = NULL;
2410 static int gsm_map_tap = -1;
2411
2412 #define SMS_ENCODING_NOT_SET    0
2413 #define SMS_ENCODING_7BIT               1
2414 #define SMS_ENCODING_8BIT               2
2415 #define SMS_ENCODING_UCS2               3
2416 #define SMS_ENCODING_7BIT_LANG  4
2417 #define SMS_ENCODING_UCS2_LANG  5
2418
2419 static guint8 sms_encoding;
2420
2421 /* Forward declarations */
2422 static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx);
2423 static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx);
2424 static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx);
2425 const gchar* gsm_map_opr_code(guint32 val);
2426
2427 /* Value strings */
2428
2429 const value_string gsm_map_PDP_Type_Organisation_vals[] = {
2430   {  0, "ETSI" },
2431   {  1, "IETF" },
2432   { 0, NULL }
2433 };
2434
2435 const value_string gsm_map_ietf_defined_pdp_vals[] = {
2436   {  0x21, "IPv4 Address" },
2437   {  0x57, "IPv6 Address" },
2438   { 0, NULL }
2439 };
2440
2441 const value_string gsm_map_etsi_defined_pdp_vals[] = {
2442   {  1, "PPP" },
2443   { 0, NULL }
2444 };
2445
2446 static const value_string gsm_map_tag_vals[] = {
2447   {  0x4, "Bearer Capability" },
2448   { 0, NULL }
2449 };
2450
2451 static const value_string gsm_map_disc_par_vals[] = {
2452   {  0, "Not Transparent" },
2453   {  1, "Transparent" },
2454   { 0, NULL }
2455 };
2456
2457 static const value_string gsm_map_ericsson_locationInformation_rat_vals[] = {
2458   { 0x0, "GSM" },
2459   { 0x1, "UMTS" },
2460   { 0x2, "LTE" },
2461   { 0xf, "No information" },
2462   { 0, NULL }
2463 };
2464
2465 /* ITU-T Q.763 (12/1999)
2466  * 3.30 Location number
2467  */
2468 /* b) Nature of address indicator */
2469 static const range_string gsm_map_na_vals[] = {
2470     { 0, 0, "spare" },
2471     { 1, 1, "reserved for subscriber number (national use)" },
2472     { 2, 2, "reserved for unknown (national use)" },
2473     { 3, 3, "national (significant) number (national use)" },
2474     { 4, 4, "international number" },
2475     { 5, 0x6f, "spare" },
2476     { 0x70, 0x7e, "spare" },
2477     { 0x70, 0x7e, "reserved for national use" },
2478     { 0x7f, 0x7f, "spare" },
2479     { 0,           0,          NULL                   }
2480 };
2481
2482 /* d) Numbering plan indicator */
2483 static const value_string gsm_map_np_vals[] = {
2484   {  0, "spare" },
2485   {  1, "ISDN (telephony) numbering plan (ITU-T Recommendation E.164)" },
2486   {  2, "spare" },
2487   {  3, "Data numbering plan (ITU-T Recommendation X.121) (national use)" },
2488   {  4, "Telex numbering plan (ITU-T Recommendation F.69) (national use)" },
2489   {  5, "private numbering plan" },
2490   {  6, "reserved for national use" },
2491   {  7, "spare" },
2492   { 0, NULL }
2493 };
2494 /*
2495  * e) Address presentation restricted indicator
2496  */
2497 static const value_string gsm_map_addr_pres_rest_vals[] = {
2498   {  0, "presentation allowed" },
2499   {  1, "presentation restricted" },
2500   {  2, "address not available (national use)" },
2501   {  3, "spare" },
2502   { 0, NULL }
2503 };
2504
2505 /* f) Screening indicator */
2506 static const value_string gsm_map_screening_ind_vals[] = {
2507   {  0, "reserved" },
2508   {  1, "user provided, verified and passed" },
2509   {  2, "reserved" },
2510   {  3, "network provided" },
2511   { 0, NULL }
2512 };
2513
2514 const char *
2515 unpack_digits(tvbuff_t *tvb, int offset) {
2516
2517         int length;
2518         guint8 octet;
2519         int i=0;
2520         char *digit_str;
2521
2522         length = tvb_length(tvb);
2523         if (length < offset)
2524                 return "";
2525         digit_str = (char *)ep_alloc((length - offset)*2+1);
2526
2527         while ( offset < length ){
2528
2529                 octet = tvb_get_guint8(tvb,offset);
2530                 digit_str[i] = ((octet & 0x0f) + '0');
2531                 i++;
2532
2533                 /*
2534                  * unpack second value in byte
2535                  */
2536                 octet = octet >> 4;
2537
2538                 if (octet == 0x0f)      /* odd number bytes - hit filler */
2539                         break;
2540
2541                 digit_str[i] = ((octet & 0x0f) + '0');
2542                 i++;
2543                 offset++;
2544
2545         }
2546         digit_str[i]= '\0';
2547         return digit_str;
2548 }
2549
2550 /* returns value in kb/s */
2551 static guint
2552 gsm_map_calc_bitrate(guint8 value){
2553
2554         guint8 granularity;
2555         guint returnvalue;
2556
2557         if (value == 0xff)
2558                 return 0;
2559
2560         granularity = value >> 6;
2561         returnvalue = value & 0x7f;
2562         switch (granularity){
2563         case 0:
2564                 break;
2565         case 1:
2566                 returnvalue = ((returnvalue - 0x40) << 3)+64;
2567                 break;
2568         case 2:
2569                 returnvalue = (returnvalue << 6)+576;
2570                 break;
2571         case 3:
2572                 returnvalue = (returnvalue << 6)+576;
2573                 break;
2574         }
2575         return returnvalue;
2576
2577 }
2578
2579 static void
2580 dissect_gsm_map_ext_qos_subscribed(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx){
2581         int offset = 0;
2582     proto_tree *subtree;
2583         guint8 octet;
2584         guint16 value;
2585
2586         subtree = proto_item_add_subtree(actx->created_item, ett_gsm_map_ext_qos_subscribed);
2587         /*  OCTET 1:
2588                 Allocation/Retention Priority (This octet encodes each priority level defined in
2589                 23.107 as the binary value of the priority level, declaration in 29.060)
2590                 Octets 2-9 are coded according to 3GPP TS 24.008[35] Quality of Service Octets
2591                 6-13.
2592          */
2593         /* Allocation/Retention Priority */
2594         proto_tree_add_item(subtree, hf_gsm_map_ext_qos_subscribed_pri, tvb, offset, 1, ENC_BIG_ENDIAN);
2595         offset++;
2596
2597         /* Quality of Service Octets 6-13.( Octet 2 - 9 Here) */
2598
2599         /* Traffic class, octet 6 (see 3GPP TS 23.107) Bits 8 7 6 */
2600         proto_tree_add_item(subtree, hf_gsm_map_qos_traffic_cls, tvb, offset, 1, ENC_BIG_ENDIAN);
2601         /* Delivery order, octet 6 (see 3GPP TS 23.107) Bits 5 4 */
2602         proto_tree_add_item(subtree, hf_gsm_map_qos_del_order, tvb, offset, 1, ENC_BIG_ENDIAN);
2603         /* Delivery of erroneous SDUs, octet 6 (see 3GPP TS 23.107) Bits 3 2 1 */
2604         proto_tree_add_item(subtree, hf_gsm_map_qos_del_of_err_sdu, tvb, offset, 1, ENC_BIG_ENDIAN);
2605         offset++;
2606
2607         /* Maximum SDU size, octet 7 (see 3GPP TS 23.107) */
2608         octet = tvb_get_guint8(tvb,offset);
2609         switch (octet){
2610         case 0:
2611                 proto_tree_add_text(subtree, tvb, offset, 1, "Subscribed Maximum SDU size/Reserved");
2612                 break;
2613         case 0x93:
2614                 value = 1502;
2615                 proto_tree_add_uint(subtree, hf_gsm_map_qos_max_sdu, tvb, offset, 1, value);
2616                 break;
2617         case 0x98:
2618                 value = 1510;
2619                 proto_tree_add_uint(subtree, hf_gsm_map_qos_max_sdu, tvb, offset, 1, value);
2620                 break;
2621         case 0x99:
2622                 value = 1532;
2623                 proto_tree_add_uint(subtree, hf_gsm_map_qos_max_sdu, tvb, offset, 1, value);
2624                 break;
2625         default:
2626                 if (octet<0x97){
2627                         value = octet * 10;
2628                         proto_tree_add_uint(subtree, hf_gsm_map_qos_max_sdu, tvb, offset, 1, value);
2629                 }else{
2630                         proto_tree_add_text(subtree, tvb, offset, 1, "Maximum SDU size value 0x%x not defined in TS 24.008",octet);
2631                 }
2632         }
2633         offset++;
2634
2635         /* Maximum bit rate for uplink, octet 8 */
2636         octet = tvb_get_guint8(tvb,offset);
2637         if (octet == 0 ){
2638                 proto_tree_add_text(subtree, tvb, offset, 1, "Subscribed Maximum bit rate for uplink/Reserved"  );
2639         }else{
2640                 proto_tree_add_uint(subtree, hf_gsm_map_max_brate_ulink, tvb, offset, 1, gsm_map_calc_bitrate(octet));
2641         }
2642         offset++;
2643         /* Maximum bit rate for downlink, octet 9 (see 3GPP TS 23.107) */
2644         octet = tvb_get_guint8(tvb,offset);
2645         if (octet == 0 ){
2646                 proto_tree_add_text(subtree, tvb, offset, 1, "Subscribed Maximum bit rate for downlink/Reserved"  );
2647         }else{
2648                 proto_tree_add_uint(subtree, hf_gsm_map_max_brate_dlink, tvb, offset, 1, gsm_map_calc_bitrate(octet));
2649         }
2650         offset++;
2651         /* Residual Bit Error Rate (BER), octet 10 (see 3GPP TS 23.107) Bits 8 7 6 5 */
2652         proto_tree_add_item(subtree, hf_gsm_map_qos_ber, tvb, offset, 1, ENC_BIG_ENDIAN);
2653         /* SDU error ratio, octet 10 (see 3GPP TS 23.107) */
2654         proto_tree_add_item(subtree, hf_gsm_map_qos_sdu_err_rat, tvb, offset, 1, ENC_BIG_ENDIAN);
2655         offset++;
2656
2657         /* Transfer delay, octet 11 (See 3GPP TS 23.107) Bits 8 7 6 5 4 3 */
2658         proto_tree_add_item(subtree, hf_gsm_map_qos_transfer_delay, tvb, offset, 1, ENC_BIG_ENDIAN);
2659         /* Traffic handling priority, octet 11 (see 3GPP TS 23.107) Bits 2 1 */
2660         proto_tree_add_item(subtree, hf_gsm_map_qos_traff_hdl_pri, tvb, offset, 1, ENC_BIG_ENDIAN);
2661         offset++;
2662
2663         /*      Guaranteed bit rate for uplink, octet 12 (See 3GPP TS 23.107)
2664                 Coding is identical to that of Maximum bit rate for uplink.
2665          */
2666         octet = tvb_get_guint8(tvb,offset);
2667         if (octet == 0 ){
2668                 proto_tree_add_text(subtree, tvb, offset, 1, "Subscribed Guaranteed bit rate for uplink/Reserved"  );
2669         }else{
2670                 proto_tree_add_uint(subtree, hf_gsm_map_guaranteed_max_brate_ulink, tvb, offset, 1, gsm_map_calc_bitrate(octet));
2671         }
2672         offset++;
2673
2674         /*      Guaranteed bit rate for downlink, octet 13(See 3GPP TS 23.107)
2675                 Coding is identical to that of Maximum bit rate for uplink.
2676          */
2677         octet = tvb_get_guint8(tvb,offset);
2678         if (octet == 0 ){
2679                 proto_tree_add_text(subtree, tvb, offset, 1, "Subscribed Guaranteed bit rate for downlink/Reserved"  );
2680         }else{
2681                 proto_tree_add_uint(subtree, hf_gsm_map_guaranteed_max_brate_dlink, tvb, offset, 1, gsm_map_calc_bitrate(octet));
2682         }
2683
2684 }
2685
2686 #define  ELLIPSOID_POINT 0
2687 #define  ELLIPSOID_POINT_WITH_UNCERT_CIRC 1
2688 #define  ELLIPSOID_POINT_WITH_UNCERT_ELLIPSE 3
2689 #define  POLYGON 5
2690 #define  ELLIPSOID_POINT_WITH_ALT 8
2691 #define  ELLIPSOID_POINT_WITH_ALT_AND_UNCERT_ELLIPSOID 9
2692 #define  ELLIPSOID_ARC 10
2693 /*
2694 4 3 2 1
2695 0 0 0 0 Ellipsoid Point
2696 0 0 0 1 Ellipsoid point with uncertainty Circle
2697 0 0 1 1 Ellipsoid point with uncertainty Ellipse
2698 0 1 0 1 Polygon
2699 1 0 0 0 Ellipsoid point with altitude
2700 1 0 0 1 Ellipsoid point with altitude and uncertainty Ellipsoid
2701 1 0 1 0 Ellipsoid Arc
2702 other values reserved for future use
2703 */
2704
2705 /* TS 23 032 Table 2a: Coding of Type of Shape */
2706 static const value_string type_of_shape_vals[] = {
2707         { ELLIPSOID_POINT,                                                                      "Ellipsoid Point"},
2708         { ELLIPSOID_POINT_WITH_UNCERT_CIRC,                                     "Ellipsoid point with uncertainty Circle"},
2709         { ELLIPSOID_POINT_WITH_UNCERT_ELLIPSE,                          "Ellipsoid point with uncertainty Ellipse"},
2710         { POLYGON,                                                                                      "Polygon"},
2711         { ELLIPSOID_POINT_WITH_ALT,                                                     "Ellipsoid point with altitude"},
2712         { ELLIPSOID_POINT_WITH_ALT_AND_UNCERT_ELLIPSOID,        "Ellipsoid point with altitude and uncertainty Ellipsoid"},
2713         { ELLIPSOID_ARC,                                                                        "Ellipsoid Arc"},
2714         { 0,    NULL }
2715 };
2716
2717 /* 3GPP TS 23.032 7.3.1 */
2718 static const value_string sign_of_latitude_vals[] = {
2719         { 0,            "North"},
2720         { 1,            "South"},
2721         { 0,    NULL }
2722 };
2723
2724 static const value_string dir_of_alt_vals[] = {
2725         { 0,            "Altitude expresses height"},
2726         { 1,            "Altitude expresses depth"},
2727         { 0,    NULL }
2728 };
2729
2730 static const value_string gsm_map_cbs_data_coding_scheme_coding_grp_vals[] = {
2731         { 0, "Coding Group 0(Language using the GSM 7 bit default alphabet)" },
2732         { 1, "Coding Group 1" },
2733         { 2, "Coding Group 2" },
2734         { 3, "Coding Group 3" },
2735         { 4, "General Data Coding indication" },
2736         { 5, "General Data Coding indication" },
2737         { 6, "General Data Coding indication" },
2738         { 7, "General Data Coding indication" },
2739         { 8, "Reserved" },
2740         { 9, "Message with User Data Header (UDH) structure" },
2741         { 10,"Reserved" },
2742         { 11,"Reserved" },
2743         { 12,"Reserved" },
2744         { 13,"Reserved" },
2745         { 14,"Defined by the WAP Forum" },
2746         { 15,"Data coding / message handling" },
2747         { 0, NULL}
2748 };
2749 static value_string_ext gsm_map_cbs_data_coding_scheme_coding_grp_vals_ext = VALUE_STRING_EXT_INIT(gsm_map_cbs_data_coding_scheme_coding_grp_vals);
2750
2751 /* Coding group 0
2752  * Bits 3..0 indicate the language:
2753  */
2754 static const value_string gsm_map_cbs_coding_grp0_lang_vals[] = {
2755         { 0, "German"},
2756         { 1, "English"},
2757         { 2, "Italian"},
2758         { 3, "French"},
2759         { 4, "Spanish"},
2760         { 5, "Dutch"},
2761         { 6, "Swedish"},
2762         { 7, "Danish"},
2763         { 8, "Portuguese"},
2764         { 9, "Finnish"},
2765         { 10, "Norwegian"},
2766         { 11, "Greek"},
2767         { 12, "Turkish"},
2768         { 13, "Hungarian"},
2769         { 14, "Polish"},
2770         { 15, "Language unspecified"},
2771         { 0,    NULL }
2772 };
2773 static value_string_ext gsm_map_cbs_coding_grp0_lang_vals_ext = VALUE_STRING_EXT_INIT(gsm_map_cbs_coding_grp0_lang_vals);
2774
2775 static const value_string gsm_map_cbs_coding_grp1_lang_vals[] = {
2776         { 0, "GSM 7 bit default alphabet; message preceded by language indication"},
2777         { 1, "UCS2; message preceded by language indication"},
2778         { 2, "Reserved"},
2779         { 3, "Reserved"},
2780         { 4, "Reserved"},
2781         { 5, "Reserved"},
2782         { 6, "Reserved"},
2783         { 7, "Reserved"},
2784         { 8, "Reserved"},
2785         { 9, "Reserved"},
2786         { 10, "Reserved"},
2787         { 11, "Reserved"},
2788         { 12, "Reserved"},
2789         { 13, "Reserved"},
2790         { 14, "Reserved"},
2791         { 15, "Reserved"},
2792         { 0,    NULL }
2793 };
2794 static value_string_ext gsm_map_cbs_coding_grp1_lang_vals_ext = VALUE_STRING_EXT_INIT(gsm_map_cbs_coding_grp1_lang_vals);
2795
2796 static const value_string gsm_map_cbs_coding_grp2_lang_vals[] = {
2797         { 0, "Czech"},
2798         { 1, "Hebrew"},
2799         { 2, "Arabic"},
2800         { 3, "Russian"},
2801         { 4, "Icelandic"},
2802         { 5, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2803         { 6, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2804         { 7, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2805         { 8, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2806         { 9, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2807         { 10, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2808         { 11, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2809         { 12, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2810         { 13, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2811         { 14, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2812         { 15, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2813         { 0,    NULL }
2814 };
2815 static value_string_ext gsm_map_cbs_coding_grp2_lang_vals_ext = VALUE_STRING_EXT_INIT(gsm_map_cbs_coding_grp2_lang_vals);
2816
2817 static const value_string gsm_map_cbs_coding_grp3_lang_vals[] = {
2818         { 0, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2819         { 1, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2820         { 2, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2821         { 3, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2822         { 4, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2823         { 5, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2824         { 6, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2825         { 7, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2826         { 8, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2827         { 9, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2828         { 10, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2829         { 11, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2830         { 12, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2831         { 13, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2832         { 14, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2833         { 15, "Reserved for other languages using the GSM 7 bit default alphabet, with unspecified handling at the MS"},
2834         { 0,    NULL }
2835 };
2836 static value_string_ext gsm_map_cbs_coding_grp3_lang_vals_ext = VALUE_STRING_EXT_INIT(gsm_map_cbs_coding_grp3_lang_vals);
2837
2838 static const true_false_string gsm_map_cbs_coding_grp4_7_comp_vals = {
2839   "The text is compressed using the compression algorithm defined in 3GPP TS 23.042",
2840   "The text is uncompressed"
2841 };
2842
2843 static const true_false_string gsm_map_cbs_coding_grp4_7_class_ind_vals = {
2844   "Bits 1 to 0 have a message class meaning",
2845   "Bits 1 to 0 are reserved and have no message class meaning"
2846 };
2847
2848 /* Bits 3 and 2 indicate the character set being used, as follows: */
2849
2850 static const value_string gsm_map_cbs_coding_grp4_7_char_set_vals[] = {
2851         { 0, "GSM 7 bit default alphabet"},
2852         { 1, "8 bit data"},
2853         { 2, "UCS2 (16 bit)"},
2854         { 3, "Reserved"},
2855         { 0,    NULL }
2856 };
2857
2858 static const value_string gsm_map_cbs_coding_grp4_7_class_vals[] = {
2859         { 0, "Class 0"},
2860         { 1, "Class 1 Default meaning: ME-specific"},
2861         { 2, "Class 2 (U)SIM specific message"},
2862         { 3, "Class 3 Default meaning: TE-specific (see 3GPP TS 27.005"},
2863         { 0,    NULL }
2864 };
2865
2866 static const value_string gsm_map_cbs_coding_grp15_mess_code_vals[] = {
2867         { 0, "GSM 7 bit default alphabet"},
2868         { 1, "8 bit data"},
2869         { 0,    NULL }
2870 };
2871
2872 static const value_string gsm_map_cbs_coding_grp15_class_vals[] = {
2873         { 0, "GSM 7 bit default alphabet"},
2874         { 1, "8 bit data"},
2875         { 0,    NULL }
2876 };
2877
2878
2879 /* 3GPP TS 23.038 version 7.0.0 Release 7 */
2880 guint8
2881 dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint16 offset)
2882 {
2883         guint8 octet;
2884         guint8 coding_grp;
2885         guint8 character_set;
2886
2887         octet = tvb_get_guint8(tvb,offset);
2888         coding_grp = octet >>4;
2889         proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp, tvb, offset, 1, ENC_BIG_ENDIAN);
2890
2891         sms_encoding = SMS_ENCODING_NOT_SET;
2892         switch (coding_grp){
2893         case 0:
2894                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp0_lang, tvb, offset, 1, ENC_BIG_ENDIAN);
2895                 sms_encoding = SMS_ENCODING_7BIT;
2896                 break;
2897         case 1:
2898                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp1_lang, tvb, offset, 1, ENC_BIG_ENDIAN);
2899                 if ((octet & 0x0f)== 0){
2900                         sms_encoding = SMS_ENCODING_7BIT_LANG;
2901                 }else{
2902                         sms_encoding = SMS_ENCODING_UCS2_LANG;
2903                 }
2904                 break;
2905         case 2:
2906                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp2_lang, tvb, offset, 1, ENC_BIG_ENDIAN);
2907                 sms_encoding = SMS_ENCODING_7BIT;
2908                 break;
2909         case 3:
2910                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp3_lang, tvb, offset, 1, ENC_BIG_ENDIAN);
2911                 sms_encoding = SMS_ENCODING_7BIT;
2912                 break;
2913                 /* Coding_grp 01xx */
2914         case 4:
2915                   /* FALLTHRU */
2916         case 5:
2917                   /* FALLTHRU */
2918         case 6:
2919                   /* FALLTHRU */
2920         case 7:
2921                   /* FALLTHRU */
2922                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp4_7_comp, tvb, offset, 1, ENC_BIG_ENDIAN);
2923                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp4_7_class_ind, tvb, offset, 1, ENC_BIG_ENDIAN);
2924                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp4_7_char_set, tvb, offset, 1, ENC_BIG_ENDIAN);
2925                 if ((octet & 0x10)== 0x10){
2926                         proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp4_7_class, tvb, offset, 1, ENC_BIG_ENDIAN);
2927                 }
2928                 /* Bits 3 and 2 indicate the character set being used, */
2929                 character_set = (octet&0x0c)>>2;
2930                 switch (character_set){
2931                 case 0:
2932                         /* GSM 7 bit default alphabet */
2933                         sms_encoding = SMS_ENCODING_7BIT;
2934                         break;
2935                 case 1:
2936                         /* 8 bit data */
2937                         sms_encoding = SMS_ENCODING_8BIT;
2938                         break;
2939                 case 2:
2940                         /* UCS2 (16 bit) */
2941                         sms_encoding = SMS_ENCODING_UCS2;
2942                         break;
2943                 case 3:
2944                         /* Reserved */
2945                         sms_encoding = SMS_ENCODING_NOT_SET;
2946                         break;
2947                 default:
2948                         break;
2949                 }
2950                 break;
2951         case 8:
2952                 /* Reserved coding groups */
2953                 break;
2954         case 9:
2955                 /* Message with User Data Header (UDH) structure:*/
2956                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp4_7_char_set, tvb, offset, 1, ENC_BIG_ENDIAN);
2957                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp4_7_class, tvb, offset, 1, ENC_BIG_ENDIAN);
2958                 character_set = (octet&0x0c)>>2;
2959                 switch (character_set){
2960                 case 0:
2961                         /* GSM 7 bit default alphabet */
2962                         sms_encoding = SMS_ENCODING_7BIT;
2963                         break;
2964                 case 1:
2965                         /* 8 bit data */
2966                         sms_encoding = SMS_ENCODING_8BIT;
2967                         break;
2968                 case 2:
2969                         /* UCS2 (16 bit) */
2970                         sms_encoding = SMS_ENCODING_UCS2;
2971                         break;
2972                 case 3:
2973                         /* Reserved */
2974                         sms_encoding = SMS_ENCODING_NOT_SET;
2975                         break;
2976                 default:
2977                         break;
2978                 }
2979                 break;
2980         case 10:
2981                 /* FALLTHRU */
2982         case 11:
2983                 /* FALLTHRU */
2984         case 12:
2985                 /* FALLTHRU */
2986         case 13:
2987                 /* FALLTHRU */
2988                 /* 1010..1101 Reserved coding groups */
2989                 break;
2990         case 14:
2991                 /* Defined by the WAP Forum
2992                  * "Wireless Datagram Protocol Specification", Wireless Application Protocol Forum Ltd.
2993                  */
2994                 break;
2995         case 15:
2996                 /* Data coding / message handling */
2997                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp15_mess_code, tvb, offset, 1, ENC_BIG_ENDIAN);
2998                 proto_tree_add_item(tree, hf_gsm_map_cbs_coding_grp15_class, tvb, offset, 1, ENC_BIG_ENDIAN);
2999                 character_set = (octet&0x04)>>2;
3000                 if (character_set == 0){
3001                         sms_encoding = SMS_ENCODING_7BIT;
3002                 }else{
3003                         sms_encoding = SMS_ENCODING_8BIT;
3004                 }
3005                 break;
3006         default:
3007                 break;
3008         }
3009
3010         return sms_encoding;
3011 }
3012 void
3013 dissect_gsm_map_msisdn(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
3014 {
3015  const char     *digit_str;
3016  guint8         octet;
3017  guint8         na;
3018  guint8         np;
3019
3020  proto_tree_add_item(tree, hf_gsm_map_extension, tvb, 0,1,ENC_BIG_ENDIAN);
3021  proto_tree_add_item(tree, hf_gsm_map_nature_of_number, tvb, 0,1,ENC_BIG_ENDIAN);
3022  proto_tree_add_item(tree, hf_gsm_map_number_plan, tvb, 0,1,ENC_BIG_ENDIAN);
3023
3024  if(tvb_length(tvb)==1)
3025          return;
3026
3027  digit_str = unpack_digits(tvb, 1);
3028
3029  proto_tree_add_string(tree, hf_gsm_map_address_digits, tvb, 1, -1, digit_str);
3030
3031  octet = tvb_get_guint8(tvb,0);
3032  na = (octet & 0x70)>>4;
3033  np = octet & 0x0f;
3034  if ((na == 1) && (np==1))/*International Number & E164*/
3035         dissect_e164_cc(tvb, tree, 1, TRUE);
3036  else if(np==6)
3037         dissect_e212_mcc_mnc_in_address(tvb, pinfo, tree, 1);
3038
3039 }
3040
3041
3042 /*--- Included file: packet-gsm_map-fn.c ---*/
3043 #line 1 "../../asn1/gsm_map/packet-gsm_map-fn.c"
3044
3045 /* --- Module MAP-SS-Code --- --- ---                                         */
3046
3047
3048
3049 int
3050 dissect_gsm_map_SS_Code(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3051   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3052                                        NULL);
3053
3054   return offset;
3055 }
3056
3057
3058 /* --- Module MAP-BS-Code --- --- ---                                         */
3059
3060
3061
3062 static int
3063 dissect_gsm_map_BearerServiceCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3064   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3065                                        NULL);
3066
3067   return offset;
3068 }
3069
3070
3071
3072 static int
3073 dissect_gsm_map_Ext_BearerServiceCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3074   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3075                                        NULL);
3076
3077   return offset;
3078 }
3079
3080
3081 /* --- Module MAP-TS-Code --- --- ---                                         */
3082
3083
3084
3085 static int
3086 dissect_gsm_map_TeleserviceCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3087   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3088                                        NULL);
3089
3090   return offset;
3091 }
3092
3093
3094
3095 static int
3096 dissect_gsm_map_Ext_TeleserviceCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3097   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3098                                        NULL);
3099
3100   return offset;
3101 }
3102
3103
3104 /* --- Module MAP-ExtensionDataTypes --- --- ---                              */
3105
3106
3107
3108 static int
3109 dissect_gsm_map_T_extId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3110   offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_index, &obj_id);
3111
3112   return offset;
3113 }
3114
3115
3116
3117 static int
3118 dissect_gsm_map_T_extType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3119 #line 202 "../../asn1/gsm_map/gsm_map.cnf"
3120   proto_tree_add_text(tree, tvb, offset, -1, "Extension Data");
3121   if (obj_id){
3122          offset=call_ber_oid_callback(obj_id, tvb, offset, actx->pinfo, tree);
3123   }else{
3124          call_dissector(data_handle, tvb, actx->pinfo, tree);
3125          offset = tvb_length_remaining(tvb,offset);
3126   }
3127