comparison cdg-hybrid/sap/mmreg.pdf @ 212:e7a67accfad9

cdg-hybrid cdginc headers created
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Oct 2016 21:52:58 +0000
parents
children
comparison
equal deleted inserted replaced
211:02269c474131 212:e7a67accfad9
1 ;********************************************************************************
2 ;*** File : mmreg.pdf
3 ;*** Creation : Wed Mar 11 09:58:21 CST 2009
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002
6 ;********************************************************************************
7 ;*** Document Type : Service Access Point Specification
8 ;*** Document Name : mmreg
9 ;*** Document No. : 6147.100.96.110
10 ;*** Document Date : 2003-06-13
11 ;*** Document Status: BEING_PROCESSED
12 ;*** Document Author: HM
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:46:52 2007"
18 PRAGMA LAST_MODIFIED "2003-06-13"
19 PRAGMA ID_AND_VERSION "6147.100.96.110"
20
21
22
23 CONST MAX_PLMN_ID 12 ; The maximum number of different PLMN in some pimitives
24 CONST MMR_MAX_TEXT_LEN 40 ; The maximum length of a PLMN's name in MMGMM_INFO_IND
25 CONST SIZE_MCC 3 ; The number of MCC digits
26 CONST SIZE_MNC 3 ; The number of MNC digits
27 EXTERN CONST @p_gsmcom - MM_ORIGINATING_ENTITY@ MM_ORIGINATING_ENTITY ; Used in cause values to mark MM as the cause originating entity
28
29
30
31 VALTAB VAL_detach_cause
32 VAL 0 CS_SIM_REM "Consider SIM as removed or not valid"
33 VAL 1 CS_POW_OFF "Power off and delete SIM data"
34 VAL 2 CS_SOFT_OFF "Power off and keep SIM data"
35
36 VALTAB VAL_mode
37 VAL 0 MODE_AUTO "automatic mode"
38 VAL 1 MODE_MAN "manual mode"
39
40 VALTAB VAL_service
41 VAL 0 NREG_NO_SERVICE "no service available"
42 VAL 1 NREG_LIMITED_SERVICE "limited service available"
43
44 VALTAB VAL_forb_ind
45 VAL 0 FORB_PLMN_NOT_INCLUDED "Not member of the forbidden PLMN list"
46 VAL 1 FORB_PLMN_INCLUDED "Member of the forbidden PLMN list"
47
48 VALTAB VAL_search_running
49 VAL 0 SEARCH_NOT_RUNNING "Network search not running anymore"
50 VAL 1 SEARCH_RUNNING "Network search still running"
51
52 VALTAB VAL_tz
53 VAL 0 TIMEZONE_GMT "GMT"
54 VAL 0x40 TIMEZONE_GMT_PLS_1HR "GMT + 1 hour"
55 VAL 0x80 TIMEZONE_GMT_PLS_2HR "GMT + 2 hours"
56 VAL 0x48 TIMEZONE_GMT_MIN_1HR "GMT - 1 hour"
57 VAL 0x88 TIMEZONE_GMT_MIN_2HR "GMT - 2 hours"
58
59 VALTAB VAL_month
60 VAL 1 - 12 "month"
61
62 VALTAB VAL_second
63 VAL 0 - 59 "second"
64
65 VALTAB VAL_minute
66 VAL 0 - 59 "minute"
67
68 VALTAB VAL_hour
69 VAL 0 - 23 "hour"
70
71 VALTAB VAL_day
72 VAL 1 - 31 "day"
73
74 VALTAB VAL_year
75 VAL 0 - 99 "year"
76
77 VALTAB VAL_daylight_save_time %REL99%
78 VAL 0 MMR_ADJ_NO "No adjustment for Daylight Saving Time"
79 VAL 1 MMR_TIME_ADJ_1 "+1 hour adjustment for Daylight Saving Time"
80 VAL 2 MMR_TIME_ADJ_2 "+2 hours adjustment for Daylight Saving Time"
81
82 VALTAB VAL_service_mode
83 VAL 0 SERVICE_MODE_LIMITED "Search for limited service required"
84 VAL 1 SERVICE_MODE_FULL "Search for full service required"
85
86 VALTAB VAL_cause
87 VAL 0x0402 MMCS_IMSI_IN_HLR "IMSI unknown in HLR"
88 VAL 0x0403 MMCS_ILLEGAL_MS "Illegal MS"
89 VAL 0x0404 MMCS_IMSI_IN_VLR "IMSI unknown in VLR"
90 VAL 0x0405 MMCS_IMEI_NOT_ACCEPTED "IMEI not accepted"
91 VAL 0x0406 MMCS_ILLEGAL_ME "Illegal ME"
92 VAL 0x040B MMCS_PLMN_NOT_ALLOWED "PLMN not allowed"
93 VAL 0x040C MMCS_LA_NOT_ALLOWED "Location Area not allowed"
94 VAL 0x040D MMCS_ROAMING_NOT_ALLOWED "Roaming not allowed in this location area"
95 VAL 0x040F MMCS_NO_SUITABLE_CELL_IN_LA "Find another allowed location area in the same PLMN"
96 VAL 0x0411 MMCS_NETWORK_FAILURE "Network failure"
97 VAL 0x0416 MMCS_CONGESTION "Congestion"
98 VAL 0x0420 MMCS_SERVICE_NOT_SUPPORTED "Service option not supported"
99 VAL 0x0421 MMCS_SERVICE_NOT_SUBSCRIBED "Requested service option not subscribed"
100 VAL 0x0422 MMCS_SERVICE_ORDER "Service option temporarily out of order"
101 VAL 0x0426 MMCS_IDENTIFIY "Call cannot be identified"
102 VAL 0x0430 MMCS_RETRY_IN_NEW_CELL "retry upon entry into a new cell (mapped 0x0430..0x043f -> 0x0430)"
103 VAL 0x045F MMCS_INCORRECT_MESSAGE "Semantically incorrect message"
104 VAL 0x0460 MMCS_INVALID_MAND_MESSAGE "Invalid mandatory information"
105 VAL 0x0461 MMCS_MESSAGE_TYPE_NOT_IMPLEM "Message type non-existent or not implemented"
106 VAL 0x0462 MMCS_MESSAGE_TYPE_INCOMPAT "Message type not compatible with the protocol state"
107 VAL 0x0463 MMCS_IE_NOT_IMPLEM "Information element non-existent or not implemented"
108 VAL 0x0464 MMCS_CONDITIONAL_IE "Conditional IE error"
109 VAL 0x0465 MMCS_MESSAGE_INCOMPAT "Message not compatible with the protocol state"
110 VAL 0x046F MMCS_UNSPECIFIED "Protocol error, unspecified"
111 VAL 0xC400 MMCS_SUCCESS "No error, successful operation (MM)"
112 VAL 0xC480 MMCS_NO_REGISTRATION "MS is not registered or deregistration started"
113 VAL 0xC481 MMCS_TIMER_RECOVERY "time-out in MM during establishment"
114 VAL 0xC482 MMCS_NO_REESTABLISH "Cell does not support call reestablishment"
115 VAL 0xC483 MMCS_INT_PREEM "Preemptive release, e.g. MO-MT clash in MM"
116 VAL 0xC484 MMCS_PLMN_NOT_IDLE_MODE "reject, not in idle mode (MMR_PLMN_IND)"
117 VAL 0xC488 MMCS_AUTHENTICATION_REJECTED "AUTHENTICATION REJECT received"
118 VAL 0xC489 MMCS_SIM_REMOVED "A valid SIM is not present"
119 VAL 0xC4FF MMCS_INT_NOT_PRESENT "No error cause (MM)"
120
121 VALTAB VAL_ciph
122 VAL 0 CIPH_OFF "ciphering off"
123 VAL 1 CIPH_ON "ciphering on"
124
125 VALTAB VAL_bootup_act
126 VAL 0 NORMAL_REG "Normal Registration"
127 VAL 1 QUICK_REG "Fast Registration"
128
129 VALTAB VAL_bootup_cause
130 VAL 0 REG_END "end of registration"
131 VAL 1 PWR_SCAN_START "power scanning started"
132
133
134
135
136 VAR v_plmn "valid flag" B
137
138
139 VAR mcc "mobile country code" B
140
141
142 VAR mnc "mobile network code" B
143
144
145 VAR detach_cause "cause" B
146
147 VAL @p_mmreg - VAL_detach_cause@
148
149 VAR mode "registration mode" B
150
151 VAL @p_mmreg - VAL_mode@
152
153 VAR service "service (either no or limited service)" B
154
155 VAL @p_mmreg - VAL_service@
156
157 VAR forb_ind "Forbidden PLMN indicator" B
158
159 VAL @p_mmreg - VAL_forb_ind@
160
161 VAR rxlevel "Fieldstrength" B
162
163
164 VAR search_running "Search is still running" B
165
166 VAL @p_mmreg - VAL_search_running@
167
168 VAR v_name "valid flag" B
169
170
171 VAR dcs "data coding scheme" B
172
173
174 VAR add_ci "add ci indicator" B
175
176
177 VAR num_spare "num spare bits" B
178
179
180 VAR text "name" B
181
182
183 VAR v_tz "timezone valid" B
184
185
186 VAR tz "timezone" B
187
188 VAL @p_mmreg - VAL_tz@
189
190 VAR v_time "time valid" B
191
192
193 VAR year "year" B
194
195 VAL @p_mmreg - VAL_year@
196
197 VAR month "month" B
198
199 VAL @p_mmreg - VAL_month@
200
201 VAR day "day" B
202
203 VAL @p_mmreg - VAL_day@
204
205 VAR hour "hour" B
206
207 VAL @p_mmreg - VAL_hour@
208
209 VAR minute "minute" B
210
211 VAL @p_mmreg - VAL_minute@
212
213 VAR second "second" B
214
215 VAL @p_mmreg - VAL_second@
216
217 VAR daylight_save_time %REL99% "Network daylight saving time" B
218
219 VAL @p_mmreg - VAL_daylight_save_time@
220
221 VAR service_mode "Required service mode" B
222
223 VAL @p_mmreg - VAL_service_mode@
224
225 VAR cause "Cause for loss of full service, release or error" S
226
227 VAL @p_mmreg - VAL_cause@
228
229 VAR ciph "cipher mode" B
230
231 VAL @p_mmreg - VAL_ciph@
232
233 VAR lac "location area code" S
234
235
236 VAR cid "cell id" S
237
238
239 VAR lac_list "LACs of found PLMNs" S
240
241
242 VAR bootup_act "Bootup action" B
243
244 VAL @p_mmreg - VAL_bootup_act@
245
246 VAR bootup_cause "bootup cause" B
247
248 VAL @p_mmreg - VAL_bootup_cause@
249
250
251
252
253 COMP plmn "plmn identification"
254 {
255 v_plmn ; valid flag
256 mcc [SIZE_MCC] ; mobile country code
257 mnc [SIZE_MNC] ; mobile network code
258 }
259 TYPEDEF COMP plmn new_forb_plmn "plmn identification"
260 TYPEDEF COMP plmn ahplmn "ahplmn identification"
261
262
263
264 COMP full_name "Network name, long format"
265 {
266 v_name ; valid flag
267 dcs ; data coding scheme
268 add_ci ; add ci indicator
269 num_spare ; num spare bits
270 text [0..MMR_MAX_TEXT_LEN] ; name
271 }
272 TYPEDEF COMP full_name short_name "Network name, short format"
273
274
275
276 COMP ntz "Network time zone"
277 {
278 v_tz ; timezone valid
279 tz ; timezone
280 }
281
282
283
284 COMP time "Network time"
285 {
286 v_time ; time valid
287 year ; year
288 month ; month
289 day ; day
290 hour ; hour
291 minute ; minute
292 second ; second
293 }
294
295
296
297
298
299
300 ; MMR_REG_REQ 0x8000000A
301 ; MMR_REG_CNF 0x8000400A
302 ; MMR_NREG_IND 0x8001400A
303 ; MMR_NREG_REQ 0x8001000A
304 ; MMR_NREG_CNF 0x8002400A
305 ; MMR_NET_REQ 0x8002000A
306 ; MMR_PLMN_IND 0x8003400A
307 ; MMR_PLMN_RES 0x8003000A
308 ; MMR_PLMN_MODE_REQ 0x8004000A
309 ; MMR_INFO_IND 0x8004400A
310 ; MMR_CIPHERING_IND 0x8005400A
311 ; MMR_AHPLMN_IND 0x8006400A
312
313
314
315 PRIM MMR_REG_REQ 0x8000000A
316 {
317 service_mode ; registration mode
318 bootup_act ; bootup action
319 }
320
321
322
323
324
325
326 PRIM MMR_REG_CNF 0x8000400A
327 {
328 plmn ; network identification
329 lac ; Location area code
330 cid ; Cell id
331 bootup_cause ; bootup cause
332 }
333
334
335
336
337
338
339 PRIM MMR_NREG_IND 0x8001400A
340 {
341 service ; Negative registration service
342 search_running ; Search running
343 new_forb_plmn ; PLMN
344 cause ; cause for loss of full service
345 }
346
347
348
349
350
351
352 PRIM MMR_NREG_REQ 0x8001000A
353 {
354 detach_cause ; cause
355 }
356
357
358
359
360
361
362 PRIM MMR_NREG_CNF 0x8002400A
363 {
364 detach_cause ; cause
365 }
366
367
368
369
370
371
372 PRIM MMR_NET_REQ 0x8002000A
373 {
374 }
375
376
377
378
379
380
381 PRIM MMR_PLMN_IND 0x8003400A
382 {
383 cause ; network search result
384 plmn [MAX_PLMN_ID] ; found plmns
385 lac_list [MAX_PLMN_ID] ; List of LACs
386 forb_ind [MAX_PLMN_ID] ; Forbidden PLMN
387 rxlevel [MAX_PLMN_ID] ; Fieldstrength
388 }
389
390
391
392
393
394
395 PRIM MMR_PLMN_RES 0x8003000A
396 {
397 plmn ; selected plmn
398 }
399
400
401
402
403
404
405 PRIM MMR_PLMN_MODE_REQ 0x8004000A
406 {
407 mode ; selected mode
408 }
409
410
411
412
413
414
415 PRIM MMR_INFO_IND 0x8004400A
416 {
417 plmn ; Public Land Mobile Network
418 full_name ; full network name
419 short_name ; short network name
420 ntz ; network time zone
421 time ; network time
422 daylight_save_time ; network daylight saving time
423 }
424
425
426
427
428
429
430 PRIM MMR_CIPHERING_IND 0x8005400A
431 {
432 ciph ; cipher mode
433 }
434
435
436
437
438
439
440 PRIM MMR_AHPLMN_IND 0x8006400A
441 {
442 ahplmn ; Primitive Item
443 }
444
445
446
447
448
449
450
451
452