comparison cdg211/prim/dl.pdf @ 4:56abf6cf8a0b

cdg211: cdginc/mdf/pdf files from TCS211-20070608
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 01:11:35 +0000
parents
children
comparison
equal deleted inserted replaced
3:93999a60b835 4:56abf6cf8a0b
1 ;********************************************************************************
2 ;*** File : dl.pdf
3 ;*** Creation : Fri Jun 08 13:57:15 CST 2007
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 : dl
9 ;*** Document No. : 8010.100.02.010
10 ;*** Document Date : 2004-04-28
11 ;*** Document Status: BEING_PROCESSED
12 ;*** Document Author: MSB
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Wed Jun 23 09:49:58 2004"
18 PRAGMA LAST_MODIFIED "2004-04-28"
19 PRAGMA ID_AND_VERSION "8010.100.02.010"
20 PRAGMA PREFIX DL ; Prefix for this document
21 PRAGMA ALLWAYS_ENUM_IN_VAL_FILE YES ; Adds enumerations in the .val file.
22 PRAGMA ENABLE_GROUP NO ; Enable h-file grouping
23 PRAGMA COMPATIBILITY_DEFINES NO ; Compatible to the old #defines
24
25
26
27 CONST MAX_SDU_LEN 1 ; Maximum number of bytes in an SDU (dummy value)
28 CONST N201_SACCH_A_B 18 ; Maximum number of octets for the information field for frames of format A and B (SACCH)
29 CONST N201_DCCH_A_B 20 ; Maximum number of octets for the information field for frames of format A and B (SDCCH, FACCH)
30 CONST N201_Bbis 23 ; Maximum number of octets for the information field for frames of format Bbis (BCCH,AGCH,NCH,PCH)
31 CONST N201_SACCH_Bter 21 ; Maximum number of octets for the information field for frames of format Bter (SACCH)
32 CONST N201_DCCH_Bter 23 ; Maximum number of octets for the information field for frames of format Bter (FACCH,SDCCH)
33 EXTERN CONST @p_mphc - MAX_L2_FRAME_SIZE@ MAX_L2_FRAME_SIZE ; Maximum number of octets for layer 2 frames of all formats
34
35
36
37 VALTAB VAL_l2_channel %!TI_DUAL_MODE%
38 VAL 1 L2_CHANNEL_SACCH "SACCH block"
39 VAL 2 L2_CHANNEL_SDCCH "SDCCH block"
40 VAL 3 L2_CHANNEL_FACCH_H "FACCH halfrate block"
41 VAL 4 L2_CHANNEL_FACCH_F "FACCH fullrate block"
42 VAL 5 L2_CHANNEL_CCCH "CCCH block"
43 VAL 6 L2_CHANNEL_NBCCH "normal BCCH block"
44 VAL 7 L2_CHANNEL_PCH "PCH block"
45 VAL 8 L2_CHANNEL_EPCH "extended PCH block"
46 VAL 9 L2_CHANNEL_CBCH "CBCH block"
47 VAL 10 L2_CHANNEL_EBCCH "extended BCCH"
48
49 VALTAB VAL_sapi
50 VAL 0 SAPI_0 %!TI_DUAL_MODE% "SAPI 0"
51 VAL 3 SAPI_3 %!TI_DUAL_MODE% "SAPI 3"
52
53 VALTAB VAL_indication
54 VAL 0 ALL_DONE "no unacknowledges or unserved data requests"
55 VAL 1 UNSERVED "unserved data requests"
56
57 VALTAB VAL_mode
58 VAL 0 NORMAL_RELEASE "normal release procedure"
59 VAL 1 LOCAL_END_RELEASE "local end release procedure"
60
61 VALTAB VAL_cnf
62 VAL 0 NO_CONFIRMATION "no confimation necessary"
63
64 VALTAB VAL_cs
65 VAL 0 INFO_FIELD_MISMATCH %!TI_DUAL_MODE% "different information fields"
66
67
68
69
70 VAR l2_channel %!TI_DUAL_MODE% "Layer 2 channel-type" B
71
72 VAL @p_mphc - VAL_l2_channel@
73
74 VAR indication "Indication for unserved data requests" B
75
76 VAL @p_dl - VAL_indication@
77
78 VAR mode "release mode" B
79
80 VAL @p_dl - VAL_mode@
81
82 VAR sapi %!TI_DUAL_MODE% "service access point identifier" B
83
84 VAL @p_dl - VAL_sapi@
85
86 VAR cnf "Confimation demand" B
87
88 VAL @p_dl - VAL_cnf@
89
90 VAR l_buf %!TI_DUAL_MODE% "Length in bits" S
91
92
93 VAR o_buf %!TI_DUAL_MODE% "Offset in bits" S
94
95
96 VAR buf %!TI_DUAL_MODE% "Message content" B
97
98
99 VAR cs %!TI_DUAL_MODE% "error cause" B
100
101 VAL @p_dl - VAL_cs@
102
103 VAR error_flag "error cause" B
104
105 VAL @p_mphc - VAL_error_flag@
106
107 VAR pwr_lev "Ordered mobile power level" B
108
109
110 VAR ta "Timing advance" B
111
112
113 VAR signal_data "Pointer to signal data" L
114
115
116 VAR fn "Frame number" L
117
118
119
120
121
122 COMP sdu %!TI_DUAL_MODE% "Container for a message"
123 {
124 l_buf ; Length in bits
125 o_buf ; Offset in bits
126 buf [MAX_SDU_LEN] ; Message content
127 }
128
129
130
131
132
133
134 ; DL_ESTABLISH_REQ 0x80000003
135 ; DL_ESTABLISH_CNF 0x80014003
136 ; DL_ESTABLISH_IND 0x80004003
137 ; DL_RELEASE_REQ 0x80020003
138 ; DL_RELEASE_CNF 0x80034003
139 ; DL_RELEASE_IND 0x80024003
140 ; DL_DATA_REQ 0x80040003
141 ; DL_DATA_CNF 0x80050003
142 ; DL_DATA_IND 0x80044003
143 ; DL_UNITDATA_REQ 0x80060003
144 ; DL_UNITDATA_IND 0x80064003
145 ; DL_SHORT_UNITDATA_REQ 0x80100003
146 ; DL_SHORT_UNITDATA_IND 0x80104003
147 ; DL_SUSPEND_REQ 0x80080003
148 ; DL_RESUME_REQ 0x800A0003
149 ; DL_RECONNECT_REQ 0x800C0003
150 ; DL_TRACE_REQ 0x800E0003
151 ; DL_SIGNAL_ESTABLISH_IND 0x80124003
152 ; DL_SIGNAL_ESTABLISH_CNF 0x80134003
153 ; DL_SIGNAL_DATA_IND 0x80144003
154 ; DL_SIGNAL_DATA_CNF 0x80154003
155 ; DL_SIGNAL_UNITDATA_IND 0x80164003
156 ; DL_SIGNAL_SHORT_UNITDATA_IND 0x80184003
157 ; DL_SIGNAL_RELEASE_IND 0x801A4003
158 ; DL_SIGNAL_RELEASE_CNF 0x801B4003
159 ; DL_SIGNAL_ERROR_IND 0x801C4003
160 ; DL_SIGNAL_FREE_POINTER 0x801D4003
161 ; DL_SIGNAL_CONCATENATE 0x801E4003
162 ; DL_SIGNAL_L2TRACE 0x801F4003
163 ; DL_SIGNAL_L3TRACE 0x80204003
164 ; DL_SIGNAL_EM_IND 0x80214003
165 ; DL_SIGNAL_EM_WRITE 0x80224003
166 ; DL_SIGNAL_EM_READ 0x80234003
167
168
169
170 PRIM DL_ESTABLISH_REQ 0x80000003
171 {
172 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
173 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
174 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
175 sapi %!TI_DUAL_MODE% ; Service access point identifier
176 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
177 sdu %!TI_DUAL_MODE% ; Service data unit
178 }
179
180
181
182
183
184
185 PRIM DL_ESTABLISH_CNF 0x80014003
186 {
187 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
188 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
189 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
190 sapi %!TI_DUAL_MODE% ; Service access point identifier
191 indication ; Indication of outstanding acknowledgements or unserved DL-DATA-REQUEST primitives
192 }
193
194
195
196
197
198
199 PRIM DL_ESTABLISH_IND 0x80004003
200 {
201 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
202 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
203 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
204 sapi %!TI_DUAL_MODE% ; Service access point identifier
205 indication ; Indication of outstanding acknowledgements or unserved DL-DATA-REQUEST primitives
206 }
207
208
209
210
211
212
213 PRIM DL_RELEASE_REQ 0x80020003
214 {
215 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
216 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
217 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
218 sapi %!TI_DUAL_MODE% ; Service access point identifier
219 mode ; Release mode
220 }
221
222
223
224
225
226
227 PRIM DL_RELEASE_CNF 0x80034003
228 {
229 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
230 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
231 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
232 sapi %!TI_DUAL_MODE% ; Service access point identifier
233 indication ; Indication of outstanding acknowledgements or unserved DL-DATA-REQUEST primitives
234 }
235
236
237
238
239
240
241 PRIM DL_RELEASE_IND 0x80024003
242 {
243 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
244 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
245 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
246 sapi %!TI_DUAL_MODE% ; Service access point identifier
247 EXTERN @p_8010_153_cause_include - ps_cause@ ps_cause %TI_DUAL_MODE% ; Error cause
248 cs %!TI_DUAL_MODE% ; Error cause
249 }
250
251
252
253
254
255
256 PRIM DL_DATA_REQ 0x80040003
257 {
258 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
259 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
260 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
261 sapi %!TI_DUAL_MODE% ; Service access point identifier
262 cnf ; confirmation demand
263 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
264 sdu %!TI_DUAL_MODE% ; Service data unit
265 }
266
267
268
269
270
271
272 PRIM DL_DATA_CNF 0x80050003
273 {
274 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
275 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
276 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
277 sapi %!TI_DUAL_MODE% ; Service access point identifier
278 cnf ; confirmation demand
279 }
280
281
282
283
284
285
286 PRIM DL_DATA_IND 0x80044003
287 {
288 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
289 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
290 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
291 sapi %!TI_DUAL_MODE% ; Service access point identifier
292 EXTERN @p_8010_147_l1_include - fn@ fn %TI_DUAL_MODE% ; Frame number
293 fn %!TI_DUAL_MODE% ; Frame number
294 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
295 sdu %!TI_DUAL_MODE% ; Service data unit
296 }
297
298
299
300
301
302
303 PRIM DL_UNITDATA_REQ 0x80060003
304 {
305 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
306 sdu %!TI_DUAL_MODE% ; Service data unit
307 }
308
309
310
311
312
313
314 PRIM DL_UNITDATA_IND 0x80064003
315 {
316 error_flag ; Indicates if l2_frame data is invalid
317 pwr_lev ; Ordered mobile power level
318 ta ; Timing advance
319 EXTERN @p_8010_147_l1_include - fn@ fn %TI_DUAL_MODE% ; Frame number
320 fn %!TI_DUAL_MODE% ; Frame number
321 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
322 sdu %!TI_DUAL_MODE% ; Service data unit
323 }
324
325
326
327
328
329
330 PRIM DL_SHORT_UNITDATA_REQ 0x80100003
331 {
332 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
333 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
334 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
335 sdu %!TI_DUAL_MODE% ; Service data unit
336 }
337
338
339
340
341
342
343 PRIM DL_SHORT_UNITDATA_IND 0x80104003
344 {
345 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
346 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
347 error_flag ; Indicates if l2_frame data is invalid
348 pwr_lev ; Ordered mobile power level
349 ta ; Timing advance
350 EXTERN @p_8010_147_l1_include - fn@ fn %TI_DUAL_MODE% ; Frame number
351 fn %!TI_DUAL_MODE% ; Frame number
352 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
353 sdu %!TI_DUAL_MODE% ; Service data unit
354 }
355
356
357
358
359
360
361 PRIM DL_SUSPEND_REQ 0x80080003
362 {
363 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
364 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
365 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
366 sapi %!TI_DUAL_MODE% ; Service access point identifier
367 }
368
369
370
371
372
373
374 PRIM DL_RESUME_REQ 0x800A0003
375 {
376 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
377 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
378 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
379 sapi %!TI_DUAL_MODE% ; Service access point identifier
380 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
381 sdu %!TI_DUAL_MODE% ; Service data unit
382 }
383
384
385
386
387
388
389 PRIM DL_RECONNECT_REQ 0x800C0003
390 {
391 EXTERN @p_8010_147_l1_include - l2_channel@ l2_channel AS ch_type %TI_DUAL_MODE% ; Channel type
392 l2_channel AS ch_type %!TI_DUAL_MODE% ; Channel type
393 EXTERN @p_8010_152_ps_include - sapi@ sapi %TI_DUAL_MODE% ; Service access point identifier
394 sapi %!TI_DUAL_MODE% ; Service access point identifier
395 EXTERN @p_8010_152_ps_include - sdu@ sdu %TI_DUAL_MODE% ; Service data unit
396 sdu %!TI_DUAL_MODE% ; Service data unit
397 }
398
399
400
401
402
403
404 PRIM DL_TRACE_REQ 0x800E0003
405 {
406 }
407
408
409
410
411
412
413 PRIM DL_SIGNAL_ESTABLISH_IND 0x80124003
414 {
415 signal_data AS signal_data ; Pointer
416 }
417
418
419
420
421
422
423 PRIM DL_SIGNAL_ESTABLISH_CNF 0x80134003
424 {
425 signal_data AS signal_data ; Pointer
426 }
427
428
429
430
431
432
433 PRIM DL_SIGNAL_DATA_IND 0x80144003
434 {
435 signal_data AS signal_data ; Pointer
436 }
437
438
439
440
441
442
443 PRIM DL_SIGNAL_DATA_CNF 0x80154003
444 {
445 signal_data AS signal_data ; Pointer
446 }
447
448
449
450
451
452
453 PRIM DL_SIGNAL_UNITDATA_IND 0x80164003
454 {
455 signal_data AS signal_data ; Pointer
456 }
457
458
459
460
461
462
463 PRIM DL_SIGNAL_SHORT_UNITDATA_IND 0x80184003
464 {
465 signal_data AS signal_data ; Pointer
466 }
467
468
469
470
471
472
473 PRIM DL_SIGNAL_RELEASE_IND 0x801A4003
474 {
475 signal_data AS signal_data ; Pointer
476 }
477
478
479
480
481
482
483 PRIM DL_SIGNAL_RELEASE_CNF 0x801B4003
484 {
485 signal_data AS signal_data ; Pointer
486 }
487
488
489
490
491
492
493 PRIM DL_SIGNAL_ERROR_IND 0x801C4003
494 {
495 signal_data AS signal_data ; Pointer
496 }
497
498
499
500
501
502
503 PRIM DL_SIGNAL_FREE_POINTER 0x801D4003
504 {
505 signal_data AS signal_data ; Pointer
506 }
507
508
509
510
511
512
513 PRIM DL_SIGNAL_CONCATENATE 0x801E4003
514 {
515 signal_data AS signal_data ; Pointer
516 }
517
518
519
520
521
522
523 PRIM DL_SIGNAL_L2TRACE 0x801F4003
524 {
525 signal_data AS signal_data ; Pointer
526 }
527
528
529
530
531
532
533 PRIM DL_SIGNAL_L3TRACE 0x80204003
534 {
535 signal_data AS signal_data ; Pointer
536 }
537
538
539
540
541
542
543 PRIM DL_SIGNAL_EM_IND 0x80214003
544 {
545 }
546
547
548
549
550
551
552 PRIM DL_SIGNAL_EM_WRITE 0x80224003
553 {
554 signal_data AS signal_data ; Pointer
555 }
556
557
558
559
560
561
562 PRIM DL_SIGNAL_EM_READ 0x80234003
563 {
564 }
565
566
567
568
569
570
571
572
573