comparison gsm-fw/cdg/cdginc-locosto/p_gsim.h @ 654:95c433d8c274

gsm-fw/cdg: LoCosto version of cdginc regenerated
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 25 Sep 2014 09:46:42 +0000
parents
children
comparison
equal deleted inserted replaced
653:31d82d090499 654:95c433d8c274
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_gsim.h |
5 | SOURCE : "sap\gsim.pdf" |
6 | LastModified : "2003-02-04" |
7 | IdAndVersion : "8441.113.99.004" |
8 | SrcFileTime : "Thu Nov 29 09:43:12 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 : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_GSIM_H
24 #define P_GSIM_H
25
26
27 #define CDG_ENTER__P_GSIM_H
28
29 #define CDG_ENTER__FILENAME _P_GSIM_H
30 #define CDG_ENTER__P_GSIM_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_GSIM_H__LAST_MODIFIED _2003_02_04
32 #define CDG_ENTER__P_GSIM_H__ID_AND_VERSION _8441_113_99_004
33
34 #define CDG_ENTER__P_GSIM_H__SRC_FILE_TIME _Thu_Nov_29_09_43_12_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_GSIM_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_gsim.val"
44
45 #ifndef __T_imsi_field__
46 #define __T_imsi_field__
47 /*
48 * international mobile subscriber identity
49 * CCDGEN:WriteStruct_Count==1693
50 */
51 typedef struct
52 {
53 U8 c_field; /*< 0: 1> length of imsi */
54 U8 field[MAX_IMSI]; /*< 1: 9> imsi */
55 U8 _align0; /*< 10: 1> alignment */
56 U8 _align1; /*< 11: 1> alignment */
57 } T_imsi_field;
58 #endif
59
60
61 /*
62 * End of substructure section, begin of primitive definition section
63 */
64
65 #ifndef __T_GSIM_UPDATE_REQ__
66 #define __T_GSIM_UPDATE_REQ__
67 /*
68 *
69 * CCDGEN:WriteStruct_Count==1694
70 */
71 typedef struct
72 {
73 U8 sim_gprs_invalid; /*< 0: 1> SIM invalid for GPRS service */
74 U8 gu; /*< 1: 1> GPRS update status */
75 U8 _align0; /*< 2: 1> alignment */
76 U8 _align1; /*< 3: 1> alignment */
77 U32 ptmsi; /*< 4: 4> packet temporary mobile subscriber identity */
78 U8 ptmsi_signature_flag; /*< 8: 1> P-TMSI Signature flag */
79 U8 rai[7]; /*< 9: 7> routing_area information */
80 } T_GSIM_UPDATE_REQ;
81 #endif
82
83 #ifndef __T_GSIM_STORE_KC_REQ__
84 #define __T_GSIM_STORE_KC_REQ__
85 /*
86 *
87 * CCDGEN:WriteStruct_Count==1695
88 */
89 typedef struct
90 {
91 U8 gsim_kc[8]; /*< 0: 8> GPRS ciphering key */
92 U8 gsim_cksn; /*< 8: 1> GPRS ciphering key sequence number */
93 U8 _align0; /*< 9: 1> alignment */
94 U8 _align1; /*< 10: 1> alignment */
95 U8 _align2; /*< 11: 1> alignment */
96 } T_GSIM_STORE_KC_REQ;
97 #endif
98
99 #ifndef __T_GSIM_INSERTED_IND__
100 #define __T_GSIM_INSERTED_IND__
101 /*
102 *
103 * CCDGEN:WriteStruct_Count==1696
104 */
105 typedef struct
106 {
107 U8 sim_gprs_invalid; /*< 0: 1> SIM invalid for GPRS service */
108 U8 gu; /*< 1: 1> GPRS update status */
109 U8 rai[7]; /*< 2: 7> routing_area information */
110 U8 _align0; /*< 9: 1> alignment */
111 U8 _align1; /*< 10: 1> alignment */
112 U8 _align2; /*< 11: 1> alignment */
113 U32 ptmsi; /*< 12: 4> packet temporary mobile subscriber identity */
114 U32 tmsi; /*< 16: 4> temporary mobile subscriber identity */
115 T_imsi_field imsi_field; /*< 20: 12> international mobile subscriber identity */
116 U8 gsim_kc[8]; /*< 32: 8> GPRS ciphering key */
117 U8 gsim_cksn; /*< 40: 1> GPRS ciphering key sequence number */
118 U8 _align3; /*< 41: 1> alignment */
119 U16 acc_contr_class; /*< 42: 2> Access Control Class */
120 } T_GSIM_INSERTED_IND;
121 #endif
122
123 #ifndef __T_GSIM_REMOVED_IND__
124 #define __T_GSIM_REMOVED_IND__
125 /*
126 *
127 * CCDGEN:WriteStruct_Count==1697
128 */
129 typedef struct
130 {
131 U8 dummy; /*< 0: 1> no parameters */
132 } T_GSIM_REMOVED_IND;
133 #endif
134
135 #ifndef __T_GSIM_AUTHENTICATION_REQ__
136 #define __T_GSIM_AUTHENTICATION_REQ__
137 /*
138 *
139 * CCDGEN:WriteStruct_Count==1698
140 */
141 typedef struct
142 {
143 U8 rand[SIZE_RAND]; /*< 0: 16> authentication parameter rand */
144 U8 gsim_cksn; /*< 16: 1> GPRS ciphering key sequence number */
145 U8 _align0; /*< 17: 1> alignment */
146 U8 _align1; /*< 18: 1> alignment */
147 U8 _align2; /*< 19: 1> alignment */
148 } T_GSIM_AUTHENTICATION_REQ;
149 #endif
150
151 #ifndef __T_GSIM_AUTHENTICATION_CNF__
152 #define __T_GSIM_AUTHENTICATION_CNF__
153 /*
154 *
155 * CCDGEN:WriteStruct_Count==1699
156 */
157 typedef struct
158 {
159 U8 sres[SIZE_SRES]; /*< 0: 4> authentication parameter Sres */
160 U8 gsim_kc[SIZE_KC]; /*< 4: 8> GPRS ciphering key */
161 } T_GSIM_AUTHENTICATION_CNF;
162 #endif
163
164
165 #include "CDG_LEAVE.h"
166
167
168 #endif