Move /asn1 to /epan/dissectors
[metze/wireshark/wip.git] / epan / dissectors / asn1 / gsm_map / MAP-CommonDataTypes.asn
1 -- 3GPP TS 29.002 V13.2.0 (2015-12)
2 -- 17.7.8       Common data types
3
4 MAP-CommonDataTypes {
5    itu-t identified-organization (4) etsi (0) mobileDomain (0)
6    gsm-Network (1) modules (3) map-CommonDataTypes (18) version16 (16)}
7
8 DEFINITIONS
9
10 IMPLICIT TAGS
11
12 ::=
13
14 BEGIN
15
16 EXPORTS
17
18         -- general data types and values
19         AddressString,
20         ISDN-AddressString,
21         maxISDN-AddressLength,
22         FTN-AddressString,
23         ISDN-SubaddressString,
24         ExternalSignalInfo, 
25         Ext-ExternalSignalInfo, 
26 AccessNetworkSignalInfo,
27         SignalInfo,
28         maxSignalInfoLength,
29         AlertingPattern,
30         TBCD-STRING,
31         DiameterIdentity,
32         Time,
33         HLR-Id,
34
35         -- data types for numbering and identification
36         IMSI,
37         TMSI, 
38         Identity,
39         SubscriberId,
40         IMEI,
41         HLR-List,
42         LMSI,
43         GlobalCellId,
44         NetworkResource,
45         AdditionalNetworkResource,
46         NAEA-PreferredCI, 
47         NAEA-CIC, 
48         ASCI-CallReference,
49         SubscriberIdentity,
50         PLMN-Id,
51         E-UTRAN-CGI,
52         TA-Id,
53         RAIdentity,
54         NetworkNodeDiameterAddress,
55
56         -- data types for CAMEL
57         CellGlobalIdOrServiceAreaIdOrLAI, 
58         CellGlobalIdOrServiceAreaIdFixedLength,
59         LAIFixedLength,
60
61         -- data types for subscriber management
62         BasicServiceCode,
63         Ext-BasicServiceCode,
64         EMLPP-Info,
65         EMLPP-Priority, 
66         MC-SS-Info,
67         MaxMC-Bearers,
68         MC-Bearers,
69         Ext-SS-Status,
70
71         -- data types for geographic location
72         AgeOfLocationInformation,
73         LCSClientExternalID,
74         LCSClientInternalID,
75         LCSServiceTypeID,
76 -- WS added exports needed by gsm_map.asn (extra asn1 file to handle older protocol versions)
77         ProtocolId,
78         -- gprs location registration types
79         GSN-Address
80
81 ;
82
83 IMPORTS
84         TeleserviceCode,
85         Ext-TeleserviceCode
86 FROM MAP-TS-Code {
87    itu-t identified-organization (4) etsi (0) mobileDomain (0)
88    gsm-Network (1) modules (3) map-TS-Code (19) version16 (16)}
89
90         BearerServiceCode,
91         Ext-BearerServiceCode
92 FROM MAP-BS-Code {
93    itu-t identified-organization (4) etsi (0) mobileDomain (0)
94    gsm-Network (1) modules (3) map-BS-Code (20) version16 (16)}
95
96         SS-Code
97 FROM MAP-SS-Code {
98    itu-t identified-organization (4) etsi (0) mobileDomain (0)
99    gsm-Network (1) modules (3) map-SS-Code (15) version16 (16)}
100
101         ExtensionContainer
102 FROM MAP-ExtensionDataTypes {
103    itu-t identified-organization (4) etsi (0) mobileDomain (0)
104    gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version16 (16)}
105 ;
106
107
108 -- general data types
109
110 TBCD-STRING ::= OCTET STRING
111         -- This type (Telephony Binary Coded Decimal String) is used to
112         -- represent several digits from 0 through 9, *, #, a, b, c, two
113         -- digits per octet, each digit encoded 0000 to 1001 (0 to 9),
114         -- 1010 (*), 1011 (#), 1100 (a), 1101 (b) or 1110 (c); 1111 used
115         -- as filler when there is an odd number of digits.
116
117         -- bits 8765 of octet n encoding digit 2n
118         -- bits 4321 of octet n encoding digit 2(n-1) +1
119
120 DiameterIdentity ::= OCTET STRING (SIZE(9..255))
121 -- content of DiameterIdentity is defined in IETF RFC 3588 [139]
122
123 AddressString ::= OCTET STRING (SIZE (1..maxAddressLength))
124         -- This type is used to represent a number for addressing
125         -- purposes. It is composed of
126         --      a)      one octet for nature of address, and numbering plan
127         --              indicator.
128         --      b)      digits of an address encoded as TBCD-String.
129
130         -- a)   The first octet includes a one bit extension indicator, a
131         --              3 bits nature of address indicator and a 4 bits numbering
132         --              plan indicator, encoded as follows:
133
134         -- bit 8: 1  (no extension)
135
136         -- bits 765: nature of address indicator
137         --      000  unknown
138         --      001  international number
139         --      010  national significant number
140         --      011  network specific number
141         --      100  subscriber number
142         --      101  reserved
143         --      110  abbreviated number
144         --      111  reserved for extension
145
146         -- bits 4321: numbering plan indicator
147         --      0000  unknown
148         --      0001  ISDN/Telephony Numbering Plan (Rec ITU-T E.164)
149         --      0010  spare
150         --      0011  data numbering plan (ITU-T Rec X.121)
151         --      0100  telex numbering plan (ITU-T Rec F.69)
152         --      0101  spare
153         --      0110  land mobile numbering plan (ITU-T Rec E.212)
154         --      0111  spare
155         --      1000  national numbering plan
156         --      1001  private numbering plan
157         --      1111  reserved for extension
158
159         --      all other values are reserved.
160
161         -- b)   The following octets representing digits of an address
162         --              encoded as a TBCD-STRING.
163
164 maxAddressLength  INTEGER ::= 20
165
166 ISDN-AddressString ::= 
167                         AddressString (SIZE (1..maxISDN-AddressLength))
168         -- This type is used to represent ISDN numbers.
169
170 maxISDN-AddressLength  INTEGER ::= 9
171
172 FTN-AddressString ::= 
173                         AddressString (SIZE (1..maxFTN-AddressLength))
174         -- This type is used to represent forwarded-to numbers. 
175         -- If NAI = international the first digits represent the country code (CC)
176         -- and the network destination code (NDC) as for E.164.
177
178 maxFTN-AddressLength  INTEGER ::= 15
179
180 ISDN-SubaddressString ::= 
181                         OCTET STRING (SIZE (1..maxISDN-SubaddressLength))
182         -- This type is used to represent ISDN subaddresses.
183         -- It is composed of
184         --      a)      one octet for type of subaddress and odd/even indicator.
185         --      b)      20 octets for subaddress information.
186
187         --      a)      The first octet includes a one bit extension indicator, a
188         --              3 bits type of subaddress and a one bit odd/even indicator,
189         --              encoded as follows:
190
191         --      bit 8: 1  (no extension)
192
193         --      bits 765: type of subaddress
194         --              000  NSAP (X.213/ISO 8348 AD2)
195         --              010  User Specified
196         --              All other values are reserved
197
198         --      bit 4: odd/even indicator
199         --              0  even number of address signals
200         --              1  odd number of address signals
201         --              The odd/even indicator is used when the type of subaddress
202         --              is "user specified" and the coding is BCD.
203
204         --      bits 321: 000 (unused)
205
206         --      b) Subaddress information.
207         --      The NSAP X.213/ISO8348AD2 address shall be formatted as specified
208         --      by octet 4 which contains the Authority and Format Identifier
209         --      (AFI). The encoding is made according to the "preferred binary
210         --      encoding" as defined in X.213/ISO834AD2. For the definition
211         --      of this type of subaddress, see ITU-T Rec I.334.
212
213         --      For User-specific subaddress, this field is encoded according
214         --      to the user specification, subject to a maximum length of 20
215         --      octets. When interworking with X.25 networks BCD coding should
216         --      be applied.
217
218 maxISDN-SubaddressLength  INTEGER ::= 21
219
220 ExternalSignalInfo ::= SEQUENCE {
221         protocolId      ProtocolId,
222         signalInfo      SignalInfo,
223         -- Information about the internal structure is given in
224         -- clause 7.6.9.
225         extensionContainer      ExtensionContainer      OPTIONAL,
226         -- extensionContainer must not be used in version 2
227         ...}
228
229 SignalInfo ::= OCTET STRING (SIZE (1..maxSignalInfoLength))
230
231 maxSignalInfoLength  INTEGER ::= 200
232         -- This NamedValue represents the theoretical maximum number of octets which is
233         -- available to carry a single instance of the SignalInfo data type,
234         -- without requiring segmentation to cope with the network layer service.
235         -- However, the actual maximum size available for an instance of the data
236         -- type may be lower, especially when other information elements
237         -- have to be included in the same component.
238
239 ProtocolId ::= ENUMERATED {
240         gsm-0408  (1),
241         gsm-0806  (2),
242         gsm-BSSMAP  (3),
243         -- Value 3 is reserved and must not be used
244         ets-300102-1  (4)}
245
246 Ext-ExternalSignalInfo ::= SEQUENCE {
247         ext-ProtocolId  Ext-ProtocolId,
248         signalInfo      SignalInfo,
249         -- Information about the internal structure is given in
250         -- clause 7.6.9.10
251         extensionContainer      ExtensionContainer      OPTIONAL,
252         ...}
253
254 Ext-ProtocolId ::= ENUMERATED {
255         ets-300356  (1),
256         ... 
257          }
258 -- exception handling:
259 -- For Ext-ExternalSignalInfo sequences containing this parameter with any
260 -- other value than the ones listed the receiver shall ignore the whole 
261 -- Ext-ExternalSignalInfo sequence.
262
263 AccessNetworkSignalInfo ::= SEQUENCE {
264         accessNetworkProtocolId AccessNetworkProtocolId,
265         signalInfo      LongSignalInfo,
266         -- Information about the internal structure is given in clause 7.6.9.1
267         
268         extensionContainer      ExtensionContainer      OPTIONAL,
269         ...}
270
271 LongSignalInfo ::= OCTET STRING (SIZE (1..maxLongSignalInfoLength))
272
273 maxLongSignalInfoLength  INTEGER ::= 2560
274         -- This Named Value represents the maximum number of octets which is available
275         -- to carry a single instance of the LongSignalInfo data type using
276         -- White Book SCCP with the maximum number of segments.
277         -- It takes account of the octets used by the lower layers of the protocol, and
278         -- other information elements which may be included in the same component.
279
280 AccessNetworkProtocolId ::= ENUMERATED {
281         ts3G-48006   (1),
282         ts3G-25413 (2),
283         ...}
284         -- exception handling:
285         -- For AccessNetworkSignalInfo sequences containing this parameter with any
286         -- other value than the ones listed the receiver shall ignore the whole 
287         -- AccessNetworkSignalInfo sequence.
288
289 AlertingPattern ::= OCTET STRING (SIZE (1) )
290         -- This type is used to represent Alerting Pattern
291
292         --      bits 8765 : 0000 (unused)
293
294         --      bits 43 : type of Pattern
295         --              00 level
296         --              01 category
297         --              10 category
298         --              all other values are reserved.
299
300         --      bits 21 : type of alerting
301
302 alertingLevel-0   AlertingPattern ::= '00000000'B
303 alertingLevel-1   AlertingPattern ::= '00000001'B
304 alertingLevel-2   AlertingPattern ::= '00000010'B
305         -- all other values of Alerting level are reserved
306         -- Alerting Levels are defined in GSM 02.07
307         
308 alertingCategory-1   AlertingPattern ::= '00000100'B
309 alertingCategory-2   AlertingPattern ::= '00000101'B
310 alertingCategory-3   AlertingPattern ::= '00000110'B
311 alertingCategory-4   AlertingPattern ::= '00000111'B
312 alertingCategory-5   AlertingPattern ::= '00001000'B
313         -- all other values of Alerting Category are reserved
314         -- Alerting categories are defined in GSM 02.07
315
316 GSN-Address ::= OCTET STRING (SIZE (5..17))
317         -- Octets are coded according to TS 3GPP TS 23.003 [17]
318
319 Time ::= OCTET STRING (SIZE (4))
320         -- Octets are coded according to IETF RFC 3588 [139]
321
322
323 -- data types for numbering and identification
324
325 IMSI ::= TBCD-STRING (SIZE (3..8))
326         -- digits of MCC, MNC, MSIN are concatenated in this order.
327
328 Identity ::= CHOICE {
329         imsi                    IMSI,
330         imsi-WithLMSI   IMSI-WithLMSI}
331
332 IMSI-WithLMSI ::= SEQUENCE {
333         imsi                    IMSI,
334         lmsi                    LMSI,
335         -- a special value 00000000 indicates that the LMSI is not in use
336         ...}
337
338 ASCI-CallReference ::= TBCD-STRING (SIZE (1..8))
339         -- digits of VGCS/VBS-area,Group-ID are concatenated in this order if there is a
340         -- VGCS/VBS-area.
341
342 TMSI ::= OCTET STRING (SIZE (1..4))
343
344 SubscriberId ::= CHOICE {
345         imsi                    [0] IMSI,
346         tmsi                    [1] TMSI}
347
348 IMEI ::= TBCD-STRING (SIZE (8))
349         --      Refers to International Mobile Station Equipment Identity
350         --      and Software Version Number (SVN) defined in TS 3GPP TS 23.003 [17].
351         --      If the SVN is not present the last octet shall contain the
352         --      digit 0 and a filler.
353         --      If present the SVN shall be included in the last octet.
354
355 HLR-Id ::= IMSI
356         -- leading digits of IMSI, i.e. (MCC, MNC, leading digits of
357         -- MSIN) forming HLR Id defined in TS 3GPP TS 23.003 [17].
358
359 HLR-List ::= SEQUENCE SIZE (1..maxNumOfHLR-Id) OF
360                                 HLR-Id
361
362 maxNumOfHLR-Id  INTEGER ::= 50
363
364 LMSI ::= OCTET STRING (SIZE (4))
365
366 GlobalCellId ::= OCTET STRING (SIZE (5..7))
367         -- Refers to Cell Global Identification defined in TS 3GPP TS 23.003 [17].
368         -- The internal structure is defined as follows:
369         -- octet 1 bits 4321    Mobile Country Code 1st digit
370         --         bits 8765    Mobile Country Code 2nd digit
371         -- octet 2 bits 4321    Mobile Country Code 3rd digit
372         --         bits 8765    Mobile Network Code 3rd digit
373         --                      or filler (1111) for 2 digit MNCs
374         -- octet 3 bits 4321    Mobile Network Code 1st digit
375         --         bits 8765    Mobile Network Code 2nd digit
376         -- octets 4 and 5       Location Area Code according to TS 3GPP TS 24.008 [35]
377         -- octets 6 and 7       Cell Identity (CI) according to TS 3GPP TS 24.008 [35]
378
379 NetworkResource ::= ENUMERATED {
380         plmn  (0),
381         hlr  (1),
382         vlr  (2),
383         pvlr  (3),
384         controllingMSC  (4),
385         vmsc  (5),
386         eir  (6),
387         rss  (7)}
388
389 AdditionalNetworkResource ::= ENUMERATED {
390         sgsn (0),
391         ggsn (1),
392         gmlc (2),
393         gsmSCF (3),
394         nplr (4),
395         auc (5),
396         ... ,
397         ue (6),
398         mme (7)}
399         -- if unknown value is received in AdditionalNetworkResource
400         -- it shall be ignored.
401
402
403 NAEA-PreferredCI ::= SEQUENCE {
404         naea-PreferredCIC       [0] NAEA-CIC,
405         extensionContainer      [1] ExtensionContainer  OPTIONAL,
406         ...}
407
408 NAEA-CIC ::= OCTET STRING (SIZE (3))
409         -- The internal structure is defined by the Carrier Identification
410         -- parameter in ANSI T1.113.3. Carrier codes between \93000\94 and \93999\94 may
411         -- be encoded as 3 digits using \93000\94 to \93999\94 or as 4 digits using 
412         -- \930000\94 to \930999\94. Carrier codes between \931000\94 and \939999\94 are encoded
413         -- using 4 digits.
414
415 SubscriberIdentity ::= CHOICE {
416         imsi                    [0] IMSI,
417         msisdn          [1] ISDN-AddressString
418         }
419
420 LCSClientExternalID ::= SEQUENCE {
421         externalAddress [0] ISDN-AddressString  OPTIONAL,
422         extensionContainer      [1] ExtensionContainer  OPTIONAL,
423         ... }
424
425 LCSClientInternalID ::= ENUMERATED {
426         broadcastService        (0),
427         o-andM-HPLMN    (1),
428         o-andM-VPLMN    (2),
429         anonymousLocation       (3),
430         targetMSsubscribedService       (4),
431         ... }
432 -- for a CAMEL phase 3 PLMN operator client, the value targetMSsubscribedService shall be used
433
434 LCSServiceTypeID ::= INTEGER (0..127)
435         -- the integer values 0-63 are reserved for Standard LCS service types
436         -- the integer values 64-127 are reserved for Non Standard LCS service types
437
438 -- Standard LCS Service Types
439 emergencyServices               LCSServiceTypeID ::= 0
440 emergencyAlertServices          LCSServiceTypeID ::= 1
441 personTracking                  LCSServiceTypeID ::= 2
442 fleetManagement         LCSServiceTypeID ::= 3
443 assetManagement         LCSServiceTypeID ::= 4
444 trafficCongestionReporting              LCSServiceTypeID ::= 5
445 roadsideAssistance              LCSServiceTypeID ::= 6
446 routingToNearestCommercialEnterprise            LCSServiceTypeID ::= 7
447 navigation                      LCSServiceTypeID ::= 8
448         --this service type is reserved for use in previous releases
449 citySightseeing         LCSServiceTypeID ::= 9
450 localizedAdvertising            LCSServiceTypeID ::= 10
451 mobileYellowPages               LCSServiceTypeID ::= 11 
452 trafficAndPublicTransportationInfo              LCSServiceTypeID ::= 12
453 weather                         LCSServiceTypeID ::= 13
454 assetAndServiceFinding          LCSServiceTypeID ::= 14
455 gaming                          LCSServiceTypeID ::= 15
456 findYourFriend                  LCSServiceTypeID ::= 16
457 dating                          LCSServiceTypeID ::= 17
458 chatting                                LCSServiceTypeID ::= 18
459 routeFinding                    LCSServiceTypeID ::= 19
460 whereAmI                                LCSServiceTypeID ::= 20
461
462 -- The values of LCSServiceTypeID are defined according to 3GPP TS 22.071.
463
464 -- Non Standard LCS Service Types
465 serv64                          LCSServiceTypeID ::= 64
466 serv65                          LCSServiceTypeID ::= 65
467 serv66                          LCSServiceTypeID ::= 66
468 serv67                          LCSServiceTypeID ::= 67
469 serv68                          LCSServiceTypeID ::= 68
470 serv69                          LCSServiceTypeID ::= 69
471 serv70                          LCSServiceTypeID ::= 70
472 serv71                          LCSServiceTypeID ::= 71
473 serv72                          LCSServiceTypeID ::= 72
474 serv73                          LCSServiceTypeID ::= 73
475 serv74                          LCSServiceTypeID ::= 74
476 serv75                          LCSServiceTypeID ::= 75
477 serv76                          LCSServiceTypeID ::= 76
478 serv77                          LCSServiceTypeID ::= 77
479 serv78                          LCSServiceTypeID ::= 78
480 serv79                          LCSServiceTypeID ::= 79
481 serv80                          LCSServiceTypeID ::= 80
482 serv81                          LCSServiceTypeID ::= 81
483 serv82                          LCSServiceTypeID ::= 82
484 serv83                          LCSServiceTypeID ::= 83
485 serv84                          LCSServiceTypeID ::= 84
486 serv85                          LCSServiceTypeID ::= 85
487 serv86                          LCSServiceTypeID ::= 86
488 serv87                          LCSServiceTypeID ::= 87
489 serv88                          LCSServiceTypeID ::= 88
490 serv89                          LCSServiceTypeID ::= 89
491 serv90                          LCSServiceTypeID ::= 90
492 serv91                          LCSServiceTypeID ::= 91
493 serv92                          LCSServiceTypeID ::= 92
494 serv93                          LCSServiceTypeID ::= 93
495 serv94                          LCSServiceTypeID ::= 94
496 serv95                          LCSServiceTypeID ::= 95
497 serv96                          LCSServiceTypeID ::= 96
498 serv97                          LCSServiceTypeID ::= 97
499 serv98                          LCSServiceTypeID ::= 98
500 serv99                          LCSServiceTypeID ::= 99
501 serv100                         LCSServiceTypeID ::= 100
502 serv101                         LCSServiceTypeID ::= 101
503 serv102                         LCSServiceTypeID ::= 102
504 serv103                         LCSServiceTypeID ::= 103
505 serv104                         LCSServiceTypeID ::= 104
506 serv105                         LCSServiceTypeID ::= 105
507 serv106                         LCSServiceTypeID ::= 106
508 serv107                         LCSServiceTypeID ::= 107
509 serv108                         LCSServiceTypeID ::= 108
510 serv109                         LCSServiceTypeID ::= 109
511 serv110                         LCSServiceTypeID ::= 110
512 serv111                         LCSServiceTypeID ::= 111
513 serv112                         LCSServiceTypeID ::= 112
514 serv113                         LCSServiceTypeID ::= 113
515 serv114                         LCSServiceTypeID ::= 114
516 serv115                         LCSServiceTypeID ::= 115
517 serv116                         LCSServiceTypeID ::= 116
518 serv117                         LCSServiceTypeID ::= 117
519 serv118                         LCSServiceTypeID ::= 118
520 serv119                         LCSServiceTypeID ::= 119
521 serv120                         LCSServiceTypeID ::= 120
522 serv121                         LCSServiceTypeID ::= 121
523 serv122                         LCSServiceTypeID ::= 122
524 serv123                         LCSServiceTypeID ::= 123
525 serv124                         LCSServiceTypeID ::= 124
526 serv125                         LCSServiceTypeID ::= 125
527 serv126                         LCSServiceTypeID ::= 126
528 serv127                         LCSServiceTypeID ::= 127
529
530 PLMN-Id ::= OCTET STRING (SIZE (3))
531         -- The internal structure is defined as follows:
532         -- octet 1 bits 4321    Mobile Country Code 1st digit
533         --         bits 8765    Mobile Country Code 2nd digit
534         -- octet 2 bits 4321    Mobile Country Code 3rd digit
535         --         bits 8765    Mobile Network Code 3rd digit
536         --                      or filler (1111) for 2 digit MNCs
537         -- octet 3 bits 4321    Mobile Network Code 1st digit
538         --         bits 8765    Mobile Network Code 2nd digit
539
540 E-UTRAN-CGI ::= OCTET STRING (SIZE (7))
541         -- Octets are coded as described in 3GPP TS 29.118.
542
543 TA-Id ::= OCTET STRING (SIZE (5))
544         -- Octets are coded as described in 3GPP TS 29.118.
545
546 RAIdentity ::= OCTET STRING (SIZE (6))
547 -- Routing Area Identity is coded in accordance with 3GPP TS 29.060 [105].
548 -- It shall contain the value part defined in 3GPP TS 29.060 only. I.e. the 3GPP TS 29.060
549 -- type identifier octet shall not be included.
550
551 NetworkNodeDiameterAddress::= SEQUENCE {
552         diameter-Name   [0] DiameterIdentity,
553         diameter-Realm  [1] DiameterIdentity }
554
555 -- data types for CAMEL
556
557 CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE {
558         cellGlobalIdOrServiceAreaIdFixedLength  [0] CellGlobalIdOrServiceAreaIdFixedLength,
559         laiFixedLength  [1] LAIFixedLength}
560
561 CellGlobalIdOrServiceAreaIdFixedLength ::= OCTET STRING (SIZE (7))
562         -- Refers to Cell Global Identification or Service Are Identification
563         -- defined in 3GPP TS 23.003.
564         -- The internal structure is defined as follows:
565         -- octet 1 bits 4321    Mobile Country Code 1st digit
566         --         bits 8765    Mobile Country Code 2nd digit
567         -- octet 2 bits 4321    Mobile Country Code 3rd digit
568         --         bits 8765    Mobile Network Code 3rd digit
569         --                      or filler (1111) for 2 digit MNCs
570         -- octet 3 bits 4321    Mobile Network Code 1st digit
571         --         bits 8765    Mobile Network Code 2nd digit
572         -- octets 4 and 5       Location Area Code according to 3GPP TS 24.008
573         -- octets 6 and 7       Cell Identity (CI) value or 
574         --                      Service Area Code (SAC) value 
575         --                      according to 3GPP TS 23.003
576
577 LAIFixedLength ::= OCTET STRING (SIZE (5))
578         -- Refers to Location Area Identification defined in 3GPP TS 23.003 [17].
579         -- The internal structure is defined as follows:
580         -- octet 1 bits 4321    Mobile Country Code 1st digit
581         --         bits 8765    Mobile Country Code 2nd digit
582         -- octet 2 bits 4321    Mobile Country Code 3rd digit
583         --         bits 8765    Mobile Network Code 3rd digit
584         --                      or filler (1111) for 2 digit MNCs
585         -- octet 3 bits 4321    Mobile Network Code 1st digit
586         --         bits 8765    Mobile Network Code 2nd digit
587         -- octets 4 and 5       Location Area Code according to 3GPP TS 24.008 [35]
588
589 -- data types for subscriber management
590
591 BasicServiceCode ::= CHOICE {
592         bearerService   [2] BearerServiceCode,
593         teleservice     [3] TeleserviceCode}
594
595 Ext-BasicServiceCode ::= CHOICE {
596         ext-BearerService       [2] Ext-BearerServiceCode,
597         ext-Teleservice [3] Ext-TeleserviceCode}
598
599 EMLPP-Info ::= SEQUENCE {
600         maximumentitledPriority EMLPP-Priority,
601         defaultPriority EMLPP-Priority,
602         extensionContainer      ExtensionContainer      OPTIONAL,
603         ...}
604
605 EMLPP-Priority ::= INTEGER (0..15)
606         -- The mapping from the values A,B,0,1,2,3,4 to the integer-value is
607         -- specified as follows where A is the highest and 4 is the lowest
608         -- priority level
609         -- the integer values 7-15 are spare and shall be mapped to value 4
610
611 priorityLevelA          EMLPP-Priority ::= 6
612 priorityLevelB          EMLPP-Priority ::= 5
613 priorityLevel0          EMLPP-Priority ::= 0
614 priorityLevel1          EMLPP-Priority ::= 1
615 priorityLevel2          EMLPP-Priority ::= 2
616 priorityLevel3          EMLPP-Priority ::= 3
617 priorityLevel4          EMLPP-Priority ::= 4
618
619 MC-SS-Info ::= SEQUENCE {
620         ss-Code         [0] SS-Code,
621         ss-Status               [1] Ext-SS-Status,
622         nbrSB           [2] MaxMC-Bearers,
623         nbrUser         [3] MC-Bearers,
624         extensionContainer      [4] ExtensionContainer  OPTIONAL,
625         ...}
626
627 MaxMC-Bearers ::= INTEGER (2..maxNumOfMC-Bearers)
628
629 MC-Bearers ::= INTEGER (1..maxNumOfMC-Bearers)
630
631 maxNumOfMC-Bearers  INTEGER ::= 7
632
633 Ext-SS-Status ::= OCTET STRING (SIZE (1..5))
634
635         -- OCTET 1:
636         --
637         -- bits 8765: 0000 (unused)
638         -- bits 4321: Used to convey the "P bit","R bit","A bit" and "Q bit",
639         --                  representing supplementary service state information
640         --                  as defined in TS 3GPP TS 23.011 [22]
641
642         -- bit 4: "Q bit"
643
644         -- bit 3: "P bit"
645
646         -- bit 2: "R bit"
647
648         -- bit 1: "A bit"
649
650         -- OCTETS 2-5: reserved for future use. They shall be discarded if
651         -- received and not understood.
652
653
654         -- data types for geographic location
655
656 AgeOfLocationInformation ::= INTEGER (0..32767)
657 -- the value represents the elapsed time in minutes since the last
658 -- network contact of the mobile station (i.e. the actuality of the
659 -- location information).
660 -- value \930\94 indicates that the MS is currently in contact with the
661 --           network
662 -- value \9332767\94 indicates that the location information is at least
663 --               32767 minutes old
664
665 END
666