comparison cdg211/prim/ll.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 : ll.pdf
3 ;*** Creation : Fri Jun 08 13:57:42 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 : ll
9 ;*** Document No. : 8441.104.99.017
10 ;*** Document Date : 2003-02-04
11 ;*** Document Status: BEING_PROCESSED
12 ;*** Document Author: UT
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Tue Mar 29 15:21:38 2005"
18 PRAGMA LAST_MODIFIED "2003-02-04"
19 PRAGMA ID_AND_VERSION "8441.104.99.017"
20
21
22
23 CONST N202 4 ; maximum number of octets in the layer-3 header, Requirements: <R.LLC.LLC_PAR.A.008>, <R.LLC.TXUI_ADM.A.003>, <R.LLC.RXUI_ADM.A.003>
24 CONST LLC_SDU_OFFSET 37 ; number of octets that have to be reserved at the beginning of an SDU when an upper layer allocates an SDU for uplink data transfer; these octets are the maximum number of octets that the LLC header can occupy, they have to be skipped when upper layers write / read the contents of the SDU
25 CONST LLC_SDU_OFFSET_BITS 296 ; LLC_SDU_OFFSET in bits. NOTE: When this definition is changed, upper layer SAPs may also need to be changed!
26 CONST LLC_MAX_L3_XID_LEN 255 ; Maximum byte length of the L3 XID parameter.
27 CONST LLC_MAX_L3_XID_LEN 255 ; Maximum byte length of the L3 XID parameter.
28 CONST LLC_MAX_CNF 32 ; Maximum number of L3-PDU confirmations included in one LL_DATA_CNF
29 EXTERN CONST @p_gsmcom - LLC_ORIGINATING_ENTITY@ LLC_ORIGINATING_ENTITY ; mask for indicating the originating entity of a cause is LLC
30
31
32
33 VALTAB VAL_sapi
34 VAL 1 LL_SAPI_1 "SAP for GMM"
35 VAL 3 LL_SAPI_3 "SAP 1 for SNDCP"
36 VAL 5 LL_SAPI_5 "SAP 2 for SNDCP"
37 VAL 7 LL_SAPI_7 "SAP for SMS"
38 VAL 9 LL_SAPI_9 "SAP 3 for SNDCP"
39 VAL 11 LL_SAPI_11 "SAP 4 for SNDCP"
40 VAL 255 LL_SAPI_INVALID "invalid SAPI identifier"
41
42 VALTAB VAL_tlli
43 VAL 0xFFFFFFFF LL_TLLI_INVALID "invalid TLLI value"
44
45 VALTAB VAL_xid_valid
46 VAL 0 LL_XID_INVALID "layer-3 XID parameters are not valid"
47 VAL 1 LL_XID_VALID "layer-3 XID parameters are valid"
48
49 VALTAB VAL_local
50 VAL 0 LL_REL_NOTLOCAL "release both sides of the connection"
51 VAL 1 LL_REL_LOCAL "local release only (no notification of the peer LLC)"
52
53 VALTAB VAL_cause
54 VAL 0b0101000000000000 LL_RELCS_INVALID_XID "invalid XID response"
55 VAL 0b0101000000000001 LL_RELCS_DM_RECEIVED "DM received"
56 VAL 0b0101000000000010 LL_RELCS_NO_PEER_RES "no peer response"
57 VAL 0b0101000000000100 LL_RELCS_NORMAL "normal release"
58
59 VALTAB VAL_cipher
60 VAL 0 LL_CIPHER_OFF "UI frame not ciphered"
61 VAL 1 LL_CIPHER_ON "UI frame ciphered"
62
63 VALTAB VAL_radio_prio
64 VAL 0 LL_RADIO_PRIO_1 "Radio Priority Level 1 (higest)"
65 VAL 1 LL_RADIO_PRIO_2 "Radio Priority Level 2"
66 VAL 2 LL_RADIO_PRIO_3 "Radio Priority Level 3"
67 VAL 3 LL_RADIO_PRIO_4 "Radio Priority Level 4 (lowest)"
68
69 VALTAB VAL_peak
70 VAL 0 LL_PEAK_SUB "Subscribed peak throughput"
71 VAL 1 LL_PEAK_1K "Up to 1 000 octet/s"
72 VAL 2 LL_PEAK_2K "Up to 2 000 octet/s"
73 VAL 3 LL_PEAK_4K "Up to 4 000 octet/s"
74 VAL 4 LL_PEAK_8K "Up to 8 000 octet/s"
75 VAL 5 LL_PEAK_16K "Up to 16 000 octet/s"
76 VAL 6 LL_PEAK_32K "Up to 32 000 octet/s"
77 VAL 7 LL_PEAK_64K "Up to 64 000 octet/s"
78 VAL 8 LL_PEAK_128K "Up to 128 000 octet/s"
79 VAL 9 LL_PEAK_256K "Up to 256 000 octet/s"
80
81 VALTAB VAL_relclass
82 VAL 0 LL_RELCLASS_SUB "Subscribed reliability class"
83 VAL 1 LL_GTP_LLC_RLC_PROT "Acknowledged GTP, LLC, and RLC; Protected data"
84 VAL 2 LL_LLC_RLC_PROT "Unacknowledged GTP; Acknowledged LLC and RLC, Protected data"
85 VAL 3 LL_RLC_PROT "Unacknowledged GTP and LLC; Acknowledged RLC, Protected data"
86 VAL 4 LL_PROT "Unacknowledged GTP, LLC, and RLC, Protected data"
87 VAL 5 LL_NO_REL "Unacknowledged GTP, LLC, and RLC, Unprotected data"
88
89 VALTAB VAL_delay
90 VAL 0 LL_DELAY_SUB "Subscribed delay class"
91 VAL 1 LL_DELAY_1 "Delay class 1"
92 VAL 2 LL_DELAY_2 "Delay class 2"
93 VAL 3 LL_DELAY_3 "Delay class 3"
94 VAL 4 LL_DELAY_4 "Delay class 4 (best effort)"
95
96 VALTAB VAL_mean
97 VAL 0 LL_MEAN_SUB "Subscribed mean throughput"
98 VAL 1 LL_MEAN_100 "100 octet/h"
99 VAL 2 LL_MEAN_200 "200 octet/h"
100 VAL 3 LL_MEAN_500 "500 octet/h"
101 VAL 4 LL_MEAN_1K "1 000 octet/h"
102 VAL 5 LL_MEAN_2K "2 000 octet/h"
103 VAL 6 LL_MEAN_5K "5 000 octet/h"
104 VAL 7 LL_MEAN_10K "10 000 octet/h"
105 VAL 8 LL_MEAN_20K "20 000 octet/h"
106 VAL 9 LL_MEAN_50K "50 000 octet/h"
107 VAL 10 LL_MEAN_100K "100 000 octet/h"
108 VAL 11 LL_MEAN_200K "200 000 octet/h"
109 VAL 12 LL_MEAN_500K "500 000 octet/h"
110 VAL 13 LL_MEAN_1M "1 000 000 octet/h"
111 VAL 14 LL_MEAN_2M "2 000 000 octet/h"
112 VAL 15 LL_MEAN_5M "5 000 000 octet/h"
113 VAL 16 LL_MEAN_10M "10 000 000 octet/h"
114 VAL 17 LL_MEAN_20M "20 000 000 octet/h"
115 VAL 18 LL_MEAN_50M "50 000 000 octet/h"
116 VAL 31 LL_MEAN_BEST "Best effort"
117
118 VALTAB VAL_preced
119 VAL 0 LL_PRECED_SUB "Subscribed precedence"
120 VAL 1 LL_PRIO_HIGH "High priority"
121 VAL 2 LL_PRIO_NORM "Normal priority"
122 VAL 3 LL_PRIO_LOW "Low priority"
123
124 VALTAB VAL_error_cause
125 VAL 0b0101000000000000 LL_ERRCS_INVALID_XID "invalid XID response"
126 VAL 0b0101000000000010 LL_ERRCS_NO_PEER_RES "no peer response"
127
128 VALTAB VAL_attached_counter
129 VAL 0 LLC_NO_ATTACHE "no entity/service is attached to the primitive"
130
131 VALTAB VAL_seg_pos
132 VAL 0 LL_SEG_POS_NONE "In between"
133 VAL 1 LL_SEG_POS_FIRST "first"
134 VAL 2 LL_SEG_POS_LAST "last"
135 VAL 3 LL_SEG_POS_FIRST_LAST "both"
136
137
138
139
140 VAR sapi "service access point identifier" B
141
142 VAL @p_ll - VAL_sapi@
143
144 VAR tlli "temporary logical link identifier" L
145
146 VAL @p_ll - VAL_tlli@
147
148 VAR xid_valid "layer-3 XID parameters valid or not" B
149
150 VAL @p_ll - VAL_xid_valid@
151
152 VAR l_buf "length of content in bit" S
153
154
155 VAR o_buf "offset of content in bit" S
156
157
158 VAR buf "buffer content" B
159
160
161 VAR n201_u "maximum number of octets in an U or UI frame information field" S
162
163
164 VAR n201_i "maximum number of octets in an I frame information field" S
165
166
167 VAR local "local release or release both sides" B
168
169 VAL @p_ll - VAL_local@
170
171 VAR cause "cause of ABM termination" S
172
173 VAL @p_ll - VAL_cause@
174
175 VAR ref_nsapi "ref_nsapi" B
176
177
178 VAR ref_npdu_num "ref_npdu_num" S
179
180
181 VAR ref_seg_num "ref_seg_num" B
182
183
184 VAR cipher "ciphering indicator" B
185
186 VAL @p_ll - VAL_cipher@
187
188 VAR radio_prio "Radio Priority" B
189
190 VAL @p_ll - VAL_radio_prio@
191
192 VAR delay "delay class" B
193
194 VAL @p_ll - VAL_delay@
195
196 VAR relclass "reliability class" B
197
198 VAL @p_ll - VAL_relclass@
199
200 VAR peak "peak throughput" B
201
202 VAL @p_ll - VAL_peak@
203
204 VAR preced "precedence class" B
205
206 VAL @p_ll - VAL_preced@
207
208 VAR mean "main throughput" B
209
210 VAL @p_ll - VAL_mean@
211
212 VAR reserved_1 "reserved" B
213
214
215 VAR reserved_2 "reserved" B
216
217
218 VAR reserved_3 "reserved" B
219
220
221 VAR reserved_release_cnf "reserved octets for release confirm" B
222
223
224 VAR reserved_data_req1 "reserved octets" B
225
226
227 VAR reserved_data_req4 "reserved octets for data request" L
228
229
230 VAR reserved_data_req5 "reserved octets" S
231
232
233 VAR reserved_unitdata_req4 "reserved octets for unitdata request" L
234
235
236 VAR reserved_unitdata_req5 "reserved octets" S
237
238
239 VAR reserved_data_ind1 "reserved octets for data indication" L
240
241
242 VAR reserved_data_ind3 "reserved octets for data indication" B
243
244
245 VAR reserved_data_ind4 "reserved octets for data indication" B
246
247
248 VAR reserved_data_ind5 "reserved octets for data indication" B
249
250
251 VAR reserved_data_ind6 "reserved octets for data indication" B
252
253
254 VAR reserved_unitdata_ind1 "reserved octets" L
255
256
257 VAR reserved_unitdata_ind3 "reserved octets" B
258
259
260 VAR reserved_unitdata_ind4 "reserved octets" B
261
262
263 VAR reserved_unitdata_ind5 "reserved octets" B
264
265
266 VAR error_cause "error cause" S
267
268 VAL @p_ll - VAL_error_cause@
269
270 VAR attached_counter "attached to primitive data counter" B
271
272 VAL @p_ll - VAL_attached_counter@
273
274 VAR seg_pos "First and/or last segment of N-PDU?" B
275
276 VAL @p_ll - VAL_seg_pos@
277
278 VAR list_len "length in octets of whole data" S
279
280
281 VAR first "pointer to first generic data descriptor" L
282
283
284 VAR next "next generic data descriptor" L
285
286
287 VAR offset "offset in octets" S
288
289
290 VAR len "length of content in octets" S
291
292
293 VAR buffer "pointer to buffer" L
294
295
296
297
298
299 COMP sdu "service data unit"
300 {
301 l_buf ; length of content in bit
302 o_buf ; offset of content in bit
303 buf [1] ; buffer content
304 }
305
306
307
308 COMP reference1 "to the segment to be confirmed"
309 {
310 ref_nsapi ; ref_nsapi
311 ref_npdu_num ; ref_npdu_num
312 ref_seg_num ; ref_seg_num
313 }
314 TYPEDEF COMP reference1 reserved_unitdata_req1 "reserved octets"
315 TYPEDEF COMP reference1 reserved_data_ind2 "reserved octets"
316 TYPEDEF COMP reference1 reserved_unitdata_ind2 "reserved octets"
317
318
319
320 COMP ll_qos "quality of service"
321 {
322 delay ; delay class
323 relclass ; reliability class
324 peak ; peak throughput
325 preced ; precedence class
326 mean ; main throughput
327 reserved_1 ; reserved
328 reserved_2 ; reserved
329 reserved_3 ; reserved
330 }
331
332
333
334 COMP desc_list3 "List of generic data descriptors"
335 {
336 list_len ; length in octets of whole data
337 first ; pointer to first generic data descriptor
338 }
339
340
341
342 COMP desc3 "generic data descriptor"
343 {
344 next ; next generic data descriptor
345 offset ; offset in octets
346 len ; length of content in octets
347 buffer ; pointer to buffer
348 }
349
350
351
352
353
354
355 ; LL_RESET_IND 0x6200
356 ; LL_ESTABLISH_REQ 0x2200
357 ; LL_ESTABLISH_CNF 0x6201
358 ; LL_ESTABLISH_IND 0x6202
359 ; LL_ESTABLISH_RES 0x2201
360 ; LL_RELEASE_REQ 0x2202
361 ; LL_RELEASE_CNF 0x6203
362 ; LL_RELEASE_IND 0x6204
363 ; LL_XID_REQ 0x2203
364 ; LL_XID_CNF 0x6205
365 ; LL_XID_IND 0x6206
366 ; LL_XID_RES 0x2204
367 ; LL_READY_IND 0x6207
368 ; LL_UNITREADY_IND 0x6208
369 ; LL_GETDATA_REQ 0x2205
370 ; LL_GETUNITDATA_REQ 0x2206
371 ; LL_DATA_REQ 0x2207
372 ; LL_DATA_CNF 0x6209
373 ; LL_DATA_IND 0x620A
374 ; LL_UNITDATA_REQ 0x2208
375 ; LL_UNITDATA_IND 0x620B
376 ; LL_STATUS_IND 0x620C
377 ; LL_DESC_REQ 0x2209
378 ; LL_UNITDESC_REQ 0x220A
379 ; LLC_DUMMY_REQ 0x220B
380
381
382
383 PRIM LL_RESET_IND 0x6200
384 {
385 sapi ; service access point identifier
386 }
387
388
389
390
391
392
393 PRIM LL_ESTABLISH_REQ 0x2200
394 {
395 sapi ; service access point identifier
396 sdu ; layer-3 XID parameters to be negotiated
397 }
398
399
400
401
402
403
404 PRIM LL_ESTABLISH_CNF 0x6201
405 {
406 sapi ; service access point identifier
407 n201_u ; unacknowledged information field length
408 n201_i ; acknowledged information field length
409 xid_valid ; layer-3 XID parameters valid
410 sdu ; negotiated layer-3 XID parameters
411 }
412
413
414
415
416
417
418 PRIM LL_ESTABLISH_IND 0x6202
419 {
420 sapi ; service access point identifier
421 n201_u ; unacknowledged information field length
422 n201_i ; acknowledged information field length
423 xid_valid ; layer-3 XID parameters valid
424 sdu ; layer-3 XID parameters to be negotiated
425 }
426
427
428
429
430
431
432 PRIM LL_ESTABLISH_RES 0x2201
433 {
434 sapi ; service access point identifier
435 xid_valid ; layer-3 XID parameters valid
436 sdu ; negotiated layer-3 XID parameters
437 }
438
439
440
441
442
443
444 PRIM LL_RELEASE_REQ 0x2202
445 {
446 sapi ; service access point identifier
447 local ; local release
448 }
449
450
451
452
453
454
455 PRIM LL_RELEASE_CNF 0x6203
456 {
457 sapi ; service access point identifier
458 reserved_release_cnf ; reserved octets for release confirm
459 }
460
461
462
463
464
465
466 PRIM LL_RELEASE_IND 0x6204
467 {
468 sapi ; service access point identifier
469 cause ; cause of ABM termination
470 }
471
472
473
474
475
476
477 PRIM LL_XID_REQ 0x2203
478 {
479 sapi ; service access point identifier
480 sdu ; service data unit
481 }
482
483
484
485
486
487
488 PRIM LL_XID_CNF 0x6205
489 {
490 sapi ; service access point identifier
491 n201_u ; unacknowledged information field length
492 n201_i ; acknowledged information field length
493 sdu ; service data unit
494 }
495
496
497
498
499
500
501 PRIM LL_XID_IND 0x6206
502 {
503 sapi ; service access point identifier
504 n201_u ; unacknowledged information field length
505 n201_i ; acknowledged information field length
506 xid_valid ; layer-3 XID parameters valid
507 sdu ; layer-3 XID parameters to be negotiated
508 }
509
510
511
512
513
514
515 PRIM LL_XID_RES 0x2204
516 {
517 sapi ; service access point identifier
518 sdu ; service data unit
519 }
520
521
522
523
524
525
526 PRIM LL_READY_IND 0x6207
527 {
528 sapi ; service access point identifier
529 }
530
531
532
533
534
535
536 PRIM LL_UNITREADY_IND 0x6208
537 {
538 sapi ; service access point identifier
539 }
540
541
542
543
544
545
546 PRIM LL_GETDATA_REQ 0x2205
547 {
548 sapi ; service access point identifier
549 }
550
551
552
553
554
555
556 PRIM LL_GETUNITDATA_REQ 0x2206
557 {
558 sapi ; service access point identifier
559 tlli ; temporary logical link entity
560 }
561
562
563
564
565
566
567 PRIM LL_DATA_REQ 0x2207
568 {
569 sapi ; service access point identifier
570 tlli ; temporary logical link entity
571 ll_qos ; quality of service
572 radio_prio ; radio priority
573 reserved_data_req1 ; reserved octet
574 reference1 ; reference to the PDU
575 seg_pos ; reserved octets
576 attached_counter ; attached to primitive counter
577 reserved_data_req4 ; reserved octets for data request
578 reserved_data_req5 ; reserved octets for data request
579 sdu ; service data unit
580 }
581
582
583
584
585
586
587 PRIM LL_DATA_CNF 0x6209
588 {
589 sapi ; service access point identifier
590 reference1 [1..LLC_MAX_CNF] ; reference to the PDU
591 }
592
593
594
595
596
597
598 PRIM LL_DATA_IND 0x620A
599 {
600 sapi ; service access point identifier
601 tlli ; temporary logical link entity
602 reserved_data_ind1 ; reserved octets
603 reserved_data_ind2 ; reserved octets
604 reserved_data_ind3 ; reserved octets
605 reserved_data_ind4 ; reserved octets
606 reserved_data_ind5 ; reserved octets
607 reserved_data_ind6 ; reserved octets
608 sdu ; service data unit
609 }
610
611
612
613
614
615
616 PRIM LL_UNITDATA_REQ 0x2208
617 {
618 sapi ; service access point identifier
619 tlli ; temporary logical link entity
620 ll_qos ; quality of service
621 radio_prio ; radio priority
622 cipher ; ciphering indicator
623 reserved_unitdata_req1 ; reserved octets
624 seg_pos ; reserved octets
625 attached_counter ; attached to primitive counter
626 reserved_unitdata_req4 ; reserved octets for unitdata request
627 reserved_unitdata_req5 ; reserved octets
628 sdu ; service data unit
629 }
630
631
632
633
634
635
636 PRIM LL_UNITDATA_IND 0x620B
637 {
638 sapi ; service access point identifier
639 tlli ; temporary logical link entity
640 reserved_unitdata_ind1 ; reserved octets
641 reserved_unitdata_ind2 ; reserved octets
642 reserved_unitdata_ind3 ; reserved octets
643 reserved_unitdata_ind4 ; reserved octets
644 reserved_unitdata_ind5 ; reserved octets
645 cipher ; ciphering indicator
646 sdu ; service data unit
647 }
648
649
650
651
652
653
654 PRIM LL_STATUS_IND 0x620C
655 {
656 sapi ; service access point identifier
657 error_cause ; error cause
658 }
659
660
661
662
663
664
665 PRIM LL_DESC_REQ 0x2209
666 {
667 sapi ; service access point identifier
668 tlli ; temporary logical link entity
669 ll_qos ; quality of service
670 radio_prio ; radio priority
671 reserved_data_req1 ; reserved octet
672 reference1 ; reference to the PDU
673 seg_pos ; reserved octets
674 attached_counter ; attached to primitive counter
675 reserved_data_req4 ; reserved octets for data request
676 reserved_data_req5 ; reserved octets for data request
677 desc_list3 ; List of generic data descriptors
678 }
679
680
681
682
683
684
685 PRIM LL_UNITDESC_REQ 0x220A
686 {
687 sapi ; service access point identifier
688 tlli ; temporary logical link entity
689 ll_qos ; quality of service
690 radio_prio ; radio priority
691 cipher ; ciphering indicator
692 reserved_unitdata_req1 ; reserved octets
693 seg_pos ; reserved octets
694 attached_counter ; attached to primitive counter
695 reserved_unitdata_req4 ; reserved octets for unitdata request
696 reserved_unitdata_req5 ; reserved octets
697 desc_list3 ; List of generic data descriptors
698 }
699
700
701
702
703
704
705 PRIM LLC_DUMMY_REQ 0x220B
706 {
707 desc3 ; generic data descriptor
708 }
709
710
711
712
713
714
715
716
717