FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/cdginc-conservative/m_sm.val @ 656:9ba088a875bd
gsm-fw/cdg: "conservative" version created
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 25 Sep 2014 10:00:35 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
655:6c363c453db2 | 656:9ba088a875bd |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : m_sm.val | | |
5 | SOURCE : "msg\sm.mdf" | | |
6 | LastModified : "2003-08-28" | | |
7 | IdAndVersion : "8010.605.03.005" | | |
8 | SrcFileTime : "Wed Nov 28 10:21:12 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 | | |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | | |
11 +--------------------------------------------------------------------------+ | |
12 */ | |
13 | |
14 /* PRAGMAS | |
15 * PREFIX : M_SM | |
16 * COMPATIBILITY_DEFINES : NO | |
17 * ALWAYS_ENUM_IN_VAL_FILE: YES | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: NO | |
20 * CCDNAME: SM | |
21 */ | |
22 | |
23 | |
24 #ifndef M_SM_VAL | |
25 #define M_SM_VAL | |
26 | |
27 | |
28 #define CDG_ENTER__M_SM_VAL | |
29 | |
30 #define CDG_ENTER__FILENAME _M_SM_VAL | |
31 #define CDG_ENTER__M_SM_VAL__FILE_TYPE CDGINC | |
32 #define CDG_ENTER__M_SM_VAL__LAST_MODIFIED _2003_08_28 | |
33 #define CDG_ENTER__M_SM_VAL__ID_AND_VERSION _8010_605_03_005 | |
34 | |
35 #define CDG_ENTER__M_SM_VAL__SRC_FILE_TIME _Wed_Nov_28_10_21_12_2007 | |
36 | |
37 #include "CDG_ENTER.h" | |
38 | |
39 #undef CDG_ENTER__M_SM_VAL | |
40 | |
41 #undef CDG_ENTER__FILENAME | |
42 | |
43 | |
44 /* | |
45 * Enum to value table VAL_nsapi_val | |
46 * CCDGEN:WriteEnum_Count==1 | |
47 */ | |
48 #ifndef __T_M_SM_VAL_nsapi_val__ | |
49 #define __T_M_SM_VAL_nsapi_val__ | |
50 typedef enum | |
51 { | |
52 M_SM_VAL_NSAPI_VAL___DEF = 0x0, /* reserved */ | |
53 M_SM_NSAPI_5 = 0x5, /* NSAPI 5 */ | |
54 M_SM_NSAPI_6 = 0x6, /* NSAPI 6 */ | |
55 M_SM_NSAPI_7 = 0x7, /* NSAPI 7 */ | |
56 M_SM_NSAPI_8 = 0x8, /* NSAPI 8 */ | |
57 M_SM_NSAPI_9 = 0x9, /* NSAPI 9 */ | |
58 M_SM_NSAPI_10 = 0xa, /* NSAPI 10 */ | |
59 M_SM_NSAPI_11 = 0xb, /* NSAPI 11 */ | |
60 M_SM_NSAPI_12 = 0xc, /* NSAPI 12 */ | |
61 M_SM_NSAPI_13 = 0xd, /* NSAPI 13 */ | |
62 M_SM_NSAPI_14 = 0xe, /* NSAPI 14 */ | |
63 M_SM_NSAPI_15 = 0xf /* NSAPI 15 */ | |
64 }T_M_SM_VAL_nsapi_val; | |
65 #endif | |
66 | |
67 /* | |
68 * Enum to value table VAL_delay | |
69 * CCDGEN:WriteEnum_Count==2 | |
70 */ | |
71 #ifndef __T_M_SM_VAL_delay__ | |
72 #define __T_M_SM_VAL_delay__ | |
73 typedef enum | |
74 { | |
75 M_SM_VAL_DELAY___DEF = 0x0, /* Delay class 4 (best effort) */ | |
76 M_SM_DELAY_SUB = 0x0, /* Subscribed delay class (uplink only) */ | |
77 M_SM_DELAY_RES_DL = 0x0, /* Reserved (downlink only) */ | |
78 M_SM_DELAY_1 = 0x1, /* Delay class 1 */ | |
79 M_SM_DELAY_2 = 0x2, /* Delay class 2 */ | |
80 M_SM_DELAY_3 = 0x3, /* Delay class 3 */ | |
81 M_SM_DELAY_4 = 0x4, /* Delay class 4 (best effort) */ | |
82 M_SM_DELAY_RES = 0x7 /* Reserved */ | |
83 }T_M_SM_VAL_delay; | |
84 #endif | |
85 | |
86 /* | |
87 * Enum to value table VAL_reliability | |
88 * CCDGEN:WriteEnum_Count==3 | |
89 */ | |
90 #ifndef __T_M_SM_VAL_reliability__ | |
91 #define __T_M_SM_VAL_reliability__ | |
92 typedef enum | |
93 { | |
94 M_SM_VAL_RELIABILITY___DEF = 0x0, /* Unacknowledged GTP and LLC; Acknowledged RLC, Protected data */ | |
95 M_SM_RELY_SUB = 0x0, /* Subscribed reliability class (uplink only) */ | |
96 M_SM_RELY_RES_DL = 0x0, /* Reserved (dowwnlink only) */ | |
97 M_SM_RELY_1 = 0x1, /* Acknowledged GTP, LLC, and RLC; Protected data */ | |
98 M_SM_RELY_2 = 0x2, /* Unacknowledged GTP; Acknowledged LLC and RLC, Protected data */ | |
99 M_SM_RELY_3 = 0x3, /* Unacknowledged GTP and LLC; Acknowledged RLC, Protected data */ | |
100 M_SM_RELY_4 = 0x4, /* Unacknowledged GTP, LLC, and RLC, Protected data */ | |
101 M_SM_RELY_5 = 0x5, /* Unacknowledged GTP, LLC, and RLC, Unprotected data */ | |
102 M_SM_RELY_RES = 0x7 /* Reserved */ | |
103 }T_M_SM_VAL_reliability; | |
104 #endif | |
105 | |
106 /* | |
107 * Enum to value table VAL_sapi | |
108 * CCDGEN:WriteEnum_Count==4 | |
109 */ | |
110 #ifndef __T_M_SM_VAL_sapi__ | |
111 #define __T_M_SM_VAL_sapi__ | |
112 typedef enum | |
113 { | |
114 M_SM_VAL_SAPI___DEF = 0x0, /* reserved */ | |
115 M_SM_SAPI_NONE = 0x0, /* No SAPI assigned */ | |
116 M_SM_SAPI_3 = 0x3, /* SAPI 3 */ | |
117 M_SM_SAPI_5 = 0x5, /* SAPI 5 */ | |
118 M_SM_SAPI_9 = 0x9, /* SAPI 9 */ | |
119 M_SM_SAPI_11 = 0xb /* SAPI 11 */ | |
120 }T_M_SM_VAL_sapi; | |
121 #endif | |
122 | |
123 /* | |
124 * Enum to value table VAL_peak | |
125 * CCDGEN:WriteEnum_Count==5 | |
126 */ | |
127 #ifndef __T_M_SM_VAL_peak__ | |
128 #define __T_M_SM_VAL_peak__ | |
129 typedef enum | |
130 { | |
131 M_SM_VAL_PEAK___DEF = 0x0, /* Up to 1000 octet/s */ | |
132 M_SM_PEAK_SUB = 0x0, /* Subscribed peak throughput (uplink only) */ | |
133 M_SM_PEAK_RES_DL = 0x0, /* reserved (downlink only) */ | |
134 M_SM_PEAK_1000 = 0x1, /* Up to 1000 octet/s */ | |
135 M_SM_PEAK_2000 = 0x2, /* Up to 2000 octet/s */ | |
136 M_SM_PEAK_4000 = 0x3, /* Up to 4000 octet/s */ | |
137 M_SM_PEAK_8000 = 0x4, /* Up to 8000 octet/s */ | |
138 M_SM_PEAK_16000 = 0x5, /* Up to 16000 octet/s */ | |
139 M_SM_PEAK_32000 = 0x6, /* Up to 32000 octet/s */ | |
140 M_SM_PEAK_64000 = 0x7, /* Up to 64000 octet/s */ | |
141 M_SM_PEAK_128000 = 0x8, /* Up to 128000 octet/s */ | |
142 M_SM_PEAK_256000 = 0x9, /* Up to 256000 octet/s */ | |
143 M_SM_PEAK_RES = 0xf /* Reserved */ | |
144 }T_M_SM_VAL_peak; | |
145 #endif | |
146 | |
147 /* | |
148 * Enum to value table VAL_precedence | |
149 * CCDGEN:WriteEnum_Count==6 | |
150 */ | |
151 #ifndef __T_M_SM_VAL_precedence__ | |
152 #define __T_M_SM_VAL_precedence__ | |
153 typedef enum | |
154 { | |
155 M_SM_VAL_PRECEDENCE___DEF = 0x0, /* Normal Priority */ | |
156 M_SM_PRECED_SUB = 0x0, /* Subscribed precedence (uplink only) */ | |
157 M_SM_PRECED_RES_DL = 0x0, /* Reserved (downlink only) */ | |
158 M_SM_PRECED_HIGH = 0x1, /* High priority */ | |
159 M_SM_PRECED_NORM = 0x2, /* Normal Priority */ | |
160 M_SM_PRECED_LOW = 0x3, /* Low priority */ | |
161 M_SM_PRECED_RES = 0x7 /* Reserved */ | |
162 }T_M_SM_VAL_precedence; | |
163 #endif | |
164 | |
165 /* | |
166 * Enum to value table VAL_mean | |
167 * CCDGEN:WriteEnum_Count==7 | |
168 */ | |
169 #ifndef __T_M_SM_VAL_mean__ | |
170 #define __T_M_SM_VAL_mean__ | |
171 typedef enum | |
172 { | |
173 M_SM_VAL_MEAN___DEF = 0x0, /* Best effort */ | |
174 M_SM_MEAN_SUB = 0x0, /* Subscribed mean throughput (uplink only) */ | |
175 M_SM_MEAN_RES_DL = 0x0, /* reserved (downlink only) */ | |
176 M_SM_MEAN_100 = 0x1, /* 100 octet/h */ | |
177 M_SM_MEAN_200 = 0x2, /* 200 octet/h */ | |
178 M_SM_MEAN_500 = 0x3, /* 500 octet/h */ | |
179 M_SM_MEAN_1000 = 0x4, /* 1000 octet/h */ | |
180 M_SM_MEAN_2000 = 0x5, /* 2000 octet/h */ | |
181 M_SM_MEAN_5000 = 0x6, /* 5000 octet/h */ | |
182 M_SM_MEAN_10000 = 0x7, /* 10000 octet/h */ | |
183 M_SM_MEAN_20000 = 0x8, /* 20000 octet/h */ | |
184 M_SM_MEAN_50000 = 0x9, /* 50000 octet/h */ | |
185 M_SM_MEAN_100000 = 0xa, /* 100000 octet/h */ | |
186 M_SM_MEAN_200000 = 0xb, /* 200000 octet/h */ | |
187 M_SM_MEAN_500000 = 0xc, /* 500000 octet/h */ | |
188 M_SM_MEAN_1000000 = 0xd, /* 1000000 octet/h */ | |
189 M_SM_MEAN_2000000 = 0xe, /* 2000000 octet/h */ | |
190 M_SM_MEAN_5000000 = 0xf, /* 5000000 octet/h */ | |
191 M_SM_MEAN_10000000 = 0x10, /* 10000000 octet/h */ | |
192 M_SM_MEAN_20000000 = 0x11, /* 20000000 octet/h */ | |
193 M_SM_MEAN_50000000 = 0x12, /* 50000000 octet/h */ | |
194 M_SM_MEAN_RES = 0x1e, /* Reserved */ | |
195 M_SM_MEAN_BEST = 0x1f /* Best effort */ | |
196 }T_M_SM_VAL_mean; | |
197 #endif | |
198 | |
199 /* | |
200 * Enum to value table VAL_tc | |
201 * CCDGEN:WriteEnum_Count==8 | |
202 */ | |
203 #ifndef __T_M_SM_VAL_tc__ | |
204 #define __T_M_SM_VAL_tc__ | |
205 typedef enum | |
206 { | |
207 M_SM_QOS_TC_SUB = 0x0, /* Subscribed traffic class (uplink only) */ | |
208 M_SM_QOS_TC_RES_DL = 0x0, /* Reserved (downlink only) */ | |
209 M_SM_QOS_TC_CONV = 0x1, /* Conversational class */ | |
210 M_SM_QOS_TC_STREAM = 0x2, /* Streaming class */ | |
211 M_SM_QOS_TC_INTER = 0x3, /* Interactive class */ | |
212 M_SM_QOS_TC_BG = 0x4, /* Background class */ | |
213 M_SM_QOS_TC_RES = 0x7 /* Reserved */ | |
214 }T_M_SM_VAL_tc; | |
215 #endif | |
216 | |
217 /* | |
218 * Enum to value table VAL_order | |
219 * CCDGEN:WriteEnum_Count==9 | |
220 */ | |
221 #ifndef __T_M_SM_VAL_order__ | |
222 #define __T_M_SM_VAL_order__ | |
223 typedef enum | |
224 { | |
225 M_SM_QOS_ORDER_SUB = 0x0, /* Subscribed delivery order (uplink only) */ | |
226 M_SM_QOS_ORDER_RES_DL = 0x0, /* Reserved (downlink only) */ | |
227 M_SM_QOS_ORDER_YES = 0x1, /* With delivery order ('yes') */ | |
228 M_SM_QOS_ORDER_NO = 0x2, /* Without delivery order ('no') */ | |
229 M_SM_QOS_ORDER_RES = 0x3 /* Reserved */ | |
230 }T_M_SM_VAL_order; | |
231 #endif | |
232 | |
233 /* | |
234 * Enum to value table VAL_del_err_sdu | |
235 * CCDGEN:WriteEnum_Count==10 | |
236 */ | |
237 #ifndef __T_M_SM_VAL_del_err_sdu__ | |
238 #define __T_M_SM_VAL_del_err_sdu__ | |
239 typedef enum | |
240 { | |
241 M_SM_QOS_DEL_ERR_SUB = 0x0, /* Subscribed delivery order (uplink only) */ | |
242 M_SM_QOS_DEL_ERR_RES_DL = 0x0, /* Reserved (downlink only) */ | |
243 M_SM_QOS_DEL_ERR_NODETECT = 0x1, /* No detect ('-') */ | |
244 M_SM_QOS_DEL_ERR_YES = 0x2, /* Erroneous SDUs are delivered ('yes') */ | |
245 M_SM_QOS_DEL_ERR_NO = 0x3, /* Erroneous SDUs are not delivered ('no') */ | |
246 M_SM_QOS_DEL_ERR_RES = 0x7 /* Reserved */ | |
247 }T_M_SM_VAL_del_err_sdu; | |
248 #endif | |
249 | |
250 /* | |
251 * Enum to value table VAL_max_sdu | |
252 * CCDGEN:WriteEnum_Count==11 | |
253 */ | |
254 #ifndef __T_M_SM_VAL_max_sdu__ | |
255 #define __T_M_SM_VAL_max_sdu__ | |
256 typedef enum | |
257 { | |
258 M_SM_QOS_MAX_SDU_SUB = 0x0, /* Subscribed maximum SDU size */ | |
259 M_SM_QOS_MAX_SDU_RES_DL = 0x0, /* Reserved (downlink only) */ | |
260 M_SM_QOS_MAX_SDU_1502 = 0x97, /* Maximum SDU size 1502 octets */ | |
261 M_SM_QOS_MAX_SDU_1510 = 0x98, /* Maximum SDU size 1510 octets */ | |
262 M_SM_QOS_MAX_SDU_1520 = 0x99, /* Maximum SDU size 1520 octets */ | |
263 M_SM_QOS_MAX_SDU_RES = 0xff /* Reserved */ | |
264 }T_M_SM_VAL_max_sdu; | |
265 #endif | |
266 | |
267 /* | |
268 * Enum to value table VAL_max_br_ul | |
269 * CCDGEN:WriteEnum_Count==12 | |
270 */ | |
271 #ifndef __T_M_SM_VAL_max_br_ul__ | |
272 #define __T_M_SM_VAL_max_br_ul__ | |
273 typedef enum | |
274 { | |
275 M_SM_QOS_MAX_BR_UL_SUB = 0x0, /* Subscribed maximum uplink data rate (uplink only) */ | |
276 M_SM_QOS_MAX_BR_UL_RES_DL = 0x0, /* Reserved (downlink only) */ | |
277 M_SM_QOS_MAX_BR_UL_0 = 0xff /* 0 kbps uplink data rate */ | |
278 }T_M_SM_VAL_max_br_ul; | |
279 #endif | |
280 | |
281 /* | |
282 * Enum to value table VAL_max_br_dl | |
283 * CCDGEN:WriteEnum_Count==13 | |
284 */ | |
285 #ifndef __T_M_SM_VAL_max_br_dl__ | |
286 #define __T_M_SM_VAL_max_br_dl__ | |
287 typedef enum | |
288 { | |
289 M_SM_QOS_MAX_BR_DL_SUB = 0x0, /* Subscribed maximum downlink data rate (uplink only) */ | |
290 M_SM_QOS_MAX_BR_DL_RES_DL = 0x0, /* Reserved (downlink only) */ | |
291 M_SM_QOS_MAX_BR_DL_0 = 0xff /* 0 kbps downlink data rate */ | |
292 }T_M_SM_VAL_max_br_dl; | |
293 #endif | |
294 | |
295 /* | |
296 * Enum to value table VAL_ber | |
297 * CCDGEN:WriteEnum_Count==14 | |
298 */ | |
299 #ifndef __T_M_SM_VAL_ber__ | |
300 #define __T_M_SM_VAL_ber__ | |
301 typedef enum | |
302 { | |
303 M_SM_QOS_BER_SUB = 0x0, /* Subscribed residual BER (uplink only) */ | |
304 M_SM_QOS_BER_RES_DL = 0x0, /* Reserved (downlink only) */ | |
305 M_SM_QOS_BER_5E_2 = 0x1, /* 5*10-2 */ | |
306 M_SM_QOS_BER_1E_2 = 0x2, /* 1*10-2 */ | |
307 M_SM_QOS_BER_5E_3 = 0x3, /* 5*10-3 */ | |
308 M_SM_QOS_BER_4E_3 = 0x4, /* 4*10-3 */ | |
309 M_SM_QOS_BER_1E_3 = 0x5, /* 1*10-3 */ | |
310 M_SM_QOS_BER_1E_4 = 0x6, /* 1*10-4 */ | |
311 M_SM_QOS_BER_1E_5 = 0x7, /* 1*10-5 */ | |
312 M_SM_QOS_BER_1E_6 = 0x8, /* 1*10-6 */ | |
313 M_SM_QOS_BER_6E_8 = 0x9, /* 6*10-8 */ | |
314 M_SM_QOS_BER_RES = 0xf /* Reserved */ | |
315 }T_M_SM_VAL_ber; | |
316 #endif | |
317 | |
318 /* | |
319 * Enum to value table VAL_sdu_err_ratio | |
320 * CCDGEN:WriteEnum_Count==15 | |
321 */ | |
322 #ifndef __T_M_SM_VAL_sdu_err_ratio__ | |
323 #define __T_M_SM_VAL_sdu_err_ratio__ | |
324 typedef enum | |
325 { | |
326 M_SM_QOS_SDU_ERR_SUB = 0x0, /* Subscribed SDU error ratio */ | |
327 M_SM_QOS_SDU_ERR_RES_DL = 0x0, /* Reserved (downlink only) */ | |
328 M_SM_QOS_SDU_ERR_1E_2 = 0x1, /* 1*10-2 */ | |
329 M_SM_QOS_SDU_ERR_7E_3 = 0x2, /* 7*10-3 */ | |
330 M_SM_QOS_SDU_ERR_1E_3 = 0x3, /* 1*10-3 */ | |
331 M_SM_QOS_SDU_ERR_1E_4 = 0x4, /* 1*10-4 */ | |
332 M_SM_QOS_SDU_ERR_1E_5 = 0x5, /* 1*10-5 */ | |
333 M_SM_QOS_SDU_ERR_1E_6 = 0x6, /* 1*10-6 */ | |
334 M_SM_QOS_SDU_ERR_1E_1 = 0x7, /* 1*10-1 */ | |
335 M_SM_QOS_SDU_ERR_RES = 0xf /* Reserved */ | |
336 }T_M_SM_VAL_sdu_err_ratio; | |
337 #endif | |
338 | |
339 /* | |
340 * Enum to value table VAL_xfer_delay | |
341 * CCDGEN:WriteEnum_Count==16 | |
342 */ | |
343 #ifndef __T_M_SM_VAL_xfer_delay__ | |
344 #define __T_M_SM_VAL_xfer_delay__ | |
345 typedef enum | |
346 { | |
347 M_SM_QOS_XFER_DELAY_SUB = 0x0, /* Subscribed transfer delay (uplink only) */ | |
348 M_SM_QOS_XFER_DELAY_RES_DL = 0x0, /* Reserved (downlink only) */ | |
349 M_SM_QOS_XFER_DELAY_RES = 0x3f /* Reserved */ | |
350 }T_M_SM_VAL_xfer_delay; | |
351 #endif | |
352 | |
353 /* | |
354 * Enum to value table VAL_handling_pri | |
355 * CCDGEN:WriteEnum_Count==17 | |
356 */ | |
357 #ifndef __T_M_SM_VAL_handling_pri__ | |
358 #define __T_M_SM_VAL_handling_pri__ | |
359 typedef enum | |
360 { | |
361 M_SM_QOS_HANDLING_PRI_SUB = 0x0, /* Subscribed traffic handling priority (uplink only) */ | |
362 M_SM_QOS_HANDLING_PRI_RES_DL = 0x0, /* Reserved (downlink only) */ | |
363 M_SM_QOS_HANDLING_PRI_1 = 0x1, /* Priority level 1 */ | |
364 M_SM_QOS_HANDLING_PRI_2 = 0x2, /* Priority level 2 */ | |
365 M_SM_QOS_HANDLING_PRI_3 = 0x3 /* Priority level 3 */ | |
366 }T_M_SM_VAL_handling_pri; | |
367 #endif | |
368 | |
369 /* | |
370 * Enum to value table VAL_guar_br_ul | |
371 * CCDGEN:WriteEnum_Count==18 | |
372 */ | |
373 #ifndef __T_M_SM_VAL_guar_br_ul__ | |
374 #define __T_M_SM_VAL_guar_br_ul__ | |
375 typedef enum | |
376 { | |
377 M_SM_QOS_GUAR_BR_UL_SUB = 0x0, /* Subscribed guaranteed uplink data rate (uplink only) */ | |
378 M_SM_QOS_GUAR_BR_UL_RES_DL = 0x0 /* Reserved (downlink only) */ | |
379 }T_M_SM_VAL_guar_br_ul; | |
380 #endif | |
381 | |
382 /* | |
383 * Enum to value table VAL_guar_br_dl | |
384 * CCDGEN:WriteEnum_Count==19 | |
385 */ | |
386 #ifndef __T_M_SM_VAL_guar_br_dl__ | |
387 #define __T_M_SM_VAL_guar_br_dl__ | |
388 typedef enum | |
389 { | |
390 M_SM_QOS_GUAR_BR_DL_SUB = 0x0, /* Subscribed guaranteed downlink data rate (uplink only) */ | |
391 M_SM_QOS_GUAR_BR_DL_RES_DL = 0x0 /* Reserved (downlink only) */ | |
392 }T_M_SM_VAL_guar_br_dl; | |
393 #endif | |
394 | |
395 /* | |
396 * Enum to value table VAL_pfi_val | |
397 * CCDGEN:WriteEnum_Count==20 | |
398 */ | |
399 #ifndef __T_M_SM_VAL_pfi_val__ | |
400 #define __T_M_SM_VAL_pfi_val__ | |
401 typedef enum | |
402 { | |
403 M_SM_PFI_BEST_EFFORT = 0x0, /* Best effort */ | |
404 M_SM_PFI_SIGNALLING = 0x1, /* Signalling */ | |
405 M_SM_PFI_SMS = 0x2 /* SMS */ | |
406 }T_M_SM_VAL_pfi_val; | |
407 #endif | |
408 | |
409 /* | |
410 * Enum to value table VAL_pdp_type_org | |
411 * CCDGEN:WriteEnum_Count==21 | |
412 */ | |
413 #ifndef __T_M_SM_VAL_pdp_type_org__ | |
414 #define __T_M_SM_VAL_pdp_type_org__ | |
415 typedef enum | |
416 { | |
417 M_SM_VAL_PDP_TYPE_ORG___DEF = 0x0, /* ETSI allocated address (PPP) */ | |
418 M_SM_ETSI_ORG = 0x0, /* ETSI allocated address (PPP) */ | |
419 M_SM_IETF_ORG = 0x1, /* IETF allocated address */ | |
420 M_SM_PDP_MT = 0xf /* Dynamic PDP addressing is applied, (uplink only) */ | |
421 }T_M_SM_VAL_pdp_type_org; | |
422 #endif | |
423 | |
424 /* | |
425 * Enum to value table VAL_pdp_type_no | |
426 * CCDGEN:WriteEnum_Count==22 | |
427 */ | |
428 #ifndef __T_M_SM_VAL_pdp_type_no__ | |
429 #define __T_M_SM_VAL_pdp_type_no__ | |
430 typedef enum | |
431 { | |
432 M_SM_VAL_PDP_TYPE_NO___DEF = 0x0, /* IPv4 address */ | |
433 M_SM_PPP_TYPE = 0x1, /* PDP type PPP */ | |
434 M_SM_IP4_TYPE = 0x21, /* IPv4 address */ | |
435 M_SM_IP6_TYPE = 0x57 /* IPv6 address */ | |
436 }T_M_SM_VAL_pdp_type_no; | |
437 #endif | |
438 | |
439 /* | |
440 * Enum to value table VAL_radio_prio_val | |
441 * CCDGEN:WriteEnum_Count==23 | |
442 */ | |
443 #ifndef __T_M_SM_VAL_radio_prio_val__ | |
444 #define __T_M_SM_VAL_radio_prio_val__ | |
445 typedef enum | |
446 { | |
447 M_SM_VAL_RADIO_PRIO_VAL___DEF = 0x0, /* priority level 4 (lowest) */ | |
448 M_SM_RADIO_PRIO_1 = 0x1, /* priority level 1 (highest) */ | |
449 M_SM_RADIO_PRIO_2 = 0x2, /* priority level 2 */ | |
450 M_SM_RADIO_PRIO_3 = 0x3, /* priority level 3 */ | |
451 M_SM_RADIO_PRIO_4 = 0x4 /* priority level 4 (lowest) */ | |
452 }T_M_SM_VAL_radio_prio_val; | |
453 #endif | |
454 | |
455 /* | |
456 * Enum to value table VAL_sm_cause_val | |
457 * CCDGEN:WriteEnum_Count==24 | |
458 */ | |
459 #ifndef __T_M_SM_VAL_sm_cause_val__ | |
460 #define __T_M_SM_VAL_sm_cause_val__ | |
461 typedef enum | |
462 { | |
463 M_SM_VAL_SM_CAUSE_VAL___DEF = 0x0, /* Service option temporarily out of order */ | |
464 M_SM_CAUSE_LLC_OR_SNDCP_FAILURE = 0x19, /* LLC or SNDCP failure */ | |
465 M_SM_CAUSE_INSUFFICIENT_RESOURCES = 0x1a, /* Insufficient resources */ | |
466 M_SM_CAUSE_MISSING_OR_UNKNOWN_APN = 0x1b, /* Missing or unknown APN */ | |
467 M_SM_CAUSE_UNKNOWN_PDP_ADDR_OR_TYPE = 0x1c, /* Unknown PDP address or PDP type */ | |
468 M_SM_CAUSE_USER_AUTH_FAILED = 0x1d, /* User Aauthentication failed */ | |
469 M_SM_CAUSE_ACTIVATE_REJECTED_BY_GGSN = 0x1e, /* Activation rejected by GGSN */ | |
470 M_SM_CAUSE_ACTIVATE_REJECTED_UNSPEC = 0x1f, /* Activation rejected, unspecified */ | |
471 M_SM_CAUSE_SERVICE_NOT_SUPPORTED = 0x20, /* Service option not supported */ | |
472 M_SM_CAUSE_SERVICE_NOT_SUBSCRIBED = 0x21, /* Requested service option not subscribed */ | |
473 M_SM_CAUSE_SERVICE_TEMP_OUT_OF_ORDER = 0x22, /* Service option temporarily out of order */ | |
474 M_SM_CAUSE_NSAPI_IN_USE = 0x23, /* NSAPI already used */ | |
475 M_SM_CAUSE_REGULAR_DEACTIVATION = 0x24, /* Regular deactivation */ | |
476 M_SM_CAUSE_QOS_NOT_ACCEPTED = 0x25, /* QoS not accepted */ | |
477 M_SM_CAUSE_NETWORK_FAILURE = 0x26, /* Network failure */ | |
478 M_SM_CAUSE_REACTIVATION_REQUESTED = 0x27, /* Reactivation requested */ | |
479 M_SM_CAUSE_FEATURE_NOT_SUPPORTED = 0x28, /* Feature not supported (context activation) */ | |
480 M_SM_CAUSE_SEMANTIC_TFT_ERROR = 0x29, /* Semantic error in TFT operation */ | |
481 M_SM_CAUSE_SYNTACTIC_TFT_ERROR = 0x2a, /* Syntactical error in TFT operation */ | |
482 M_SM_CAUSE_UNKNOWN_LINKED_TI = 0x2b, /* Unknown PDP context (identified by linked TI) */ | |
483 M_SM_CAUSE_SEMANTIC_TFT_FILTER_ERROR = 0x2c, /* Semantic error in packet filter */ | |
484 M_SM_CAUSE_SYNTACTIC_TFT_FILTER_ERROR = 0x2d, /* Syntactical error in packet filter */ | |
485 M_SM_CAUSE_CONTEXT_NEEDS_TFT = 0x2e, /* PDP context without TFT already activated */ | |
486 M_SM_CAUSE_INVALID_TI = 0x51, /* Invalid transaction identifier value */ | |
487 M_SM_CAUSE_SEMANTIC_ERROR_IN_MSG = 0x5f, /* Semantically incorrect message */ | |
488 M_SM_CAUSE_INVALID_MANDATORY_ELEMENT = 0x60, /* Invalid mandatory information */ | |
489 M_SM_CAUSE_MSG_TYPE_NOT_IMPL = 0x61, /* Message type non-existent or not implemented */ | |
490 M_SM_CAUSE_MSG_TYPE_INCOMPATIBLE_WITH_STATE = 0x62, /* Message type not compatible with the protocol state */ | |
491 M_SM_CAUSE_IE_NOT_IMPLEMENTED = 0x63, /* Information element non-existent or not implemented */ | |
492 M_SM_CAUSE_CONDITIONAL_IE_ERROR = 0x64, /* Conditional IE error */ | |
493 M_SM_CAUSE_MSG_INCOMPATIBLE_WITH_STATE = 0x65, /* Message not compatible with the protocol state */ | |
494 M_SM_CAUSE_PROTOCOL_ERROR_UNSPEC = 0x6f /* Protocol error, unspecified */ | |
495 }T_M_SM_VAL_sm_cause_val; | |
496 #endif | |
497 | |
498 /* | |
499 * Enum to value table VAL_tft_opcode | |
500 * CCDGEN:WriteEnum_Count==25 | |
501 */ | |
502 #ifndef __T_M_SM_VAL_tft_opcode__ | |
503 #define __T_M_SM_VAL_tft_opcode__ | |
504 typedef enum | |
505 { | |
506 M_SM_VAL_TFT_OPCODE___DEF = 0x0, /* Reserved */ | |
507 M_SM_TFT_OPCODE_SPARE = 0x0, /* Spare */ | |
508 M_SM_TFT_OPCODE_CREATE_TFT = 0x1, /* Create new TFT */ | |
509 M_SM_TFT_OPCODE_DELETE_TFT = 0x2, /* Delete existing TFT */ | |
510 M_SM_TFT_OPCODE_ADD_FILTERS = 0x3, /* Add packet filters to existing TFT */ | |
511 M_SM_TFT_OPCODE_REPLACE_FILTERS = 0x4, /* Replace packet filters in existing TFT */ | |
512 M_SM_TFT_OPCODE_DELETE_FILTERS = 0x5 /* Delete packet filters from existing TFT */ | |
513 }T_M_SM_VAL_tft_opcode; | |
514 #endif | |
515 | |
516 /* | |
517 * user defined constants | |
518 */ | |
519 #define M_SM_SIZE_R97_QOS (0x3) | |
520 #define M_SM_SIZE_R99_QOS (0xb) | |
521 | |
522 #include "CDG_LEAVE.h" | |
523 | |
524 | |
525 #endif |