comparison gsm-fw/cdg/sap/8010_137_nas_include.pdf @ 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 : 8010_137_nas_include.pdf
3 ;*** Creation : Wed Mar 11 09:57:51 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 : 8010_137_nas_include
9 ;*** Document No. : 8010.137.02.017
10 ;*** Document Date : 2004-06-09
11 ;*** Document Status: APPROVED
12 ;*** Document Author: rpk
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:28:24 2007"
18 PRAGMA LAST_MODIFIED "2004-06-09"
19 PRAGMA ID_AND_VERSION "8010.137.02.017"
20 PRAGMA PREFIX NAS ; Prefix for this document
21 PRAGMA ALLWAYS_ENUM_IN_VAL_FILE YES ; Enumeration values in value file
22 PRAGMA ENABLE_GROUP NO ; Disable h-file grouping
23 PRAGMA COMPATIBILITY_DEFINES NO ; Compatible to the old #defines
24
25
26
27 CONST SIZE_ENTITY_NAME 6 ; Maximum length of an entity name
28 CONST SIZE_TFT_FILTER 8 ; Maximum number of TFTs in one message
29 CONST SIZE_IPv4_ADDR 4 ; Length of an IPv4 address in octets
30 CONST SIZE_IPv6_ADDR 16 ; Length of an IPv6 address in octets
31 CONST SIZE_NSAPI 16 ; Maximum NSAPI id plus 1 (for array declarations)
32 CONST FACILITY_LEN 251 ; Max. length of facility considering L2 constraints
33
34
35
36 VALTAB VAL_nsapi
37 VAL 0 NSAPI_0 "escape mechanism for future extensions"
38 VAL 1 NSAPI_1 "Point-To-Multipoint Multicast information"
39 VAL 2 NSAPI_2 "reserved for future use"
40 VAL 3 NSAPI_3 "reserved for future use"
41 VAL 4 NSAPI_4 "reserved for future use"
42 VAL 5 NSAPI_5 "dynamically allocated NSAPI value"
43 VAL 6 NSAPI_6 "dynamically allocated NSAPI value"
44 VAL 7 NSAPI_7 "dynamically allocated NSAPI value"
45 VAL 8 NSAPI_8 "dynamically allocated NSAPI value"
46 VAL 9 NSAPI_9 "dynamically allocated NSAPI value"
47 VAL 10 NSAPI_10 "dynamically allocated NSAPI value"
48 VAL 11 NSAPI_11 "dynamically allocated NSAPI value"
49 VAL 12 NSAPI_12 "dynamically allocated NSAPI value"
50 VAL 13 NSAPI_13 "dynamically allocated NSAPI value"
51 VAL 14 NSAPI_14 "dynamically allocated NSAPI value"
52 VAL 15 NSAPI_15 "dynamically allocated NSAPI value"
53
54 VALTAB VAL_dti_direction
55 VAL 0 HOME "mapped to HOME from dti.h"
56 VAL 1 NEIGHBOR "mapped to NEIGHBOR from dti.h"
57
58 VALTAB VAL_dti_conn
59 VAL 0 CONNECT_DTI "Connect DTI connection."
60 VAL 1 DISCONNECT_DTI "Disconnect DTI connection."
61
62 VALTAB VAL_dcomp
63 VAL 0b00 DCOMP_OFF "compress neither direction"
64 VAL 0b01 DCOMP_ON "compress MS to SGSN direction only"
65 VAL 0b10 DCOMP_V_42_BIS "compress SGSN to MS direction only"
66
67 VALTAB VAL_ppp_hc
68 VAL 0 PPP_HC_NOT_USED "Header compression not used"
69 VAL 1 PPP_HC_RFC_1144_USED "Van Jacobson is used"
70
71 VALTAB VAL_hcomp
72 VAL 0b00 HCOMP_OFF "compress neither direction"
73 VAL 0b01 HCOMP_ON "compress MS to SGSN direction only"
74 VAL 0b10 HCOMP_RFC1144 "compress SGSN to MS direction only"
75 VAL 0b11 HCOMP_RFC2507 "compress both directions"
76
77 VALTAB VAL_sync_event
78 VAL 0x20 SYNC_RESSOURCE_ASSIGNED "Traffic channel resource assigned"
79 VAL 0x30 SYNC_CHANNEL_MODE_MODIFIED "Channel mode modified"
80
81 VALTAB VAL_ti
82 VAL 0 - 6 "ms originated identifier"
83 VAL 8 - 14 "ms terminated transaction"
84 VAL 7 TI_RES_1 "reserved"
85 VAL 15 TI_RES_2 "reserved"
86
87 VALTAB VAL_ch_mode
88 VAL 0 CHM_SIG_ONLY "signalling only"
89 VAL 1 CHM_SPEECH "speech full rate or half rate version 1"
90 VAL 33 CHM_SPEECH_V2 "speech full rate or half rate version 2"
91 VAL 65 CHM_SPEECH_V3 "speech full rate or half rate version 3"
92 VAL 3 CHM_DATA_9_6 "data 9.6 kBit/s"
93 VAL 11 CHM_DATA_4_8 "data 4.8 kBit/s"
94 VAL 19 CHM_DATA_2_4 "data 2.4 kBit/s"
95 VAL 15 CHM_DATA_14_4 "data 14.4 kBit/s"
96
97 VALTAB VAL_ch_type
98 VAL 0 CH_SDCCH "SDCCH channel"
99 VAL 1 CH_TCH_F "TCH Fullrate"
100 VAL 2 CH_TCH_H "TCH Halfrate"
101
102 VALTAB VAL_k_ms_iwf
103 VAL 0 - 61 "Max window size for RLP Version 1"
104
105 VALTAB VAL_k_iwf_ms
106 VAL 0 - 61 "Max window size for RLP Version 1"
107
108 VALTAB VAL_pt
109 VAL 0 COMPR_TYPE_V42BIS "V.42bis"
110
111 VALTAB VAL_p0
112 VAL 0 COMP_DIR_NONE "compress in neither direction"
113 VAL 1 COMP_DIR_TRANSMIT "compress in uplink direction only"
114 VAL 2 COMP_DIR_RECEIVE "compress in downlink direction only"
115 VAL 3 COMP_DIR_BOTH "compress in both directions"
116
117 VALTAB VAL_p1
118 VAL 512 - 65535 "Range definition for type"
119
120 VALTAB VAL_p2
121 VAL 6 - 250 "Range definition for type"
122
123 VALTAB VAL_rate
124 VAL 0 HALFRATE_4800 "halfrate 4,8/6 Kb"
125 VAL 1 FULLRATE_4800 "fullrate 4,8/6 Kb"
126 VAL 2 FULLRATE_9600 "fullrate 9,6/12 Kb"
127 VAL 3 FULLRATE_14400 "fullrate 13,4/14,4 Kb"
128
129 VALTAB VAL_ack_flg
130 VAL 0 FLAG_ACK "acknowledged"
131 VAL 1 FLAG_NAK "not acknowledged"
132
133 VALTAB VAL_tft_pf_valid_bits
134 VAL 0x00 TFT_ID_RES "Reserved"
135 VAL 0x01 TFT_ID_IPv4_SRC_ADDR_MASK "source address and subnet mask"
136 VAL 0x02 TFT_ID_IPv6_SRC_ADDR_MASK "source address and subnet mask"
137 VAL 0x04 TFT_ID_PROTOCOL_OR_NEXT_HDR "IPv4 protocol number or IPv6 next header"
138 VAL 0x08 TFT_ID_DEST_PORT_RANGE "destination port range"
139 VAL 0x10 TFT_ID_SRC_PORT_RANGE "source port range"
140 VAL 0x20 TFT_ID_IPSEC_SPI "IPSec security parameter index"
141 VAL 0x40 TFT_ID_TOS_AND_MASK "IPv4 ToS or IPv6 traffic class) and mask"
142 VAL 0x80 TFT_ID_FLOW_LABEL "IPv6 flow label"
143
144 VALTAB VAL_org_entity
145 VAL 0 ORG_ENTITY_CC "Originator is CC"
146 VAL 1 ORG_ENTITY_SM "Originator is SM"
147 VAL 2 ORG_ENTITY_SMS "Originator is SMS"
148 VAL 3 ORG_ENTITY_SS "Originator is SS"
149 VAL 4 ORG_ENTITY_UPM "Originator is UPM"
150 VAL 5 ORG_ENTITY_CLT "Originator is CLT (COMLIB test )"
151
152 VALTAB VAL_reset
153 VAL 0 RESET_NO "no reset"
154 VAL 1 RESET_YES "reset"
155
156 VALTAB VAL_pkt_flow_id
157 VAL 0x00 PFI_BEST_EFFORT "Best Effort"
158 VAL 0x01 PFI_SIGNALING "Signalling"
159 VAL 0x02 PFI_SMS "SMS"
160 VAL 0xFF PKT_FLOW_ID_NOT_PRES "Value FF is used to indicate when Packet Flow Identifier is not present."
161
162
163
164
165 VAR nsapi "network layer service access point identifier" B
166
167 VAL @p_8010_137_nas_include - VAL_nsapi@
168
169 VAR pri_nsapi "network layer service access point identifier" B
170
171 VAL @p_8010_137_nas_include - VAL_nsapi@
172
173 VAR nsapi_set "set of network layer service access point identifiers" S
174
175
176 VAR dti_linkid "DTI link identifier" L
177
178
179 VAR name "DTI entity neighbor name" B
180
181
182 VAR dti_direction "direction of DTI connection" B
183
184 VAL @p_8010_137_nas_include - VAL_dti_direction@
185
186 VAR dti_conn "DTI connect" B
187
188 VAL @p_8010_137_nas_include - VAL_dti_conn@
189
190 VAR hcomp "Header compression used/requested; Header compression used/requested" B
191
192 VAL @p_8010_137_nas_include - VAL_hcomp@
193
194 VAR dcomp "Data compression used/requested; Data compression used/requested" B
195
196 VAL @p_8010_137_nas_include - VAL_dcomp@
197
198 VAR ppp_hc "header compression of PPP connection; header compression of PPP connection" B
199
200 VAL @p_8010_137_nas_include - VAL_ppp_hc@
201
202 VAR msid "max slot identifier; max slot identifier" B
203
204
205 VAR sync_event "event, received in the sync indication" B
206
207 VAL @p_8010_137_nas_include - VAL_sync_event@
208
209 VAR ti "transaction identifier" B
210
211 VAL @p_8010_137_nas_include - VAL_ti@
212
213 VAR ch_type "Channel Type" B
214
215 VAL @p_8010_137_nas_include - VAL_ch_type@
216
217 VAR ch_mode "Channel Mode" B
218
219 VAL @p_8010_137_nas_include - VAL_ch_mode@
220
221 VAR ip_not_present "IP address not present" L
222
223
224 VAR a4 "IPv4 Address Values" B
225
226
227 VAR a6 "IPv6 Address Values" B
228
229
230 VAR k_ms_iwf "window size ms -> iwf" S
231
232 VAL @p_8010_137_nas_include - VAL_k_ms_iwf@
233
234 VAR k_iwf_ms "window size iwf -> ms" S
235
236 VAL @p_8010_137_nas_include - VAL_k_iwf_ms@
237
238 VAR t1 "acknowledge timer" B
239
240
241 VAR t2 "reply delay" B
242
243
244 VAR n2 "maximum number of retransmission attempts" B
245
246
247 VAR pt "type of data compression" B
248
249 VAL @p_8010_137_nas_include - VAL_pt@
250
251 VAR p0 "v.42bis data compression direction" B
252
253 VAL @p_8010_137_nas_include - VAL_p0@
254
255 VAR p1 "v.42bis number of possible codewords" S
256
257 VAL @p_8010_137_nas_include - VAL_p1@
258
259 VAR p2 "v.42bis maximum encodable string length" B
260
261 VAL @p_8010_137_nas_include - VAL_p2@
262
263 VAR bytes_per_prim "bytes per primitive" S
264
265
266 VAR rate "transmission rate" B
267
268 VAL @p_8010_137_nas_include - VAL_rate@
269
270 VAR rlp_vers "rlp version number" B
271
272
273 VAR ack_flg "acknowledge flag" B
274
275 VAL @p_8010_137_nas_include - VAL_ack_flg@
276
277 VAR error_rate "error_rate" L
278
279
280 VAR tft_pf_id "packet filter identifier" B
281
282
283 VAR tft_pf_precedence "packet filter precedence" B
284
285
286 VAR tft_pf_valid_bits "field precence bitfield" B
287
288 VAL @p_8010_137_nas_include - VAL_tft_pf_valid_bits@
289
290 VAR tft_protocol "IPv4 protocol number" B
291
292
293 VAR tft_next_hdr "IPv6 next header" B
294
295
296 VAR tft_flow_label "IPv6 flow label" L
297
298
299 VAR tft_ipv4_addr "source address" B
300
301
302 VAR tft_ipv4_mask "subnet mask" B
303
304
305 VAR tft_ipv6_addr "source address" B
306
307
308 VAR tft_ipv6_mask "subnet mask" B
309
310
311 VAR low_limit "low limit" S
312
313
314 VAR high_limit "high limit" S
315
316
317 VAR tos_value "type of service value" B
318
319
320 VAR tos_mask "type of service mask" B
321
322
323 VAR tft_ipsec_spi "IPSec security parameter index" L
324
325
326 VAR l_fac "facility length" S
327
328
329 VAR o_fac "facility offset" S
330
331
332 VAR fac "facility content" B
333
334
335 VAR org_entity "Originator of a request to MM" B
336
337 VAL @p_8010_137_nas_include - VAL_org_entity@
338
339 VAR reset "reset flag" B
340
341 VAL @p_8010_137_nas_include - VAL_reset@
342
343 VAR octets_uplink "octets uplink" L
344
345
346 VAR octets_downlink "octets downlink" L
347
348
349 VAR packets_uplink "packets uplink" L
350
351
352 VAR packets_downlink "packets downlink" L
353
354
355 VAR pkt_flow_id "packet flow identifier" B
356
357 VAL @p_8010_137_nas_include - VAL_pkt_flow_id@
358
359 VAR model "RA transfer model" B
360
361
362 VAR tra_rate "Transmission rate" B
363
364
365 VAR user_rate "User rate" B
366
367
368 VAR ndb "Number data bits" B
369
370
371 VAR nsb "Number stop bits" B
372
373
374
375
376
377 COMP dti_neighbor "DTI neighbor entity name"
378 {
379 name [SIZE_ENTITY_NAME] ; DTI entity neighbor name
380 }
381
382
383
384 COMP comp_params "Header compression parameters"
385 {
386 hcomp ; Header compression used/requested; Header compression used/requested
387 dcomp ; Data compression used/requested; Data compression used/requested
388 ppp_hc ; header compression of PPP connection; header compression of PPP connection
389 msid ; max slot identifier; max slot identifier
390 }
391
392
393
394 COMP ch_info "Channel using mode"
395 {
396 ch_type ; Channel Type
397 ch_mode ; Channel Mode
398 }
399
400
401
402 COMP ipv4_addr "IPv4 Address Type"
403 {
404 a4 [SIZE_IPv4_ADDR] ; IPv4 Address Values
405 }
406
407
408
409 COMP ipv6_addr "IPv6 Address Type"
410 {
411 a6 [SIZE_IPv6_ADDR] ; IPv6 Address Values
412 }
413
414
415
416 UNION ip_address "IP Address"
417 {
418 is_ip_not_present ip_not_present ; IP address not present
419 is_ipv4 ipv4_addr ; IPv4 address
420 is_ipv6 ipv6_addr ; IPv6 address
421 }
422
423
424
425 COMP ip "IP Address structure"
426 {
427 ip_address ; IP address
428 }
429
430
431
432 COMP rlp_config "RLP configuration parameters"
433 {
434 k_ms_iwf ; window size ms->iwf
435 k_iwf_ms ; window size iwf->ms
436 t1 ; acknowledge timer
437 t2 ; reply delay
438 n2 ; retransmission attempts
439 pt ; type of data compression
440 p0 ; v.42 bis data compression direction
441 p1 ; v.42 bis number of possible codewords
442 p2 ; v.42 bis maximum encodable data string length
443 }
444
445
446
447 COMP tft_ipv4_src_addr_mask "IPv4 source address and subnet mask"
448 {
449 tft_ipv4_addr [SIZE_IPv4_ADDR] ; source address
450 tft_ipv4_mask [SIZE_IPv4_ADDR] ; subnet mask
451 }
452
453
454
455 COMP tft_ipv6_src_addr_mask "IPv6 source address and subnet mask"
456 {
457 tft_ipv6_addr [SIZE_IPv6_ADDR] ; source address
458 tft_ipv6_mask [SIZE_IPv6_ADDR] ; subnet mask
459 }
460
461
462
463 COMP tft_src_port_range "source port range"
464 {
465 low_limit ; low limit
466 high_limit ; high limit
467 }
468 TYPEDEF COMP tft_src_port_range tft_dest_port_range "destination port range"
469
470
471
472 COMP tft_tos_and_mask "IPv4 type of service (or IPv6 traffic class) and mask"
473 {
474 tos_value ; type of service value
475 tos_mask ; type of service mask
476 }
477
478
479
480 COMP tft_pf_ipv6 "packet filter component"
481 {
482 tft_next_hdr ; IPv6 next header
483 tft_tos_and_mask ; IPv6 traffic class and mask
484 tft_dest_port_range ; destination port range
485 tft_src_port_range ; source port range
486 tft_ipsec_spi ; IPSec security parameter index
487 tft_flow_label ; IPv6 flow label
488 tft_ipv6_src_addr_mask ; source address and subnet mask
489 }
490
491
492
493 COMP tft_pf_ipv4 "packet filter component"
494 {
495 tft_protocol ; IPv4 protocol number
496 tft_tos_and_mask ; IPv4 ToS and mask
497 tft_dest_port_range ; destination port range
498 tft_src_port_range ; source port range
499 tft_ipsec_spi ; IPSec security parameter index
500 tft_ipv4_src_addr_mask ; source address and subnet mask
501 }
502
503
504
505 UNION tft_pf_entry "TFT packet filter entry"
506 {
507 is_tft_pf_ipv4 tft_pf_ipv4 ; IPv4 packet filter
508 is_tft_pf_ipv6 tft_pf_ipv6 ; IPv6 packet filter
509 }
510
511
512
513 COMP tft_pf "packet filter"
514 {
515 tft_pf_id ; packet filter identifier
516 tft_pf_precedence ; packet filter precedence
517 tft_pf_valid_bits ; field precence bitfield
518 tft_pf_entry ; packet filter entry
519 }
520
521
522
523 COMP tft "Traffic Flow Template"
524 {
525 tft_pf PTR [0..SIZE_TFT_FILTER] ; traffic filter
526 }
527
528
529
530 COMP fac_inf "facility information"
531 {
532 l_fac ; facility length
533 o_fac ; facility offset
534 fac [FACILITY_LEN] ; facility content
535 }
536
537
538
539 COMP ra_act_params "facility information"
540 {
541 model ; RA transfer model
542 tra_rate ; Transmission rate
543 user_rate ; User rate
544 ndb ; Number data bits
545 nsb ; Number stop bits
546 }
547
548
549
550
551
552
553 ; NAS_EXPORT 0x0000
554
555
556
557 PRIM NAS_EXPORT 0x0000
558 {
559 ack_flg ; acknowledge flag
560 bytes_per_prim ; bytes per primitive
561 ch_info ; Channel using mode
562 comp_params ; Compression parameters
563 dti_direction ; direction of DTI connection
564 dti_linkid ; DTI link identifier
565 dti_neighbor ; DTI neighbor entity name
566 error_rate ; error_rate
567 ip ; IP address structure
568 ip_address ; IP address
569 k_iwf_ms ; window size iwf -> ms
570 k_ms_iwf ; window size ms -> iwf
571 n2 ; maximum number of retransmission attempts
572 ipv4_addr ; IPv4 address
573 ipv6_addr ; IPv6 address
574 nsapi ; network layer service access point identifier
575 nsapi_set ; set of network layer service access point identifiers
576 p0 ; v.42bis data compression direction
577 p1 ; v.42bis number of possible codewords
578 p2 ; v.42bis maximum encodable string length
579 pri_nsapi ; network layer service access point identifier
580 pt ; type of data compression
581 rate ; transmission rate
582 rlp_config ; RLP Configuration
583 rlp_vers ; rlp version number
584 sync_event ; Event, received in the sync indication
585 t1 ; acknowledge timer
586 t2 ; reply delay
587 tft ; Traffic flow template
588 tft_dest_port_range ; IP destination port range
589 tft_ipsec_spi ; IPSec SPI
590 tft_ipv4_src_addr_mask ; IPv4 source address and subnet mask
591 tft_ipv6_src_addr_mask ; IPv6 source address and subnet mask
592 tft_pf ; TFT packet filter
593 tft_pf_entry ; TFT packet filter entry (in array)
594 tft_pf_ipv4 ; IPv4 packet filter
595 tft_pf_ipv6 ; IPv6 packet filter
596 tft_src_port_range ; IP source port range
597 tft_tos_and_mask ; IP type of service/traffic class
598 ti ; Transaction identifier
599 fac_inf ; Facility Information
600 org_entity ; Originating entity
601 dti_conn ; DTI connect
602 reset ; reset flag
603 octets_uplink ; octets uplink
604 octets_downlink ; octets downlink
605 packets_uplink ; packets uplink
606 packets_downlink ; packets downlink
607 pkt_flow_id ; Packet Flow Identifier
608 ra_act_params ; RA activation parameters
609 }
610
611
612
613
614
615
616
617
618