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