FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/msg/mm.mdf @ 652:a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 25 Sep 2014 08:46:13 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
651:806828641b21 | 652:a39ec5bb5549 |
---|---|
1 ;******************************************************************************** | |
2 ;*** File : mm.mdf | |
3 ;*** Creation : Thu Jun 19 15:32:10 CST 2008 | |
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 : Air Interface Message Specification | |
8 ;*** Document Name : mm | |
9 ;*** Document No. : 6147.602.06.106 | |
10 ;*** Document Date : 2006-03-22 | |
11 ;*** Document Status: BEING_PROCESSED | |
12 ;*** Document Author: VR | |
13 ;******************************************************************************** | |
14 | |
15 | |
16 | |
17 PRAGMA SRC_FILE_TIME "Wed Nov 28 10:19:30 2007" | |
18 PRAGMA LAST_MODIFIED "2006-03-22" | |
19 PRAGMA ID_AND_VERSION "6147.602.06.106" | |
20 | |
21 | |
22 | |
23 CONST L3MAX 251 ; maximum size of a L3 buffer | |
24 CONST MAXNAME 40 ; maximum length of network name | |
25 | |
26 | |
27 | |
28 VALTAB VAL_cm_serv_type | |
29 VAL DEF "reserved" | |
30 VAL 1 ST_MOC "Mobile originating call establishment or packet mode connection establishment" | |
31 VAL 2 ST_EMERGENCY "Emergency call establishment" | |
32 VAL 4 ST_SMS "Short message service" | |
33 VAL 8 ST_SS "Supplementary service activation" | |
34 | |
35 VALTAB VAL_follow | |
36 VAL 0 FOR_PENDING_NO "No follow-on request pending" | |
37 VAL 1 FOR_PENDING_YES "Follow-on request pending" | |
38 | |
39 VALTAB VAL_key_seq | |
40 RANGE 0 .. 6 "" | |
41 VAL 7 "No key is available (MS to network); Reserved (network to MS)" | |
42 | |
43 VALTAB VAL_odd_even | |
44 VAL 0 EVEN "even" | |
45 VAL 1 ODD "odd" | |
46 | |
47 VALTAB VAL_rej_cause | |
48 RANGE 0b00110000 .. 0b00111111 "retry upon entry into a new cell" | |
49 VAL DEF "DOWNLINK : Service option temporarily out of order UPLINK : Protocol error, unspecified" | |
50 VAL 0b00000010 RC_IMSI_IN_HLR "IMSI unknown in HLR" | |
51 VAL 0b00000011 RC_ILLEGAL_MS "Illegal MS" | |
52 VAL 0b00000100 RC_IMSI_IN_VLR "IMSI unknown in VLR" | |
53 VAL 0b00000101 RC_IMEI_NOT_ACCEPTED "IMEI not accepted" | |
54 VAL 0b00000110 RC_ILLEGAL_ME "Illegal ME" | |
55 VAL 0b00001011 RC_PLMN_NOT_ALLOWED "PLMN not allowed" | |
56 VAL 0b00001100 RC_LA_NOT_ALLOWED "Location Area not allowed" | |
57 VAL 0b00001101 RC_ROAMING_NOT_ALLOWED "National roaming not allowed in this location area" | |
58 VAL 0b00001111 RC_NO_SUITABLE_CELL_IN_LA %REL99% "Find another allowed location area in the same PLMN" | |
59 VAL 0b00010001 RC_NETWORK_FAILURE "Network failure" | |
60 VAL 0b00010110 RC_CONGETION "Congestion" | |
61 VAL 0b00100000 RC_SERVICE_NOT_SUPPORTED "Service option not supported" | |
62 VAL 0b00100001 RC_SERVICE_NOT_SUBSCRIBED "Requested service option not subscribed" | |
63 VAL 0b00100010 RC_SERVICE_ORDER "Service option temporarily out of order" | |
64 VAL 0b00100110 RC_IDENTIFIY "Call cannot be identified" | |
65 VAL 0b01011111 RC_INCORRECT_MESSAGE "Semantically incorrect message" | |
66 VAL 0b01100000 RC_INVALID_MAND_MESSAGE "Invalid mandatory information" | |
67 VAL 0b01100001 RC_MESSAGE_TYPE_NOT_IMPLEM "Message type non-existent or not implemented" | |
68 VAL 0b01100010 RC_MESSAGE_TYPE_INCOMPAT "Message type not compatible with the protocol state" | |
69 VAL 0b01100011 RC_IE_NOT_IMPLEM "Information element non-existent or not implemented" | |
70 VAL 0b01100100 RC_CONDITIONAL_IE "Conditional IE error" | |
71 VAL 0b01100101 RC_MESSAGE_INCOMPAT "Message not compatible with the protocol state" | |
72 VAL 0b01101111 RC_UNSPECIFIED "Protocol error, unspecified" | |
73 | |
74 VALTAB VAL_ident_type | |
75 VAL DEF "reserved" | |
76 VAL 0 ID_TYPE_NO_IDENT "No Identity" | |
77 VAL 1 ID_TYPE_IMSI "IMSI" | |
78 VAL 2 ID_TYPE_IMEI "IMEI" | |
79 VAL 3 ID_TYPE_IMEISV "IMEISV" | |
80 VAL 4 ID_TYPE_TMSI "TMSI" | |
81 | |
82 VALTAB VAL_sapi | |
83 VAL 0 SAPI_0 "SAPI used for RR, MM, CC and SS" | |
84 VAL 3 SAPI_3 "SAPI used for SMS" | |
85 | |
86 VALTAB VAL_pd | |
87 VAL 0 PD_GCC "Group call control" | |
88 VAL 1 PD_BCC "Broadcast Call Control" | |
89 VAL 2 PD_PDSS1 "PDSS1" | |
90 VAL 3 PD_CC "Call Control, call related SS messages" | |
91 VAL 4 PD_PDSS2 "PDSS2" | |
92 VAL 5 PD_MM "Mobility Management messages" | |
93 VAL 6 PD_RR "Radio Resources management messages" | |
94 VAL 8 PD_GPRS_MM "GPRS Mobility Management messages" | |
95 VAL 9 PD_SMS "SMS messages" | |
96 VAL 10 PD_GPRS_SM "GPRS Session Management messages" | |
97 VAL 11 PD_SS "non call related SS messages" | |
98 VAL 12 PD_LS "Location services" | |
99 VAL 15 PD_TST "Reserved for test procedures described in GSM 11.10" | |
100 | |
101 VALTAB VAL_cs | |
102 VAL 0 CODING_SCHEME_SMSCB "Coding scheme cell broadcast short messages" | |
103 VAL 1 CODING_SCHEME_UCS2 "Coding scheme UCS2, 16 bit, ISO ISO/IEC10646" | |
104 | |
105 VALTAB VAL_add_ci | |
106 VAL 0 ADD_CI_NO "Country's Initials are not to be added" | |
107 VAL 1 ADD_CI_YES "Country's Initials are to be added" | |
108 | |
109 VALTAB VAL_save_time_value | |
110 VAL 0 TIME_ADJ_NO "No adjustment for Daylight Saving Time" | |
111 VAL 1 TIME_ADJ_1 "+1 hour adjustment for Daylight Saving Time" | |
112 VAL 2 TIME_ADJ_2 "+2 hours adjustment for Daylight Saving Time" | |
113 | |
114 | |
115 | |
116 | |
117 VAR auth_sres "Authentication parameter SRES" | |
118 32 | |
119 | |
120 | |
121 VAR cm_serv_type "CM service type" | |
122 4 | |
123 | |
124 VAL @m_mm - VAL_cm_serv_type@ | |
125 | |
126 VAR follow "Follow on request" | |
127 1 | |
128 | |
129 VAL @m_mm - VAL_follow@ | |
130 | |
131 VAR ident_dig "Identity digit" | |
132 4 | |
133 | |
134 | |
135 VAR key_seq "key sequence" | |
136 3 | |
137 | |
138 VAL @m_mm - VAL_key_seq@ | |
139 | |
140 VAR lac "Location Area Code" | |
141 16 | |
142 | |
143 | |
144 VAR lut "Location updating type" | |
145 2 | |
146 | |
147 | |
148 VAR msg_type "Message Type" | |
149 8 | |
150 | |
151 | |
152 VAR mcc "Mobile Country Code" | |
153 4 | |
154 | |
155 | |
156 VAR mnc "Mobile Network Code" | |
157 4 | |
158 | |
159 | |
160 VAR odd_even "Odd Even indicaction" | |
161 1 | |
162 | |
163 VAL @m_mm - VAL_odd_even@ | |
164 | |
165 VAR rand "RAND value" | |
166 8 | |
167 | |
168 | |
169 VAR rej_cause "Reject cause" | |
170 8 | |
171 | |
172 VAL @m_mm - VAL_rej_cause@ | |
173 | |
174 VAR ident_type "Type of identity" | |
175 3 | |
176 | |
177 VAL @m_mm - VAL_ident_type@ | |
178 | |
179 VAR tmsi "TMSI" | |
180 32 | |
181 | |
182 | |
183 VAR dmy "Dummy" | |
184 4 | |
185 | |
186 | |
187 VAR sapi "SAPI" | |
188 2 | |
189 | |
190 VAL @m_mm - VAL_sapi@ | |
191 | |
192 VAR pd "PD" | |
193 4 | |
194 | |
195 VAL @m_mm - VAL_pd@ | |
196 | |
197 VAR cs "Coding Scheme" | |
198 3 | |
199 | |
200 VAL @m_mm - VAL_cs@ | |
201 | |
202 VAR add_ci "Add Country Information" | |
203 1 | |
204 | |
205 VAL @m_mm - VAL_add_ci@ | |
206 | |
207 VAR num_spare "Number of spare bits" | |
208 3 | |
209 | |
210 | |
211 VAR text "text string" | |
212 8 | |
213 | |
214 | |
215 VAR year "year" | |
216 4 | |
217 | |
218 | |
219 VAR month "month" | |
220 4 | |
221 | |
222 | |
223 VAR day "day" | |
224 4 | |
225 | |
226 | |
227 VAR hour "hour" | |
228 4 | |
229 | |
230 | |
231 VAR minute "minute" | |
232 4 | |
233 | |
234 | |
235 VAR second "second" | |
236 4 | |
237 | |
238 | |
239 VAR tz "time zone" | |
240 8 | |
241 | |
242 | |
243 VAR lsa_id "LSA identifier" | |
244 8 | |
245 | |
246 | |
247 VAR save_time_value "Daylight Saving Time Value" | |
248 2 | |
249 | |
250 VAL @m_mm - VAL_save_time_value@ | |
251 | |
252 | |
253 | |
254 | |
255 COMP auth_rand "Authentication parameter RAND" | |
256 { | |
257 rand [0..16] ; RAND value | |
258 } | |
259 | |
260 | |
261 | |
262 COMP ciph_key_num "Ciphering Key Sequence Number" | |
263 { | |
264 .0 ; spare | |
265 key_seq ; Key Sequence | |
266 } | |
267 | |
268 | |
269 | |
270 COMP follow_proceed "Follow on proceed" | |
271 { | |
272 } | |
273 | |
274 | |
275 | |
276 COMP ident "Identity type" | |
277 { | |
278 .0 ; spare | |
279 ident_type ; Type of identity | |
280 } | |
281 | |
282 | |
283 | |
284 COMP loc_area_ident "Location Area Identification" | |
285 { | |
286 BCD_NOFILL mcc [3] ; Mobile Country Code | |
287 BCD_MNC mnc [2..3] ; Mobile Network Code | |
288 lac ; Location Area Code | |
289 } | |
290 | |
291 | |
292 | |
293 COMP loc_upd_type "Location updating type" | |
294 { | |
295 follow ; follow on request | |
296 .0 ; spare | |
297 lut ; location updating type | |
298 } | |
299 | |
300 | |
301 | |
302 COMP mob_id "Mobile Identity" | |
303 { | |
304 ident_type (GETPOS,:,4,+,:,1,+,SETPOS) ; Type of identity | |
305 odd_even (SETPOS) ; Odd/ Even indicaction | |
306 < (ident_type # ID_TYPE_NO_IDENT AND ident_type # ID_TYPE_TMSI) BCDODD ident_dig [0..16] (SETPOS)> ; Identity digit | |
307 < (ident_type = ID_TYPE_TMSI) .1111 (:,SETPOS,8,+)> ; spare | |
308 < (ident_type = ID_TYPE_TMSI) tmsi [.32] (SETPOS)> ; TMSI | |
309 < (ident_type = ID_TYPE_NO_IDENT) dmy [0..16] (SETPOS)> ; dummy | |
310 } | |
311 | |
312 | |
313 | |
314 COMP pd_and_sapi "PD and SAPI" | |
315 { | |
316 .00 ; spare | |
317 sapi ; SAPI | |
318 pd ; PD | |
319 } | |
320 | |
321 | |
322 | |
323 COMP full_net_name "Full Network Name" | |
324 { | |
325 .1 ; ext | |
326 cs ; coding scheme | |
327 add_ci ; add country information | |
328 num_spare ; number of spare bits in last octett | |
329 text [0..MAXNAME] ; text string | |
330 } | |
331 TYPEDEF COMP full_net_name short_net_name "Short Network Name" | |
332 | |
333 | |
334 | |
335 COMP net_tz "Network Time Zone" | |
336 { | |
337 tz ; Network Time Zone | |
338 } | |
339 | |
340 | |
341 | |
342 COMP net_tz_and_time "Network Time Zone and Time" | |
343 { | |
344 BCDEVEN year [2] ; year | |
345 BCDEVEN month [2] ; month | |
346 BCDEVEN day [2] ; day | |
347 BCDEVEN hour [2] ; hour | |
348 BCDEVEN minute [2] ; minute | |
349 BCDEVEN second [2] ; second | |
350 tz ; Network Time Zone | |
351 } | |
352 | |
353 | |
354 | |
355 COMP lsa_identifier %REL99% "LSA identifier" | |
356 { | |
357 lsa_id [1..3] ; LSA ID | |
358 } | |
359 | |
360 | |
361 | |
362 COMP daylight_save_time %REL99% "Daylight Saving Time" | |
363 { | |
364 .000000 ; spare | |
365 save_time_value ; Daylight Saving Time value | |
366 } | |
367 | |
368 | |
369 | |
370 COMP eqv_plmn "PLMN" | |
371 { | |
372 BCD_NOFILL mcc [3] ; Mobile Country Code | |
373 BCD_MNC mnc [2..3] ; Mobile Network Code | |
374 } | |
375 | |
376 | |
377 | |
378 COMP eqv_plmn_list "Equivalent PLMN list" | |
379 { | |
380 eqv_plmn [1..5] ; Equivalent PLMN | |
381 } | |
382 | |
383 | |
384 | |
385 COMP cts_per "Structured Element" | |
386 { | |
387 } | |
388 | |
389 | |
390 | |
391 | |
392 | |
393 | |
394 MSG d_abort downlink 0b00101001 ; Abort | |
395 { | |
396 GSM3_V msg_type ; Message Type | |
397 GSM3_V rej_cause ; Reject cause | |
398 } | |
399 | |
400 | |
401 | |
402 MSG d_auth_rej downlink 0b00010001 ; Authentication reject | |
403 { | |
404 GSM3_V msg_type ; Message Type | |
405 } | |
406 | |
407 | |
408 | |
409 MSG d_auth_req downlink 0b00010010 ; Authentication request | |
410 { | |
411 GSM3_V msg_type ; Message Type | |
412 GSM1_V ciph_key_num ; Ciphering key sequence number | |
413 .0000 ; Spare half octet | |
414 GSM3_V auth_rand ; Authentication parameter RAND | |
415 } | |
416 | |
417 | |
418 | |
419 MSG u_auth_res uplink 0b00010100 ; Authentication response | |
420 { | |
421 GSM3_V msg_type ; Message Type | |
422 GSM3_V auth_sres ; Authentication parameter SRES | |
423 } | |
424 | |
425 | |
426 | |
427 MSG u_cm_reestab_req uplink 0b00101000 ; CM Re-establishment request | |
428 { | |
429 GSM3_V msg_type ; Message Type | |
430 GSM1_V ciph_key_num ; Ciphering key sequence number | |
431 .0000 ; Spare half octet | |
432 GSM4_LV EXTERN @m_rr_com - mob_class_2@ mob_class_2 ; Mobile station classmark | |
433 GSM4_LV mob_id ; Mobile identity | |
434 GSM3_TV loc_area_ident 0x13 ; Location area identification | |
435 } | |
436 | |
437 | |
438 | |
439 MSG u_cm_serv_abort uplink 0b00100011 ; CM service abort | |
440 { | |
441 GSM3_V msg_type ; Message Type | |
442 } | |
443 | |
444 | |
445 | |
446 MSG d_cm_serv_accept downlink 0b00100001 ; CM service accept | |
447 { | |
448 GSM3_V msg_type ; Message Type | |
449 } | |
450 | |
451 | |
452 | |
453 MSG d_cm_serv_rej downlink 0b00100010 ; CM service reject | |
454 { | |
455 GSM3_V msg_type ; Message Type | |
456 GSM3_V rej_cause ; Reject cause | |
457 } | |
458 | |
459 | |
460 | |
461 MSG u_cm_serv_req uplink 0b00100100 ; CM service request | |
462 { | |
463 GSM3_V msg_type ; Message Type | |
464 GSM1_V cm_serv_type ; CM service type | |
465 GSM1_V ciph_key_num ; Ciphering key sequence number | |
466 GSM4_LV EXTERN @m_rr_com - mob_class_2@ mob_class_2 ; Mobile station classmark | |
467 GSM4_LV mob_id ; Mobile identity | |
468 } | |
469 | |
470 | |
471 | |
472 MSG d_ident_req downlink 0b00011000 ; Identity request | |
473 { | |
474 GSM3_V msg_type ; Message Type | |
475 GSM1_V ident ; Identity type | |
476 .0000 ; Spare half octet | |
477 } | |
478 | |
479 | |
480 | |
481 MSG u_ident_res uplink 0b00011001 ; Identity response | |
482 { | |
483 GSM3_V msg_type ; Message Type | |
484 GSM4_LV mob_id ; Mobile identity | |
485 } | |
486 | |
487 | |
488 | |
489 MSG u_imsi_detach_ind uplink 0b00000001 ; IMSI detach indication | |
490 { | |
491 GSM3_V msg_type ; Message Type | |
492 GSM3_V EXTERN @m_rr_com - mob_class_1@ mob_class_1 ; Mobile station classmark | |
493 GSM4_LV mob_id ; Mobile identity | |
494 } | |
495 | |
496 | |
497 | |
498 MSG d_loc_upd_accept downlink 0b00000010 ; Location updating accept | |
499 { | |
500 GSM3_V msg_type ; Message Type | |
501 GSM3_V loc_area_ident ; Location area identification | |
502 GSM4_TLV mob_id 0x17 ; Mobile identity | |
503 GSM2_T follow_proceed 0xA1 ; Follow on proceed | |
504 GSM2_T cts_per 0xA2 ; CTS permission | |
505 GSM4_TLV eqv_plmn_list 0x4A ; Equivalent PLMNs | |
506 } | |
507 | |
508 | |
509 | |
510 MSG d_loc_upd_rej downlink 0b00000100 ; Location updating reject | |
511 { | |
512 GSM3_V msg_type ; Message Type | |
513 GSM3_V rej_cause ; Reject cause | |
514 } | |
515 | |
516 | |
517 | |
518 MSG u_loc_upd_req uplink 0b00001000 ; Location updating request | |
519 { | |
520 GSM3_V msg_type ; Message Type | |
521 GSM1_V loc_upd_type ; Location updating type | |
522 GSM1_V ciph_key_num ; Ciphering key sequence number | |
523 GSM3_V loc_area_ident ; Location area identification | |
524 GSM3_V EXTERN @m_rr_com - mob_class_1@ mob_class_1 ; Mobile station classmark | |
525 GSM4_LV mob_id ; Mobile identity | |
526 } | |
527 | |
528 | |
529 | |
530 MSG b_mm_status both 0b00110001 ; MM Status | |
531 { | |
532 GSM3_V msg_type ; Message Type | |
533 GSM3_V rej_cause ; Reject cause | |
534 } | |
535 | |
536 | |
537 | |
538 MSG d_tmsi_realloc_cmd downlink 0b00011010 ; TMSI reallocation command | |
539 { | |
540 GSM3_V msg_type ; Message Type | |
541 GSM3_V loc_area_ident ; Location area identification | |
542 GSM4_LV mob_id ; Mobile identity | |
543 } | |
544 | |
545 | |
546 | |
547 MSG u_tmsi_realloc_comp uplink 0b00011011 ; TMSI reallocation complete | |
548 { | |
549 GSM3_V msg_type ; Message Type | |
550 } | |
551 | |
552 | |
553 | |
554 MSG d_cm_service_prompt downlink 0b00100101 ; CM service prompt | |
555 { | |
556 GSM3_V msg_type ; Message Type | |
557 GSM3_V pd_and_sapi ; PD and SAPI | |
558 } | |
559 | |
560 | |
561 | |
562 MSG d_mm_information downlink 0b00110010 ; MM Information | |
563 { | |
564 GSM3_V msg_type ; Message Type | |
565 GSM4_TLV full_net_name 0x43 ; Full name for network | |
566 GSM4_TLV short_net_name 0x45 ; Short name for network | |
567 GSM3_TV net_tz 0x46 ; Network Time Zone | |
568 GSM3_TV net_tz_and_time 0x47 ; Network Zone and Time | |
569 GSM4_TLV lsa_identifier 0x48 ; LSA Identity | |
570 GSM4_TLV daylight_save_time 0x49 ; Daylight Saving Time | |
571 } | |
572 | |
573 | |
574 | |
575 | |
576 | |
577 |