comparison cdg3/cdginc-locosto/p_8010_137_nas_include.val @ 16:c15047b3d00d

cdg3: import from freecalypso-citrine/cdg
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:27:34 +0000
parents
children
comparison
equal deleted inserted replaced
15:c8bdae60fcb1 16:c15047b3d00d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_8010_137_nas_include.val |
5 | SOURCE : "sap\8010_137_nas_include.pdf" |
6 | LastModified : "2004-06-09" |
7 | IdAndVersion : "8010.137.02.017" |
8 | SrcFileTime : "Thu Nov 29 09:28:24 2007" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NAS
16 * COMPATIBILITY_DEFINES : NO
17 * ALWAYS_ENUM_IN_VAL_FILE: YES
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_8010_137_NAS_INCLUDE_VAL
24 #define P_8010_137_NAS_INCLUDE_VAL
25
26
27 #define CDG_ENTER__P_8010_137_NAS_INCLUDE_VAL
28
29 #define CDG_ENTER__FILENAME _P_8010_137_NAS_INCLUDE_VAL
30 #define CDG_ENTER__P_8010_137_NAS_INCLUDE_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_8010_137_NAS_INCLUDE_VAL__LAST_MODIFIED _2004_06_09
32 #define CDG_ENTER__P_8010_137_NAS_INCLUDE_VAL__ID_AND_VERSION _8010_137_02_017
33
34 #define CDG_ENTER__P_8010_137_NAS_INCLUDE_VAL__SRC_FILE_TIME _Thu_Nov_29_09_28_24_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_8010_137_NAS_INCLUDE_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Enum to value table VAL_nsapi
45 * CCDGEN:WriteEnum_Count==45
46 */
47 #ifndef __T_NAS_VAL_nsapi__
48 #define __T_NAS_VAL_nsapi__
49 typedef enum
50 {
51 NAS_NSAPI_0 = 0x0, /* escape mechanism for future extensions */
52 NAS_NSAPI_1 = 0x1, /* Point-To-Multipoint Multicast information */
53 NAS_NSAPI_2 = 0x2, /* reserved for future use */
54 NAS_NSAPI_3 = 0x3, /* reserved for future use */
55 NAS_NSAPI_4 = 0x4, /* reserved for future use */
56 NAS_NSAPI_5 = 0x5, /* dynamically allocated NSAPI value */
57 NAS_NSAPI_6 = 0x6, /* dynamically allocated NSAPI value */
58 NAS_NSAPI_7 = 0x7, /* dynamically allocated NSAPI value */
59 NAS_NSAPI_8 = 0x8, /* dynamically allocated NSAPI value */
60 NAS_NSAPI_9 = 0x9, /* dynamically allocated NSAPI value */
61 NAS_NSAPI_10 = 0xa, /* dynamically allocated NSAPI value */
62 NAS_NSAPI_11 = 0xb, /* dynamically allocated NSAPI value */
63 NAS_NSAPI_12 = 0xc, /* dynamically allocated NSAPI value */
64 NAS_NSAPI_13 = 0xd, /* dynamically allocated NSAPI value */
65 NAS_NSAPI_14 = 0xe, /* dynamically allocated NSAPI value */
66 NAS_NSAPI_15 = 0xf /* dynamically allocated NSAPI value */
67 }T_NAS_VAL_nsapi;
68 #endif
69
70 /*
71 * Enum to value table VAL_dti_direction
72 * CCDGEN:WriteEnum_Count==46
73 */
74 #ifndef __T_NAS_VAL_dti_direction__
75 #define __T_NAS_VAL_dti_direction__
76 typedef enum
77 {
78 NAS_HOME = 0x0, /* mapped to HOME from dti.h */
79 NAS_NEIGHBOR = 0x1 /* mapped to NEIGHBOR from dti.h */
80 }T_NAS_VAL_dti_direction;
81 #endif
82
83 /*
84 * Enum to value table VAL_dti_conn
85 * CCDGEN:WriteEnum_Count==47
86 */
87 #ifndef __T_NAS_VAL_dti_conn__
88 #define __T_NAS_VAL_dti_conn__
89 typedef enum
90 {
91 NAS_CONNECT_DTI = 0x0, /* Connect DTI connection. */
92 NAS_DISCONNECT_DTI = 0x1 /* Disconnect DTI connection. */
93 }T_NAS_VAL_dti_conn;
94 #endif
95
96 /*
97 * Enum to value table VAL_dcomp
98 * CCDGEN:WriteEnum_Count==48
99 */
100 #ifndef __T_NAS_VAL_dcomp__
101 #define __T_NAS_VAL_dcomp__
102 typedef enum
103 {
104 NAS_DCOMP_OFF = 0x0, /* compress neither direction */
105 NAS_DCOMP_ON = 0x1, /* compress MS to SGSN direction only */
106 NAS_DCOMP_V_42_BIS = 0x2 /* compress SGSN to MS direction only */
107 }T_NAS_VAL_dcomp;
108 #endif
109
110 /*
111 * Enum to value table VAL_ppp_hc
112 * CCDGEN:WriteEnum_Count==49
113 */
114 #ifndef __T_NAS_VAL_ppp_hc__
115 #define __T_NAS_VAL_ppp_hc__
116 typedef enum
117 {
118 NAS_PPP_HC_NOT_USED = 0x0, /* Header compression not used */
119 NAS_PPP_HC_RFC_1144_USED = 0x1 /* Van Jacobson is used */
120 }T_NAS_VAL_ppp_hc;
121 #endif
122
123 /*
124 * Enum to value table VAL_hcomp
125 * CCDGEN:WriteEnum_Count==50
126 */
127 #ifndef __T_NAS_VAL_hcomp__
128 #define __T_NAS_VAL_hcomp__
129 typedef enum
130 {
131 NAS_HCOMP_OFF = 0x0, /* compress neither direction */
132 NAS_HCOMP_ON = 0x1, /* compress MS to SGSN direction only */
133 NAS_HCOMP_RFC1144 = 0x2, /* compress SGSN to MS direction only */
134 NAS_HCOMP_RFC2507 = 0x3 /* compress both directions */
135 }T_NAS_VAL_hcomp;
136 #endif
137
138 /*
139 * Enum to value table VAL_sync_event
140 * CCDGEN:WriteEnum_Count==51
141 */
142 #ifndef __T_NAS_VAL_sync_event__
143 #define __T_NAS_VAL_sync_event__
144 typedef enum
145 {
146 NAS_SYNC_RESSOURCE_ASSIGNED = 0x20, /* Traffic channel resource assigned */
147 NAS_SYNC_CHANNEL_MODE_MODIFIED = 0x30 /* Channel mode modified */
148 }T_NAS_VAL_sync_event;
149 #endif
150
151 /*
152 * Enum to value table VAL_ti
153 * CCDGEN:WriteEnum_Count==52
154 */
155 #ifndef __T_NAS_VAL_ti__
156 #define __T_NAS_VAL_ti__
157 typedef enum
158 {
159 NAS_VAL_TI__RANGE_MIN = 0x0, /* minimum */
160 NAS_VAL_TI__RANGE_MAX = 0x6, /* maximum */
161 NAS_VAL_TI__RANGE_1_MIN = 0x8, /* minimum */
162 NAS_VAL_TI__RANGE_1_MAX = 0xe, /* maximum */
163 NAS_TI_RES_1 = 0x7, /* reserved */
164 NAS_TI_RES_2 = 0xf /* reserved */
165 }T_NAS_VAL_ti;
166 #endif
167
168 /*
169 * Enum to value table VAL_ch_mode
170 * CCDGEN:WriteEnum_Count==53
171 */
172 #ifndef __T_NAS_VAL_ch_mode__
173 #define __T_NAS_VAL_ch_mode__
174 typedef enum
175 {
176 NAS_CHM_SIG_ONLY = 0x0, /* signalling only */
177 NAS_CHM_SPEECH = 0x1, /* speech full rate or half rate version 1 */
178 NAS_CHM_SPEECH_V2 = 0x21, /* speech full rate or half rate version 2 */
179 NAS_CHM_SPEECH_V3 = 0x41, /* speech full rate or half rate version 3 */
180 NAS_CHM_DATA_9_6 = 0x3, /* data 9.6 kBit/s */
181 NAS_CHM_DATA_4_8 = 0xb, /* data 4.8 kBit/s */
182 NAS_CHM_DATA_2_4 = 0x13, /* data 2.4 kBit/s */
183 NAS_CHM_DATA_14_4 = 0xf /* data 14.4 kBit/s */
184 }T_NAS_VAL_ch_mode;
185 #endif
186
187 /*
188 * Enum to value table VAL_ch_type
189 * CCDGEN:WriteEnum_Count==54
190 */
191 #ifndef __T_NAS_VAL_ch_type__
192 #define __T_NAS_VAL_ch_type__
193 typedef enum
194 {
195 NAS_CH_SDCCH = 0x0, /* SDCCH channel */
196 NAS_CH_TCH_F = 0x1, /* TCH Fullrate */
197 NAS_CH_TCH_H = 0x2 /* TCH Halfrate */
198 }T_NAS_VAL_ch_type;
199 #endif
200
201 /*
202 * Enum to value table VAL_k_ms_iwf
203 * CCDGEN:WriteEnum_Count==55
204 */
205 #ifndef __T_NAS_VAL_k_ms_iwf__
206 #define __T_NAS_VAL_k_ms_iwf__
207 typedef enum
208 {
209 NAS_VAL_K_MS_IWF__RANGE_MIN = 0x0, /* minimum */
210 NAS_VAL_K_MS_IWF__RANGE_MAX = 0x3d /* maximum */
211 }T_NAS_VAL_k_ms_iwf;
212 #endif
213
214 /*
215 * Enum to value table VAL_k_iwf_ms
216 * CCDGEN:WriteEnum_Count==56
217 */
218 #ifndef __T_NAS_VAL_k_iwf_ms__
219 #define __T_NAS_VAL_k_iwf_ms__
220 typedef enum
221 {
222 NAS_VAL_K_IWF_MS__RANGE_MIN = 0x0, /* minimum */
223 NAS_VAL_K_IWF_MS__RANGE_MAX = 0x3d /* maximum */
224 }T_NAS_VAL_k_iwf_ms;
225 #endif
226
227 /*
228 * Enum to value table VAL_pt
229 * CCDGEN:WriteEnum_Count==57
230 */
231 #ifndef __T_NAS_VAL_pt__
232 #define __T_NAS_VAL_pt__
233 typedef enum
234 {
235 NAS_COMPR_TYPE_V42BIS = 0x0 /* V.42bis */
236 }T_NAS_VAL_pt;
237 #endif
238
239 /*
240 * Enum to value table VAL_p0
241 * CCDGEN:WriteEnum_Count==58
242 */
243 #ifndef __T_NAS_VAL_p0__
244 #define __T_NAS_VAL_p0__
245 typedef enum
246 {
247 NAS_COMP_DIR_NONE = 0x0, /* compress in neither direction */
248 NAS_COMP_DIR_TRANSMIT = 0x1, /* compress in uplink direction only */
249 NAS_COMP_DIR_RECEIVE = 0x2, /* compress in downlink direction only */
250 NAS_COMP_DIR_BOTH = 0x3 /* compress in both directions */
251 }T_NAS_VAL_p0;
252 #endif
253
254 /*
255 * Enum to value table VAL_p1
256 * CCDGEN:WriteEnum_Count==59
257 */
258 #ifndef __T_NAS_VAL_p1__
259 #define __T_NAS_VAL_p1__
260 typedef enum
261 {
262 NAS_VAL_P1__RANGE_MIN = 0x200, /* minimum */
263 NAS_VAL_P1__RANGE_MAX = 0xffff /* maximum */
264 }T_NAS_VAL_p1;
265 #endif
266
267 /*
268 * Enum to value table VAL_p2
269 * CCDGEN:WriteEnum_Count==60
270 */
271 #ifndef __T_NAS_VAL_p2__
272 #define __T_NAS_VAL_p2__
273 typedef enum
274 {
275 NAS_VAL_P2__RANGE_MIN = 0x6, /* minimum */
276 NAS_VAL_P2__RANGE_MAX = 0xfa /* maximum */
277 }T_NAS_VAL_p2;
278 #endif
279
280 /*
281 * Enum to value table VAL_rate
282 * CCDGEN:WriteEnum_Count==61
283 */
284 #ifndef __T_NAS_VAL_rate__
285 #define __T_NAS_VAL_rate__
286 typedef enum
287 {
288 NAS_HALFRATE_4800 = 0x0, /* halfrate 4,8/6 Kb */
289 NAS_FULLRATE_4800 = 0x1, /* fullrate 4,8/6 Kb */
290 NAS_FULLRATE_9600 = 0x2, /* fullrate 9,6/12 Kb */
291 NAS_FULLRATE_14400 = 0x3 /* fullrate 13,4/14,4 Kb */
292 }T_NAS_VAL_rate;
293 #endif
294
295 /*
296 * Enum to value table VAL_ack_flg
297 * CCDGEN:WriteEnum_Count==62
298 */
299 #ifndef __T_NAS_VAL_ack_flg__
300 #define __T_NAS_VAL_ack_flg__
301 typedef enum
302 {
303 NAS_FLAG_ACK = 0x0, /* acknowledged */
304 NAS_FLAG_NAK = 0x1 /* not acknowledged */
305 }T_NAS_VAL_ack_flg;
306 #endif
307
308 /*
309 * Enum to value table VAL_tft_pf_valid_bits
310 * CCDGEN:WriteEnum_Count==63
311 */
312 #ifndef __T_NAS_VAL_tft_pf_valid_bits__
313 #define __T_NAS_VAL_tft_pf_valid_bits__
314 typedef enum
315 {
316 NAS_TFT_ID_RES = 0x0, /* Reserved */
317 NAS_TFT_ID_IPv4_SRC_ADDR_MASK = 0x1, /* source address and subnet mask */
318 NAS_TFT_ID_IPv6_SRC_ADDR_MASK = 0x2, /* source address and subnet mask */
319 NAS_TFT_ID_PROTOCOL_OR_NEXT_HDR = 0x4, /* IPv4 protocol number or IPv6 next header */
320 NAS_TFT_ID_DEST_PORT_RANGE = 0x8, /* destination port range */
321 NAS_TFT_ID_SRC_PORT_RANGE = 0x10, /* source port range */
322 NAS_TFT_ID_IPSEC_SPI = 0x20, /* IPSec security parameter index */
323 NAS_TFT_ID_TOS_AND_MASK = 0x40, /* IPv4 ToS or IPv6 traffic class) and mask */
324 NAS_TFT_ID_FLOW_LABEL = 0x80 /* IPv6 flow label */
325 }T_NAS_VAL_tft_pf_valid_bits;
326 #endif
327
328 /*
329 * Enum to value table VAL_org_entity
330 * CCDGEN:WriteEnum_Count==64
331 */
332 #ifndef __T_NAS_VAL_org_entity__
333 #define __T_NAS_VAL_org_entity__
334 typedef enum
335 {
336 NAS_ORG_ENTITY_CC = 0x0, /* Originator is CC */
337 NAS_ORG_ENTITY_SM = 0x1, /* Originator is SM */
338 NAS_ORG_ENTITY_SMS = 0x2, /* Originator is SMS */
339 NAS_ORG_ENTITY_SS = 0x3, /* Originator is SS */
340 NAS_ORG_ENTITY_UPM = 0x4, /* Originator is UPM */
341 NAS_ORG_ENTITY_CLT = 0x5 /* Originator is CLT (COMLIB test ) */
342 }T_NAS_VAL_org_entity;
343 #endif
344
345 /*
346 * Enum to value table VAL_reset
347 * CCDGEN:WriteEnum_Count==65
348 */
349 #ifndef __T_NAS_VAL_reset__
350 #define __T_NAS_VAL_reset__
351 typedef enum
352 {
353 NAS_RESET_NO = 0x0, /* no reset */
354 NAS_RESET_YES = 0x1 /* reset */
355 }T_NAS_VAL_reset;
356 #endif
357
358 /*
359 * Enum to value table VAL_pkt_flow_id
360 * CCDGEN:WriteEnum_Count==66
361 */
362 #ifndef __T_NAS_VAL_pkt_flow_id__
363 #define __T_NAS_VAL_pkt_flow_id__
364 typedef enum
365 {
366 NAS_PFI_BEST_EFFORT = 0x0, /* Best Effort */
367 NAS_PFI_SIGNALING = 0x1, /* Signalling */
368 NAS_PFI_SMS = 0x2, /* SMS */
369 NAS_PKT_FLOW_ID_NOT_PRES = 0xff /* Value FF is used to indicate when Packet Flow Identifier is not present. */
370 }T_NAS_VAL_pkt_flow_id;
371 #endif
372
373 /*
374 * enum to UnionController ip_address
375 * CCDGEN:WriteEnum_Count==67
376 */
377 #ifndef __T_NAS_ctrl_ip_address__
378 #define __T_NAS_ctrl_ip_address__
379 typedef enum
380 {
381 NAS_is_ip_not_present = 0x0,
382 NAS_is_ipv4 = 0x1,
383 NAS_is_ipv6 = 0x2
384 }T_NAS_ctrl_ip_address;
385 #endif
386
387 /*
388 * enum to UnionController tft_pf_entry
389 * CCDGEN:WriteEnum_Count==68
390 */
391 #ifndef __T_NAS_ctrl_tft_pf_entry__
392 #define __T_NAS_ctrl_tft_pf_entry__
393 typedef enum
394 {
395 NAS_is_tft_pf_ipv4 = 0x0,
396 NAS_is_tft_pf_ipv6 = 0x1
397 }T_NAS_ctrl_tft_pf_entry;
398 #endif
399
400 /*
401 * user defined constants
402 */
403 #define NAS_SIZE_ENTITY_NAME (0x6)
404 #define NAS_SIZE_TFT_FILTER (0x8)
405 #define NAS_SIZE_IPv4_ADDR (0x4)
406 #define NAS_SIZE_IPv6_ADDR (0x10)
407 #define NAS_SIZE_NSAPI (0x10)
408 #define NAS_FACILITY_LEN (0xfb)
409
410 #include "CDG_LEAVE.h"
411
412
413 #endif