comparison cdg3/cdginc-locosto/p_8010_152_ps_include.h @ 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_152_ps_include.h |
5 | SOURCE : "sap\8010_152_ps_include.pdf" |
6 | LastModified : "2003-10-15" |
7 | IdAndVersion : "8010.152.02.023" |
8 | SrcFileTime : "Thu Nov 29 09:28:58 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 : PS
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_152_PS_INCLUDE_H
24 #define P_8010_152_PS_INCLUDE_H
25
26
27 #define CDG_ENTER__P_8010_152_PS_INCLUDE_H
28
29 #define CDG_ENTER__FILENAME _P_8010_152_PS_INCLUDE_H
30 #define CDG_ENTER__P_8010_152_PS_INCLUDE_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_8010_152_PS_INCLUDE_H__LAST_MODIFIED _2003_10_15
32 #define CDG_ENTER__P_8010_152_PS_INCLUDE_H__ID_AND_VERSION _8010_152_02_023
33
34 #define CDG_ENTER__P_8010_152_PS_INCLUDE_H__SRC_FILE_TIME _Thu_Nov_29_09_28_58_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_8010_152_PS_INCLUDE_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_8010_152_ps_include.val"
44
45
46 /*
47 * typedef between var and valtab enums
48 */
49 #ifndef __T_PS_pkt_flow_id__
50 #define __T_PS_pkt_flow_id__
51 typedef T_PS_VAL_pkt_flow_id T_PS_pkt_flow_id;
52 #endif
53
54 #ifndef __T_PS_delay__
55 #define __T_PS_delay__
56 typedef T_PS_VAL_delay T_PS_delay;
57 #endif
58
59 #ifndef __T_PS_relclass__
60 #define __T_PS_relclass__
61 typedef T_PS_VAL_relclass T_PS_relclass;
62 #endif
63
64 #ifndef __T_PS_peak__
65 #define __T_PS_peak__
66 typedef T_PS_VAL_peak T_PS_peak;
67 #endif
68
69 #ifndef __T_PS_preced__
70 #define __T_PS_preced__
71 typedef T_PS_VAL_preced T_PS_preced;
72 #endif
73
74 #ifndef __T_PS_mean__
75 #define __T_PS_mean__
76 typedef T_PS_VAL_mean T_PS_mean;
77 #endif
78
79 #ifndef __T_PS_tc__
80 #define __T_PS_tc__
81 typedef T_PS_VAL_tc T_PS_tc;
82 #endif
83
84 #ifndef __T_PS_order__
85 #define __T_PS_order__
86 typedef T_PS_VAL_order T_PS_order;
87 #endif
88
89 #ifndef __T_PS_del_err_sdu__
90 #define __T_PS_del_err_sdu__
91 typedef T_PS_VAL_del_err_sdu T_PS_del_err_sdu;
92 #endif
93
94 #ifndef __T_PS_max_sdu__
95 #define __T_PS_max_sdu__
96 typedef T_PS_VAL_max_sdu T_PS_max_sdu;
97 #endif
98
99 #ifndef __T_PS_max_rate_ul__
100 #define __T_PS_max_rate_ul__
101 typedef T_PS_VAL_max_rate_ul T_PS_max_rate_ul;
102 #endif
103
104 #ifndef __T_PS_max_rate_dl__
105 #define __T_PS_max_rate_dl__
106 typedef T_PS_VAL_max_rate_dl T_PS_max_rate_dl;
107 #endif
108
109 #ifndef __T_PS_xfer_delay__
110 #define __T_PS_xfer_delay__
111 typedef T_PS_VAL_xfer_delay T_PS_xfer_delay;
112 #endif
113
114 #ifndef __T_PS_handling_pri__
115 #define __T_PS_handling_pri__
116 typedef T_PS_VAL_handling_pri T_PS_handling_pri;
117 #endif
118
119 #ifndef __T_PS_guar_br_ul__
120 #define __T_PS_guar_br_ul__
121 typedef T_PS_VAL_guar_br_ul T_PS_guar_br_ul;
122 #endif
123
124 #ifndef __T_PS_guar_br_dl__
125 #define __T_PS_guar_br_dl__
126 typedef T_PS_VAL_guar_br_dl T_PS_guar_br_dl;
127 #endif
128
129 #ifndef __T_PS_sgsn_rel__
130 #define __T_PS_sgsn_rel__
131 typedef T_PS_VAL_sgsn_rel T_PS_sgsn_rel;
132 #endif
133
134 #ifndef __T_PS_content__
135 #define __T_PS_content__
136 typedef T_PS_VAL_content T_PS_content;
137 #endif
138
139 #ifndef __T_PS_access_modes__
140 #define __T_PS_access_modes__
141 typedef T_PS_VAL_access_modes T_PS_access_modes;
142 #endif
143
144 #ifndef __T_PS_arfcn_rssi__
145 #define __T_PS_arfcn_rssi__
146 typedef T_PS_VAL_arfcn_rssi T_PS_arfcn_rssi;
147 #endif
148
149 #ifndef __T_PS_attach_detach_allowed__
150 #define __T_PS_attach_detach_allowed__
151 typedef T_PS_VAL_attach_detach_allowed T_PS_attach_detach_allowed;
152 #endif
153
154 #ifndef __T_PS_service_level__
155 #define __T_PS_service_level__
156 typedef T_PS_VAL_service_level T_PS_service_level;
157 #endif
158
159 #ifndef __T_PS_cn_domain__
160 #define __T_PS_cn_domain__
161 typedef T_PS_VAL_cn_domain T_PS_cn_domain;
162 #endif
163
164 #ifndef __T_PS_cpich_ec_n0__
165 #define __T_PS_cpich_ec_n0__
166 typedef T_PS_VAL_cpich_ec_n0 T_PS_cpich_ec_n0;
167 #endif
168
169 #ifndef __T_PS_cpich_rscp__
170 #define __T_PS_cpich_rscp__
171 typedef T_PS_VAL_cpich_rscp T_PS_cpich_rscp;
172 #endif
173
174 #ifndef __T_PS_est_service__
175 #define __T_PS_est_service__
176 typedef T_PS_VAL_est_service T_PS_est_service;
177 #endif
178
179 #ifndef __T_PS_arfcn__
180 #define __T_PS_arfcn__
181 typedef T_PS_VAL_arfcn T_PS_arfcn;
182 #endif
183
184 #ifndef __T_PS_gsm_band_priority__
185 #define __T_PS_gsm_band_priority__
186 typedef T_PS_VAL_gsm_band_priority T_PS_gsm_band_priority;
187 #endif
188
189 #ifndef __T_PS_ncc__
190 #define __T_PS_ncc__
191 typedef T_PS_VAL_ncc T_PS_ncc;
192 #endif
193
194 #ifndef __T_PS_bcc__
195 #define __T_PS_bcc__
196 typedef T_PS_VAL_bcc T_PS_bcc;
197 #endif
198
199 #ifndef __T_PS_gsm_frequency_band__
200 #define __T_PS_gsm_frequency_band__
201 typedef T_PS_VAL_gsm_frequency_band T_PS_gsm_frequency_band;
202 #endif
203
204 #ifndef __T_PS_gsm_ncell_index__
205 #define __T_PS_gsm_ncell_index__
206 typedef T_PS_VAL_gsm_ncell_index T_PS_gsm_ncell_index;
207 #endif
208
209 #ifndef __T_PS_bsic_valid__
210 #define __T_PS_bsic_valid__
211 typedef T_PS_VAL_bsic_valid T_PS_bsic_valid;
212 #endif
213
214 #ifndef __T_PS_llc_mode__
215 #define __T_PS_llc_mode__
216 typedef T_PS_VAL_llc_mode T_PS_llc_mode;
217 #endif
218
219 #ifndef __T_PS_meas_mode__
220 #define __T_PS_meas_mode__
221 typedef T_PS_VAL_meas_mode T_PS_meas_mode;
222 #endif
223
224 #ifndef __T_PS_nmo__
225 #define __T_PS_nmo__
226 typedef T_PS_VAL_nmo T_PS_nmo;
227 #endif
228
229 #ifndef __T_PS_search_mode__
230 #define __T_PS_search_mode__
231 typedef T_PS_VAL_search_mode T_PS_search_mode;
232 #endif
233
234 #ifndef __T_PS_peak_throughput__
235 #define __T_PS_peak_throughput__
236 typedef T_PS_VAL_peak T_PS_peak_throughput;
237 #endif
238
239 #ifndef __T_PS_t3212__
240 #define __T_PS_t3212__
241 typedef T_PS_VAL_t3212 T_PS_t3212;
242 #endif
243
244 #ifndef __T_PS_mcc__
245 #define __T_PS_mcc__
246 typedef T_PS_VAL_mcc T_PS_mcc;
247 #endif
248
249 #ifndef __T_PS_mnc__
250 #define __T_PS_mnc__
251 typedef T_PS_VAL_mnc T_PS_mnc;
252 #endif
253
254 #ifndef __T_PS_rat__
255 #define __T_PS_rat__
256 typedef T_PS_VAL_rat T_PS_rat;
257 #endif
258
259 #ifndef __T_PS_radio_prio__
260 #define __T_PS_radio_prio__
261 typedef T_PS_VAL_radio_prio T_PS_radio_prio;
262 #endif
263
264 #ifndef __T_PS_rel_ind__
265 #define __T_PS_rel_ind__
266 typedef T_PS_VAL_rel_ind T_PS_rel_ind;
267 #endif
268
269 #ifndef __T_PS_ksi__
270 #define __T_PS_ksi__
271 typedef T_PS_VAL_ksi T_PS_ksi;
272 #endif
273
274 #ifndef __T_PS_sapi__
275 #define __T_PS_sapi__
276 typedef T_PS_VAL_sapi T_PS_sapi;
277 #endif
278
279 #ifndef __T_PS_sim_type__
280 #define __T_PS_sim_type__
281 typedef T_PS_VAL_sim_type T_PS_sim_type;
282 #endif
283
284 #ifndef __T_PS_uarfcn_rssi__
285 #define __T_PS_uarfcn_rssi__
286 typedef T_PS_VAL_uarfcn_rssi T_PS_uarfcn_rssi;
287 #endif
288
289 #ifndef __T_PS_uarfcn__
290 #define __T_PS_uarfcn__
291 typedef T_PS_VAL_uarfcn T_PS_uarfcn;
292 #endif
293
294 #ifndef __T_PS_cell_status__
295 #define __T_PS_cell_status__
296 typedef T_PS_VAL_cell_status T_PS_cell_status;
297 #endif
298
299 #ifndef __T_PS_psc__
300 #define __T_PS_psc__
301 typedef T_PS_VAL_psc T_PS_psc;
302 #endif
303
304 #ifndef __T_PS_threshold__
305 #define __T_PS_threshold__
306 typedef T_PS_VAL_threshold T_PS_threshold;
307 #endif
308
309 #ifndef __T_PS_start_val__
310 #define __T_PS_start_val__
311 typedef T_PS_VAL_start_val T_PS_start_val;
312 #endif
313
314 #ifndef __T_PS_tx_diversity__
315 #define __T_PS_tx_diversity__
316 typedef T_PS_VAL_tx_diversity T_PS_tx_diversity;
317 #endif
318
319 #ifndef __T_PS_acc__
320 #define __T_PS_acc__
321 /*
322 * Container for the access control class field from (U)SIM, see [3G 11.11] and [3G 31.102]
323 * CCDGEN:WriteStruct_Count==1341
324 */
325 typedef struct
326 {
327 U8 content[PS_SIZE_ACC]; /*< 0: 2> T_PS_content, Content of access control class */
328 U8 _align0; /*< 2: 1> alignment */
329 U8 _align1; /*< 3: 1> alignment */
330 } T_PS_acc;
331 #endif
332
333 #ifndef __T_PS_ad__
334 #define __T_PS_ad__
335 /*
336 * Container for the administrative data field from (U)SIM, see [3G 11.11] and [3G 31.102]
337 * CCDGEN:WriteStruct_Count==1342
338 */
339 typedef struct
340 {
341 U8 op; /*< 0: 1> UE operation mode */
342 U8 ai[PS_SIZE_AI]; /*< 1: 2> Additional information */
343 U8 _align0; /*< 3: 1> alignment */
344 } T_PS_ad;
345 #endif
346
347 #ifndef __T_PS_gsm_bands__
348 #define __T_PS_gsm_bands__
349 /*
350 * GSM bands
351 * CCDGEN:WriteStruct_Count==1343
352 */
353 typedef struct
354 {
355 U16 gsm_frequency_band; /*< 0: 2> T_PS_gsm_frequency_band, Frequency band specification */
356 U16 gsm_band_priority; /*< 2: 2> T_PS_gsm_band_priority, GSM band priority */
357 } T_PS_gsm_bands;
358 #endif
359
360 #ifndef __T_PS_bsic__
361 #define __T_PS_bsic__
362 /*
363 * GSM BSIC
364 * CCDGEN:WriteStruct_Count==1344
365 */
366 typedef struct
367 {
368 U8 ncc; /*< 0: 1> T_PS_ncc, NCC */
369 U8 bcc; /*< 1: 1> T_PS_bcc, BCC */
370 U8 _align0; /*< 2: 1> alignment */
371 U8 _align1; /*< 3: 1> alignment */
372 } T_PS_bsic;
373 #endif
374
375 #ifndef __T_PS_gsm_cell_description__
376 #define __T_PS_gsm_cell_description__
377 /*
378 * GSM channel number and band specification
379 * CCDGEN:WriteStruct_Count==1345
380 */
381 typedef struct
382 {
383 U16 gsm_frequency_band; /*< 0: 2> T_PS_gsm_frequency_band, Frequency band specification */
384 U16 arfcn; /*< 2: 2> T_PS_arfcn, GSM channel number */
385 T_PS_bsic bsic; /*< 4: 4> GSM BSIC */
386 } T_PS_gsm_cell_description;
387 #endif
388
389 #ifndef __T_PS_gsm_ncell_list__
390 #define __T_PS_gsm_ncell_list__
391 /*
392 * GSM neighbour cell list
393 * CCDGEN:WriteStruct_Count==1346
394 */
395 typedef struct
396 {
397 U8 _align0; /*< 0: 1> alignment */
398 U8 _align1; /*< 1: 1> alignment */
399 U8 _align2; /*< 2: 1> alignment */
400 U8 c_gsm_cell_description; /*< 3: 1> counter */
401 T_PS_gsm_cell_description gsm_cell_description[PS_MAX_GSM_NCELLS]; /*< 4:256> GSM channel number and band specification */
402 } T_PS_gsm_ncell_list;
403 #endif
404
405 #ifndef __T_PS_gsm_ncell_measurement__
406 #define __T_PS_gsm_ncell_measurement__
407 /*
408 * GSM neighbour cell measurement result
409 * CCDGEN:WriteStruct_Count==1347
410 */
411 typedef struct
412 {
413 T_PS_gsm_cell_description gsm_cell_description; /*< 0: 8> GSM channel number and band specification */
414 U8 bsic_valid; /*< 8: 1> T_PS_bsic_valid, BSIC validated */
415 U8 v_arfcn_rssi; /*< 9: 1> valid-flag */
416 S8 arfcn_rssi; /*< 10: 1> T_PS_arfcn_rssi, GSM channel RSSI measurement */
417 U8 _align0; /*< 11: 1> alignment */
418 } T_PS_gsm_ncell_measurement;
419 #endif
420
421 #ifndef __T_PS_gsm_ncell_results__
422 #define __T_PS_gsm_ncell_results__
423 /*
424 * GSM neighbour cell results
425 * CCDGEN:WriteStruct_Count==1348
426 */
427 typedef struct
428 {
429 U8 _align0; /*< 0: 1> alignment */
430 U8 _align1; /*< 1: 1> alignment */
431 U8 _align2; /*< 2: 1> alignment */
432 U8 c_gsm_ncell_measurement; /*< 3: 1> counter */
433 T_PS_gsm_ncell_measurement gsm_ncell_measurement[PS_MAX_GSM_NCELLS]; /*< 4:384> GSM neighbour cell measurement result */
434 } T_PS_gsm_ncell_results;
435 #endif
436
437 #ifndef __T_PS_imsi__
438 #define __T_PS_imsi__
439 /*
440 * Container for a subscriber id
441 * CCDGEN:WriteStruct_Count==1349
442 */
443 typedef struct
444 {
445 U8 c_identity; /*< 0: 1> counter */
446 U8 identity[PS_SIZE_IMSI_MAX]; /*< 1: 15> Content of IMSI */
447 } T_PS_imsi;
448 #endif
449
450 #ifndef __T_PS_k_c__
451 #define __T_PS_k_c__
452 /*
453 * Container for GSM ciphering parameter
454 * CCDGEN:WriteStruct_Count==1350
455 */
456 typedef struct
457 {
458 U8 key[PS_SIZE_KC]; /*< 0: 8> Ciphering key */
459 U8 ksi; /*< 8: 1> T_PS_ksi, Key set identifier */
460 U8 _align0; /*< 9: 1> alignment */
461 U8 _align1; /*< 10: 1> alignment */
462 U8 _align2; /*< 11: 1> alignment */
463 } T_PS_k_c;
464 #endif
465
466 /*
467 * Container for GPRS ciphering parameter
468 * CCDGEN:WriteStruct_Count==1351
469 */
470 #ifndef __T_PS_k_c_gprs__
471 #define __T_PS_k_c_gprs__
472 typedef T_PS_k_c T_PS_k_c_gprs;
473 #endif
474 #ifndef __T_PS_gsm_key_set__
475 #define __T_PS_gsm_key_set__
476 /*
477 * Contains information related to ciphering
478 * CCDGEN:WriteStruct_Count==1352
479 */
480 typedef struct
481 {
482 T_PS_k_c k_c; /*< 0: 12> Container for GSM ciphering parameter */
483 T_PS_k_c_gprs k_c_gprs; /*< 12: 12> Container for GPRS ciphering parameter */
484 } T_PS_gsm_key_set;
485 #endif
486
487 #ifndef __T_PS_ul_sdus__
488 #define __T_PS_ul_sdus__
489 /*
490 * Sequence numbers and mem handles pr. NSAPI
491 * CCDGEN:WriteStruct_Count==1353
492 */
493 typedef struct
494 {
495 U8 ul_sequence_number; /*< 0: 1> Sequence number of last unacknowledged uplink SDU */
496 U8 dl_sequence_number; /*< 1: 1> Sequence number of last unacknowledged downlink SDU (used by the network) */
497 U8 _align0; /*< 2: 1> alignment */
498 U8 c_mem_handle; /*< 3: 1> counter */
499 U32 *ptr_mem_handle; /*< 4: 4> pointer to Memory handle */
500 } T_PS_ul_sdus;
501 #endif
502
503 #ifndef __T_PS_lac__
504 #define __T_PS_lac__
505 /*
506 * Container for location area code
507 * CCDGEN:WriteStruct_Count==1354
508 */
509 typedef struct
510 {
511 U8 lac_elements[PS_SIZE_LAC]; /*< 0: 2> Location area code element */
512 U8 _align0; /*< 2: 1> alignment */
513 U8 _align1; /*< 3: 1> alignment */
514 } T_PS_lac;
515 #endif
516
517 #ifndef __T_PS_operation_mode__
518 #define __T_PS_operation_mode__
519 /*
520 * Supported radio access technologies
521 * CCDGEN:WriteStruct_Count==1355
522 */
523 typedef struct
524 {
525 U8 access_modes; /*< 0: 1> T_PS_access_modes, Supported access modes. */
526 U8 _align0; /*< 1: 1> alignment */
527 U8 _align1; /*< 2: 1> alignment */
528 U8 v_gsm_bands; /*< 3: 1> valid-flag */
529 T_PS_gsm_bands gsm_bands; /*< 4: 4> GSM bands */
530 } T_PS_operation_mode;
531 #endif
532
533 #ifndef __T_PS_nas_system_info__
534 #define __T_PS_nas_system_info__
535 /*
536 * NAS system information
537 * CCDGEN:WriteStruct_Count==1356
538 */
539 typedef struct
540 {
541 T_PS_lac lac; /*< 0: 4> Container for location area code */
542 U8 v_rac; /*< 4: 1> valid-flag */
543 U8 rac; /*< 5: 1> Container for packet switched routing area code */
544 U8 nmo; /*< 6: 1> T_PS_nmo, Network mode of operation */
545 U8 attach_detach_allowed; /*< 7: 1> T_PS_attach_detach_allowed, Attach/detach allowed */
546 U8 t3212; /*< 8: 1> T_PS_t3212, Periodic updating timer */
547 U8 _align0; /*< 9: 1> alignment */
548 U8 _align1; /*< 10: 1> alignment */
549 U8 _align2; /*< 11: 1> alignment */
550 } T_PS_nas_system_info;
551 #endif
552
553 #ifndef __T_PS_p_tmsi__
554 #define __T_PS_p_tmsi__
555 /*
556 * Container for P-TMSI
557 * CCDGEN:WriteStruct_Count==1357
558 */
559 typedef struct
560 {
561 U8 content_p_tmsi[PS_SIZE_P_TMSI]; /*< 0: 4> Content of P-TMSI */
562 } T_PS_p_tmsi;
563 #endif
564
565 #ifndef __T_PS_plmn_id__
566 #define __T_PS_plmn_id__
567 /*
568 * Container for a GSM MAP network identifier
569 * CCDGEN:WriteStruct_Count==1358
570 */
571 typedef struct
572 {
573 U8 mcc[PS_SIZE_MCC]; /*< 0: 3> T_PS_mcc, Mobile country code */
574 U8 c_mnc; /*< 3: 1> counter */
575 U8 mnc[PS_SIZE_MNC_MAX]; /*< 4: 3> T_PS_mnc, Mobile network code */
576 U8 _align0; /*< 7: 1> alignment */
577 } T_PS_plmn_id;
578 #endif
579
580 /*
581 * Selected network identifier
582 * CCDGEN:WriteStruct_Count==1359
583 */
584 #ifndef __T_PS_selected_plmn__
585 #define __T_PS_selected_plmn__
586 typedef T_PS_plmn_id T_PS_selected_plmn;
587 #endif
588 /*
589 * Home network identifier
590 * CCDGEN:WriteStruct_Count==1360
591 */
592 #ifndef __T_PS_home_plmn__
593 #define __T_PS_home_plmn__
594 typedef T_PS_plmn_id T_PS_home_plmn;
595 #endif
596 /*
597 * Equivalent network identifier
598 * CCDGEN:WriteStruct_Count==1361
599 */
600 #ifndef __T_PS_equivalent_plmn__
601 #define __T_PS_equivalent_plmn__
602 typedef T_PS_plmn_id T_PS_equivalent_plmn;
603 #endif
604 #ifndef __T_PS_lai__
605 #define __T_PS_lai__
606 /*
607 * Container for location area information
608 * CCDGEN:WriteStruct_Count==1362
609 */
610 typedef struct
611 {
612 T_PS_plmn_id plmn_id; /*< 0: 8> Container for a GSM MAP network identifier */
613 T_PS_lac lac; /*< 8: 4> Container for location area code */
614 } T_PS_lai;
615 #endif
616
617 #ifndef __T_PS_forbidden_lai__
618 #define __T_PS_forbidden_lai__
619 /*
620 * Container for forbidden location area list
621 * CCDGEN:WriteStruct_Count==1363
622 */
623 typedef struct
624 {
625 U8 _align0; /*< 0: 1> alignment */
626 U8 _align1; /*< 1: 1> alignment */
627 U8 _align2; /*< 2: 1> alignment */
628 U8 c_lai; /*< 3: 1> counter */
629 T_PS_lai lai[PS_MAX_FORBIDDEN_LAI]; /*< 4:120> Container for location area information */
630 } T_PS_forbidden_lai;
631 #endif
632
633 #ifndef __T_PS_equivalent_plmn_list__
634 #define __T_PS_equivalent_plmn_list__
635 /*
636 * Container for equivalent PLMN list
637 * CCDGEN:WriteStruct_Count==1364
638 */
639 typedef struct
640 {
641 U8 _align0; /*< 0: 1> alignment */
642 U8 _align1; /*< 1: 1> alignment */
643 U8 _align2; /*< 2: 1> alignment */
644 U8 c_equivalent_plmn; /*< 3: 1> counter */
645 T_PS_equivalent_plmn equivalent_plmn[PS_MAX_EQUIVALENT_PLMNS]; /*< 4: 40> Equivalent network identifier */
646 } T_PS_equivalent_plmn_list;
647 #endif
648
649 #ifndef __T_PS_rai__
650 #define __T_PS_rai__
651 /*
652 * Container for packet switched routing area identification
653 * CCDGEN:WriteStruct_Count==1365
654 */
655 typedef struct
656 {
657 T_PS_lai lai; /*< 0: 12> Container for location area information */
658 U8 rac; /*< 12: 1> Container for packet switched routing area code */
659 U8 _align0; /*< 13: 1> alignment */
660 U8 _align1; /*< 14: 1> alignment */
661 U8 _align2; /*< 15: 1> alignment */
662 } T_PS_rai;
663 #endif
664
665 #ifndef __T_PS_ps_loci__
666 #define __T_PS_ps_loci__
667 /*
668 * Container for packet switched location information
669 * CCDGEN:WriteStruct_Count==1366
670 */
671 typedef struct
672 {
673 T_PS_rai rai; /*< 0: 16> Container for packet switched routing area identification */
674 U8 _align0; /*< 16: 1> alignment */
675 U8 _align1; /*< 17: 1> alignment */
676 U8 _align2; /*< 18: 1> alignment */
677 U8 v_p_tmsi; /*< 19: 1> valid-flag */
678 T_PS_p_tmsi p_tmsi; /*< 20: 4> Container for P-TMSI */
679 } T_PS_ps_loci;
680 #endif
681
682 #ifndef __T_PS_tmsi__
683 #define __T_PS_tmsi__
684 /*
685 * Container for TMSI
686 * CCDGEN:WriteStruct_Count==1368
687 */
688 typedef struct
689 {
690 U8 content_tmsi[PS_SIZE_TMSI]; /*< 0: 4> Content of TMSI */
691 } T_PS_tmsi;
692 #endif
693
694 #ifndef __T_PS_loci__
695 #define __T_PS_loci__
696 /*
697 * Container for location information
698 * CCDGEN:WriteStruct_Count==1369
699 */
700 typedef struct
701 {
702 T_PS_lai lai; /*< 0: 12> Container for location area information */
703 U8 _align0; /*< 12: 1> alignment */
704 U8 _align1; /*< 13: 1> alignment */
705 U8 _align2; /*< 14: 1> alignment */
706 U8 v_tmsi; /*< 15: 1> valid-flag */
707 T_PS_tmsi tmsi; /*< 16: 4> Container for TMSI */
708 } T_PS_loci;
709 #endif
710
711 #ifndef __T_PS_umts_cell_description__
712 #define __T_PS_umts_cell_description__
713 /*
714 * Container for cell description information for a UMTS cell
715 * CCDGEN:WriteStruct_Count==1370
716 */
717 typedef struct
718 {
719 U16 uarfcn; /*< 0: 2> T_PS_uarfcn, UMTS channel number */
720 U16 psc; /*< 2: 2> T_PS_psc, FDD primary scrambling code */
721 U8 v_tx_diversity; /*< 4: 1> valid-flag */
722 U8 tx_diversity; /*< 5: 1> T_PS_tx_diversity, UMTS FDD TX diversity indicator */
723 U8 _align0; /*< 6: 1> alignment */
724 U8 _align1; /*< 7: 1> alignment */
725 } T_PS_umts_cell_description;
726 #endif
727
728 #ifndef __T_PS_key_set__
729 #define __T_PS_key_set__
730 /*
731 * Ciphering and integrity keys for a CN domain
732 * CCDGEN:WriteStruct_Count==1371
733 */
734 typedef struct
735 {
736 U8 ksi; /*< 0: 1> T_PS_ksi, Key set identifier */
737 U8 ciphering_key[PS_SIZE_CK]; /*< 1: 16> Ciphering key */
738 U8 integrity_key[PS_SIZE_IK]; /*< 17: 16> Integrity protection key */
739 U8 _align0; /*< 33: 1> alignment */
740 U8 _align1; /*< 34: 1> alignment */
741 U8 _align2; /*< 35: 1> alignment */
742 } T_PS_key_set;
743 #endif
744
745 #ifndef __T_PS_umts_ncell_list__
746 #define __T_PS_umts_ncell_list__
747 /*
748 * UMTS neighbour cell list
749 * CCDGEN:WriteStruct_Count==1372
750 */
751 typedef struct
752 {
753 U8 _align0; /*< 0: 1> alignment */
754 U8 _align1; /*< 1: 1> alignment */
755 U8 _align2; /*< 2: 1> alignment */
756 U8 c_umts_cell_description; /*< 3: 1> counter */
757 T_PS_umts_cell_description umts_cell_description[PS_MAX_UMTS_NCELLS]; /*< 4:512> Container for cell description information for a UMTS cell */
758 } T_PS_umts_ncell_list;
759 #endif
760
761 #ifndef __T_PS_umts_ncell_measurement__
762 #define __T_PS_umts_ncell_measurement__
763 /*
764 * UMTS neighbour cell measurement result
765 * CCDGEN:WriteStruct_Count==1373
766 */
767 typedef struct
768 {
769 U16 psc; /*< 0: 2> T_PS_psc, FDD primary scrambling code */
770 U8 cell_status; /*< 2: 1> T_PS_cell_status, Cell suitability status */
771 U8 v_cpich_rscp; /*< 3: 1> valid-flag */
772 S8 cpich_rscp; /*< 4: 1> T_PS_cpich_rscp, UMTS cell measurement value of CPICH RSCP */
773 U8 v_cpich_ec_n0; /*< 5: 1> valid-flag */
774 S8 cpich_ec_n0; /*< 6: 1> T_PS_cpich_ec_n0, UMTS cell measurement value of CPICH Ec/N0 */
775 U8 _align0; /*< 7: 1> alignment */
776 } T_PS_umts_ncell_measurement;
777 #endif
778
779 #ifndef __T_PS_umts_ncell_results__
780 #define __T_PS_umts_ncell_results__
781 /*
782 * UMTS neighbour cell results
783 * CCDGEN:WriteStruct_Count==1374
784 */
785 typedef struct
786 {
787 U16 uarfcn; /*< 0: 2> T_PS_uarfcn, UMTS channel number */
788 S8 uarfcn_rssi; /*< 2: 1> T_PS_uarfcn_rssi, UMTS channel RSSI measurement */
789 U8 c_umts_ncell_measurement; /*< 3: 1> counter */
790 T_PS_umts_ncell_measurement umts_ncell_measurement[PS_MAX_UMTS_NCELLS_PER_UARFCN]; /*< 4:256> UMTS neighbour cell measurement result */
791 } T_PS_umts_ncell_results;
792 #endif
793
794 #ifndef __T_PS_cs_security_parms__
795 #define __T_PS_cs_security_parms__
796 /*
797 * Contains parameters related to ciphering and integrity protection for CS domain.
798 * CCDGEN:WriteStruct_Count==1375
799 */
800 typedef struct
801 {
802 T_PS_key_set key_set; /*< 0: 36> Ciphering and integrity keys for a CN domain */
803 U8 _align0; /*< 36: 1> alignment */
804 U8 _align1; /*< 37: 1> alignment */
805 U8 _align2; /*< 38: 1> alignment */
806 U8 v_start_val; /*< 39: 1> valid-flag */
807 U32 start_val; /*< 40: 4> T_PS_start_val, START value (20 bits) */
808 } T_PS_cs_security_parms;
809 #endif
810
811 /*
812 * Contains parameters related to ciphering and integrity protection for PS domain.
813 * CCDGEN:WriteStruct_Count==1376
814 */
815 #ifndef __T_PS_ps_security_parms__
816 #define __T_PS_ps_security_parms__
817 typedef T_PS_cs_security_parms T_PS_ps_security_parms;
818 #endif
819 #ifndef __T_PS_umts_security_info__
820 #define __T_PS_umts_security_info__
821 /*
822 * Contains information related to UMTS ciphering and integrity protection.
823 * CCDGEN:WriteStruct_Count==1377
824 */
825 typedef struct
826 {
827 U8 _align0; /*< 0: 1> alignment */
828 U8 _align1; /*< 1: 1> alignment */
829 U8 _align2; /*< 2: 1> alignment */
830 U8 v_threshold; /*< 3: 1> valid-flag */
831 U32 threshold; /*< 4: 4> T_PS_threshold, THRESHOLD value */
832 T_PS_cs_security_parms cs_security_parms; /*< 8: 44> Contains parameters related to ciphering and integrity protection for CS domain. */
833 T_PS_ps_security_parms ps_security_parms; /*< 52: 44> Contains parameters related to ciphering and integrity protection for PS domain. */
834 } T_PS_umts_security_info;
835 #endif
836
837 #ifndef __T_PS_security_info__
838 #define __T_PS_security_info__
839 /*
840 * Contains information related to ciphering and integrity protection.
841 * CCDGEN:WriteStruct_Count==1378
842 */
843 typedef struct
844 {
845 U8 sim_type; /*< 0: 1> T_PS_sim_type, Type of subscriber card present. */
846 U8 _align0; /*< 1: 1> alignment */
847 U8 _align1; /*< 2: 1> alignment */
848 U8 v_gsm_key_set; /*< 3: 1> valid-flag */
849 T_PS_gsm_key_set gsm_key_set; /*< 4: 24> Contains information related to ciphering */
850 U8 _align2; /*< 28: 1> alignment */
851 U8 _align3; /*< 29: 1> alignment */
852 U8 _align4; /*< 30: 1> alignment */
853 U8 v_umts_security_info; /*< 31: 1> valid-flag */
854 T_PS_umts_security_info umts_security_info; /*< 32: 96> Contains information related to UMTS ciphering and integrity protection. */
855 } T_PS_security_info;
856 #endif
857
858 #ifndef __T_PS_qos_r97__
859 #define __T_PS_qos_r97__
860 /*
861 * quality of service R97
862 * CCDGEN:WriteStruct_Count==1379
863 */
864 typedef struct
865 {
866 U8 delay; /*< 0: 1> T_PS_delay, delay class */
867 U8 relclass; /*< 1: 1> T_PS_relclass, reliability class */
868 U8 peak; /*< 2: 1> T_PS_peak, peak throughput */
869 U8 preced; /*< 3: 1> T_PS_preced, precedence class */
870 U8 mean; /*< 4: 1> T_PS_mean, mean throughput */
871 U8 _align0; /*< 5: 1> alignment */
872 U8 _align1; /*< 6: 1> alignment */
873 U8 _align2; /*< 7: 1> alignment */
874 } T_PS_qos_r97;
875 #endif
876
877 #ifndef __T_PS_sdu_err_ratio__
878 #define __T_PS_sdu_err_ratio__
879 /*
880 * SDU error ratio
881 * CCDGEN:WriteStruct_Count==1380
882 */
883 typedef struct
884 {
885 U8 ratio_mant; /*< 0: 1> mantissa */
886 U8 ratio_exp; /*< 1: 1> exponent */
887 U8 _align0; /*< 2: 1> alignment */
888 U8 _align1; /*< 3: 1> alignment */
889 } T_PS_sdu_err_ratio;
890 #endif
891
892 /*
893 * Residual bit error ratio
894 * CCDGEN:WriteStruct_Count==1381
895 */
896 #ifndef __T_PS_ber__
897 #define __T_PS_ber__
898 typedef T_PS_sdu_err_ratio T_PS_ber;
899 #endif
900 #ifndef __T_PS_qos_r99__
901 #define __T_PS_qos_r99__
902 /*
903 * quality of service R99
904 * CCDGEN:WriteStruct_Count==1382
905 */
906 typedef struct
907 {
908 U8 tc; /*< 0: 1> T_PS_tc, traffic class; R99 / UMTS */
909 U8 order; /*< 1: 1> T_PS_order, delivery order; R99 / UMTS */
910 U8 del_err_sdu; /*< 2: 1> T_PS_del_err_sdu, delivery of erroneous SDU; R99 / UMTS */
911 U8 _align0; /*< 3: 1> alignment */
912 U16 max_sdu; /*< 4: 2> T_PS_max_sdu, max SDU size; R99 / UMTS */
913 U16 max_rate_ul; /*< 6: 2> T_PS_max_rate_ul, max bit-rate uplink; R99 / UMTS */
914 U16 max_rate_dl; /*< 8: 2> T_PS_max_rate_dl, max bit-rate downlink; R99 / UMTS */
915 U8 _align1; /*< 10: 1> alignment */
916 U8 _align2; /*< 11: 1> alignment */
917 T_PS_ber ber; /*< 12: 4> Residual bit error ratio */
918 T_PS_sdu_err_ratio sdu_err_ratio; /*< 16: 4> SDU error ratio */
919 U16 xfer_delay; /*< 20: 2> T_PS_xfer_delay, transfer delay; R99 / UMTS */
920 U8 handling_pri; /*< 22: 1> T_PS_handling_pri, traffic handling priority; R99 / UMTS */
921 U8 _align3; /*< 23: 1> alignment */
922 U16 guar_br_ul; /*< 24: 2> T_PS_guar_br_ul, guaranteed bit-rate uplink; R99 / UMTS */
923 U16 guar_br_dl; /*< 26: 2> T_PS_guar_br_dl, guaranteed bit-rate downlink; R99 / UMTS */
924 } T_PS_qos_r99;
925 #endif
926
927 #ifndef __T_PS_min_qos__
928 #define __T_PS_min_qos__
929 /*
930 * quality of service
931 * CCDGEN:WriteStruct_Count==1383
932 */
933 typedef union
934 {
935 U32 min_qos_not_present; /*< 0: 4> QoS parameters absent */
936 T_PS_qos_r97 qos_r97; /*< 0: 8> quality of service R97 */
937 T_PS_qos_r99 qos_r99; /*< 0: 28> quality of service R99 */
938 } T_PS_min_qos;
939 #endif
940
941 #ifndef __T_PS_qos__
942 #define __T_PS_qos__
943 /*
944 * quality of service
945 * CCDGEN:WriteStruct_Count==1384
946 */
947 typedef union
948 {
949 U32 qos_not_present; /*< 0: 4> QoS parameters absent. From nas_include sap */
950 T_PS_qos_r97 qos_r97; /*< 0: 8> quality of service R97 */
951 T_PS_qos_r99 qos_r99; /*< 0: 28> quality of service R99 */
952 } T_PS_qos;
953 #endif
954
955
956 /*
957 * End of substructure section, begin of primitive definition section
958 */
959
960 #ifndef __T_PS_EXPORT__
961 #define __T_PS_EXPORT__
962 /*
963 *
964 * CCDGEN:WriteStruct_Count==1386
965 */
966 typedef struct
967 {
968 T_PS_acc acc; /*< 0: 4> Container for the access control class field from (U)SIM, see [3G 11.11] and [3G 31.102] */
969 T_PS_ad ad; /*< 4: 4> Container for the administrative data field from (U)SIM, see [3G 11.11] and [3G 31.102] */
970 U16 arfcn; /*< 8: 2> T_PS_arfcn, GSM channel number */
971 S8 arfcn_rssi; /*< 10: 1> T_PS_arfcn_rssi, GSM channel RSSI measurement */
972 U8 _align0; /*< 11: 1> alignment */
973 T_PS_bsic bsic; /*< 12: 4> GSM BSIC */
974 U8 cn_domain; /*< 16: 1> T_PS_cn_domain, Core network domain identity */
975 S8 cpich_ec_n0; /*< 17: 1> T_PS_cpich_ec_n0, UMTS cell measurement value of CPICH Ec/N0 */
976 S8 cpich_rscp; /*< 18: 1> T_PS_cpich_rscp, UMTS cell measurement value of CPICH RSCP */
977 U8 est_service; /*< 19: 1> T_PS_est_service, Establishment service requested */
978 T_PS_cs_security_parms cs_security_parms; /*< 20: 44> Contains parameters related to ciphering and integrity protection for CS domain. */
979 T_PS_equivalent_plmn equivalent_plmn; /*< 64: 8> Equivalent network identifier */
980 T_PS_equivalent_plmn_list equivalent_plmn_list; /*< 72: 44> Container for equivalent PLMN list */
981 T_PS_forbidden_lai forbidden_lai; /*<116:124> Container for forbidden location area list */
982 T_PS_gsm_cell_description gsm_cell_description; /*<240: 8> GSM channel number and band specification */
983 U16 gsm_frequency_band; /*<248: 2> T_PS_gsm_frequency_band, Frequency band specification */
984 U8 gsm_ncell_index; /*<250: 1> T_PS_gsm_ncell_index, GSM neighbour cell index */
985 U8 _align1; /*<251: 1> alignment */
986 T_PS_gsm_ncell_list gsm_ncell_list; /*<252:260> GSM neighbour cell list */
987 T_PS_gsm_ncell_measurement gsm_ncell_measurement; /*<512: 12> GSM neighbour cell measurement result */
988 T_PS_gsm_ncell_results gsm_ncell_results; /*<524:388> GSM neighbour cell results */
989 T_PS_gsm_key_set gsm_key_set; /*<912: 24> Contains information related to ciphering */
990 T_PS_home_plmn home_plmn; /*<936: 8> Home network identifier */
991 T_PS_imsi imsi; /*<944: 16> Container for a subscriber id */
992 T_PS_k_c k_c; /*<960: 12> Container for GSM ciphering parameter */
993 T_PS_k_c_gprs k_c_gprs; /*<972: 12> Container for GPRS ciphering parameter */
994 T_PS_key_set key_set; /*<984: 36> Ciphering and integrity keys for a CN domain */
995 U8 ksi; /*<1020: 1> T_PS_ksi, Key set identifier */
996 U8 _align2; /*<1021: 1> alignment */
997 U8 _align3; /*<1022: 1> alignment */
998 U8 _align4; /*<1023: 1> alignment */
999 T_PS_lac lac; /*<1024: 4> Container for location area code */
1000 T_PS_lai lai; /*<1028: 12> Container for location area information */
1001 T_PS_loci loci; /*<1040: 20> Container for location information */
1002 U8 llc_mode; /*<1060: 1> T_PS_llc_mode, LLC mode */
1003 U8 meas_mode; /*<1061: 1> T_PS_meas_mode, Measurement mode */
1004 U8 _align5; /*<1062: 1> alignment */
1005 U8 _align6; /*<1063: 1> alignment */
1006 U32 mem_handle; /*<1064: 4> Memory handle */
1007 T_PS_nas_system_info nas_system_info; /*<1068: 12> NAS system information */
1008 T_PS_operation_mode operation_mode; /*<1080: 8> Supported radio access technologies */
1009 T_PS_p_tmsi p_tmsi; /*<1088: 4> Container for P-TMSI */
1010 U16 peak_throughput; /*<1092: 2> T_PS_peak_throughput, Peak throughput QoS parameter */
1011 U8 _align7; /*<1094: 1> alignment */
1012 U8 _align8; /*<1095: 1> alignment */
1013 T_PS_plmn_id plmn_id; /*<1096: 8> Container for a GSM MAP network identifier */
1014 T_PS_ps_loci ps_loci; /*<1104: 24> Container for packet switched location information */
1015 T_PS_ps_security_parms ps_security_parms; /*<1128: 44> Contains parameters related to ciphering and integrity protection for PS domain. */
1016 U16 psc; /*<1172: 2> T_PS_psc, FDD primary scrambling code */
1017 U8 radio_prio; /*<1174: 1> T_PS_radio_prio, Radio priority */
1018 U8 rac; /*<1175: 1> Container for packet switched routing area code */
1019 T_PS_rai rai; /*<1176: 16> Container for packet switched routing area identification */
1020 U8 rat; /*<1192: 1> T_PS_rat, Radio access technology */
1021 U8 rel_ind; /*<1193: 1> T_PS_rel_ind, Local Release Indicator */
1022 U8 sapi; /*<1194: 1> T_PS_sapi, Service Access Point Identifier */
1023 U8 search_mode; /*<1195: 1> T_PS_search_mode, Search mode for network scan */
1024 T_PS_security_info security_info; /*<1196:128> Contains information related to ciphering and integrity protection. */
1025 T_PS_selected_plmn selected_plmn; /*<1324: 8> Selected network identifier */
1026 U32 start_val; /*<1332: 4> T_PS_start_val, START value (20 bits) */
1027 U8 sim_type; /*<1336: 1> T_PS_sim_type, Type of subscriber card present. */
1028 U8 _align9; /*<1337: 1> alignment */
1029 U8 _align10; /*<1338: 1> alignment */
1030 U8 _align11; /*<1339: 1> alignment */
1031 T_PS_tmsi tmsi; /*<1340: 4> Container for TMSI */
1032 U8 tx_diversity; /*<1344: 1> T_PS_tx_diversity, UMTS FDD TX diversity indicator */
1033 U8 _align12; /*<1345: 1> alignment */
1034 U16 uarfcn; /*<1346: 2> T_PS_uarfcn, UMTS channel number */
1035 S8 uarfcn_rssi; /*<1348: 1> T_PS_uarfcn_rssi, UMTS channel RSSI measurement */
1036 U8 _align13; /*<1349: 1> alignment */
1037 U8 _align14; /*<1350: 1> alignment */
1038 U8 _align15; /*<1351: 1> alignment */
1039 T_PS_ul_sdus ul_sdus; /*<1352: 8> Sequence numbers and mem handles pr. NSAPI */
1040 T_PS_umts_cell_description umts_cell_description; /*<1360: 8> Container for cell description information for a UMTS cell */
1041 T_PS_umts_ncell_list umts_ncell_list; /*<1368:516> UMTS neighbour cell list */
1042 T_PS_umts_ncell_measurement umts_ncell_measurement; /*<1884: 8> UMTS neighbour cell measurement result */
1043 T_PS_umts_ncell_results umts_ncell_results; /*<1892:260> UMTS neighbour cell results */
1044 T_PS_umts_security_info umts_security_info; /*<2152: 96> Contains information related to UMTS ciphering and integrity protection. */
1045 U8 service_level; /*<2248: 1> T_PS_service_level, Cell service level */
1046 U8 _align16; /*<2249: 1> alignment */
1047 U8 _align17; /*<2250: 1> alignment */
1048 U8 _align18; /*<2251: 1> alignment */
1049 T_PS_ctrl_qos ctrl_qos; /*<2252: 4> (enum=32bit) controller for union */
1050 T_PS_qos qos; /*<2256: 28> quality of service */
1051 T_PS_qos_r97 qos_r97; /*<2284: 8> quality of service R97 */
1052 T_PS_qos_r99 qos_r99; /*<2292: 28> quality of service R99 */
1053 T_PS_ctrl_min_qos ctrl_min_qos; /*<2320: 4> (enum=32bit) controller for union */
1054 T_PS_min_qos min_qos; /*<2324: 28> quality of service */
1055 U16 pkt_flow_id; /*<2352: 2> T_PS_pkt_flow_id, packet flow identifier */
1056 U8 _align19; /*<2354: 1> alignment */
1057 U8 _align20; /*<2355: 1> alignment */
1058 T_sdu sdu; /*<2356: ? > Container for a message */
1059 } T_PS_EXPORT;
1060 #endif
1061
1062
1063 #include "CDG_LEAVE.h"
1064
1065
1066 #endif