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