comparison cdg-hybrid/cdginc/m_gmm.val @ 212:e7a67accfad9

cdg-hybrid cdginc headers created
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Oct 2016 21:52:58 +0000
parents
children
comparison
equal deleted inserted replaced
211:02269c474131 212:e7a67accfad9
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : m_gmm.val |
5 | SOURCE : "msg\gmm.mdf" |
6 | LastModified : "2003-08-18" |
7 | IdAndVersion : "8441.603.02.013" |
8 | SrcFileTime : "Wed Nov 28 10:18:48 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
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 M_GMM_VAL
24 #define M_GMM_VAL
25
26
27 #define CDG_ENTER__M_GMM_VAL
28
29 #define CDG_ENTER__FILENAME _M_GMM_VAL
30 #define CDG_ENTER__M_GMM_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__M_GMM_VAL__LAST_MODIFIED _2003_08_18
32 #define CDG_ENTER__M_GMM_VAL__ID_AND_VERSION _8441_603_02_013
33
34 #define CDG_ENTER__M_GMM_VAL__SRC_FILE_TIME _Wed_Nov_28_10_18_48_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__M_GMM_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42 #include "m_rr_com.val" /* Access values independent from the corresponding h-file. */
43
44
45 /*
46 * Value constants for VAL_tmsi_flag
47 */
48 #define NO (0x0) /* not present */
49 #define YES (0x1) /* present */
50
51 /*
52 * Value constants for VAL_key_sequence
53 */
54 #define NO_KEY (0x7) /* No key is available (MS to network); Reserved (network to MS) */
55
56 /*
57 * Value constants for VAL_imeisv_request_value
58 */
59 #define VAL_IMEISV_REQUEST_VALUE___DEF (0x0) /* IMEISV not requested */
60 #define IMEISV_NOT_REQUESTED (0x0) /* IMEISV not requested */
61 #define IMEISV_REQUESTED (0x1) /* IMEISV requested */
62
63 /*
64 * Value constants for VAL_type_of_algorithm
65 */
66 #define VAL_TYPE_OF_ALGORITHM___DEF (0x0) /* reserved */
67 #define NO_CIPHERING (0x0) /* ciphering not used */
68 #define GEA_1 (0x1) /* GPRS Encryption Algorithm GEA/1 */
69 #define GEA_2 (0x2) /* GPRS Encryption Algorithm GEA/2 */
70 #define GEA_3 (0x3) /* GPRS Encryption Algorithm GEA/3 */
71 #define GEA_4 (0x4) /* GPRS Encryption Algorithm GEA/4 */
72 #define GEA_5 (0x5) /* GPRS Encryption Algorithm GEA/5 */
73 #define GEA_6 (0x6) /* GPRS Encryption Algorithm GEA/6 */
74 #define GEA_7 (0x7) /* GPRS Encryption Algorithm GEA/7 */
75
76 /*
77 * Value constants for VAL_update_type_value
78 */
79 #define VAL_UPDATE_TYPE_VALUE___DEF (0x0) /* reserved */
80 #define RAU (0x0) /* RA updating */
81 #define COMBINED_RAU (0x1) /* combined RA/LA updating */
82 #define COMBINED_RAU_IMSI_ATTACH (0x2) /* combined RA/LA updating with IMSI attach */
83 #define PERIODIC_RAU (0x3) /* Periodic updating */
84
85 /*
86 * Value constants for VAL_result_value
87 */
88 #define VAL_RESULT_VALUE___DEF (0x0) /* reserved */
89 #define NORMAL_UPDATED (0x0) /* normal RA updated */
90 #define NORMAL_ATTACHED (0x1) /* normal attached or combined RA/LA updated */
91 #define COMBINED_ATTACHED (0x3) /* combined attached */
92
93 /*
94 * Value constants for VAL_odd_even
95 */
96 #define EVEN (0x0) /* even number of identity digits and also when the TMSI or P-TMSI is used */
97 #define ODD (0x1) /* odd number of identity digits */
98
99 /*
100 * Value constants for VAL_cause_value
101 */
102 #define VAL_CAUSE_VALUE___DEF (0x0) /* Protocol error, unspecified */
103 #define ERRCS_IMSI_UNKNOWN (0x2) /* IMSI unknown in HLR */
104 #define ERRCS_ILLEGAL_MS (0x3) /* Illegal MS */
105 #define ERRCS_IMEI_NOT_ACCEPTED (0x4) /* IMEI not accepted */
106 #define ERRCS_ILLEGAL_ME (0x6) /* Illegal ME */
107 #define ERRCS_GPRS_NOT_ALLOWED (0x7) /* GPRS services not allowed */
108 #define ERRCS_GSM_GPRS_NOT_ALLOWED (0x8) /* GPRS services and non-GPRS services not allowed */
109 #define ERRCS_NO_MS_ID (0x9) /* MS identity cannot be derived by the network */
110 #define ERRCS_IMPLICIT_DETACHED (0xa) /* Implicitly detached */
111 #define ERRCS_PLMN_NOT_ALLOWED (0xb) /* PLMN not allowed */
112 #define ERRCS_LA_NOT_ALLOWED (0xc) /* Location Area not allowed */
113 #define ERRCS_ROAMING_NOT_ALLOWED (0xd) /* Roaming not allowed in this location area */
114 #define ERRCS_GPRS_NOT_ALLOWED_IN_PLMN (0xe) /* GPRS services not allowed in this PLMN */
115 // VAL-FF: REL99
116 // #define ERRCS_NO_SUITABLE_CELL_IN_LA (0xf) /* Find another allowed location area in the same PLMN */
117 #define ERRCS_MSC_TEMP_NOT_REACHABLE (0x10) /* MSC temporarily not reachable */
118 #define ERRCS_NET_FAIL (0x11) /* Network failure */
119 #define ERRCS_CONGESTION (0x16) /* Congestion */
120 #define ERRCS_SEMANTIC_INCORRECT (0x5f) /* Semantically incorrect message */
121 #define ERRCS_INVALID_M_INFO (0x60) /* Invalid mandatory information */
122 #define ERRCS_TYPE_INVALID (0x61) /* Message type non-existent or not implemented */
123 #define ERRCS_TYPE_INCOMPATIBLE (0x62) /* Message type not compatible with the protocol state */
124 #define ERRCS_IE_INVALID (0x63) /* Information element non-existent or not implemented */
125 #define ERRCS_COND_IE_ERROR (0x64) /* Conditional IE error */
126 #define ERRCS_MESSAGE_INVALID (0x65) /* Message not compatible with the protocol state */
127 #define ERRCS_PROTOCOL_ERROR (0x6f) /* Protocol error, unspecified */
128
129 /*
130 * Value constants for VAL_gea_1
131 */
132 #define GEA_1_NO (0x0) /* GEA/1 not available */
133 #define GEA_1_YES (0x1) /* GEA/1 available */
134
135 /*
136 * Value constants for VAL_sm_capabilities_gsm
137 */
138 #define SM_CAP_GSM_NO (0x0) /* SM capability not present */
139 #define SM_CAP_GSM_YES (0x1) /* SM capability present */
140
141 /*
142 * Value constants for VAL_sm_capabilities_gprs
143 */
144 #define SM_CAP_GPRS_NO (0x0) /* SM capability not present */
145 #define SM_CAP_GPRS_YES (0x1) /* SM capability present */
146
147 /*
148 * Value constants for VAL_ucs2_support
149 */
150 #define UCS2_YES (0x0) /* preference for the default alphabet over UCS2 */
151 #define UCS2_NO (0x1) /* no preference for the default alphabet over UCS2 */
152
153 /*
154 * Value constants for VAL_type_of_identity
155 */
156 #define VAL_TYPE_OF_IDENTITY___DEF (0x0) /* reserved */
157 #define ID_TYPE_NO_IDENT (0x0) /* No Identity */
158 #define ID_TYPE_IMSI (0x1) /* IMSI */
159 #define ID_TYPE_IMEI (0x2) /* IMEI */
160 #define ID_TYPE_IMEISV (0x3) /* IMEISV */
161 #define ID_TYPE_TMSI (0x4) /* TMSI/P-TMSI */
162
163 /*
164 * Value constants for VAL_type_of_identity_2
165 */
166 #define VAL_TYPE_OF_IDENTITY_2___DEF (0x0) /* IMSI */
167 #define ID2_TYPE_IMSI (0x1) /* IMSI */
168 #define ID2_TYPE_IMEI (0x2) /* IMEI */
169 #define ID2_TYPE_IMEISV (0x3) /* IMEISV */
170 #define ID2_TYPE_TMSI (0x4) /* TMSI */
171
172 /*
173 * Value constants for VAL_type_of_attach
174 */
175 #define VAL_TYPE_OF_ATTACH___DEF (0x0) /* GPRS attach */
176 #define AT_GPRS (0x1) /* GPRS attach */
177 #define AT_WHILE_IMSI_AT (0x2) /* GPRS attach while IMSI attached */
178 #define AT_COMB (0x3) /* Combined GPRS/IMSI attach */
179
180 /*
181 * Value constants for VAL_u_type_of_detach
182 */
183 #define VAL_U_TYPE_OF_DETACH___DEF (0x0) /* Combined GPRS/IMSI detach */
184 #define DT_GPRS (0x1) /* GPRS detach */
185 #define DT_IMSI (0x2) /* IMSI detach */
186 #define DT_COMB (0x3) /* Combined GPRS/IMSI detach */
187
188 /*
189 * Value constants for VAL_d_type_of_detach
190 */
191 #define VAL_D_TYPE_OF_DETACH___DEF (0x0) /* re-attach not required */
192 #define DT_RE_ATTACH (0x1) /* re-attch required */
193 #define DT_NO_RE_ATTACH (0x2) /* re-attach not required */
194 #define DT_IMSI_DETACH (0x3) /* IMSI detach (after VLR failure) */
195
196 /*
197 * Value constants for VAL_split_pg_cycle_code
198 */
199 #define VAL_SPLIT_PG_CYCLE_CODE___DEF (0x0) /* reserved */
200 #define DRX_NOT_USED (0x0) /* no DRX used by MS */
201
202 /*
203 * Value constants for VAL_split_on_ccch
204 */
205 #define SPLIT_NO (0x0) /* Spit on CCCH is not supported by the MS */
206 #define SPLIT_YES (0x1) /* Spit on CCCH is supported by the MS */
207
208 /*
209 * Value constants for VAL_non_drx_timer
210 */
211 #define DRX_NO (0x0) /* no non-DRX mode after transfer state */
212 #define DRX_1_SEC (0x1) /* max. 1 sec non-DRX mode after transfer */
213 #define DRX_2_SEC (0x2) /* max. 2 sec non-DRX mode after transfer */
214 #define DRX_4_SEC (0x3) /* max. 4 sec non-DRX mode after transfer */
215 #define DRX_8_SEC (0x4) /* max. 8 sec non-DRX mode after transfer */
216 #define DRX_16_SEC (0x5) /* max. 16 sec non-DRX mode after transfer */
217 #define DRX_32_SEC (0x6) /* max. 32 sec non-DRX mode after transfer */
218 #define DRX_64_SEC (0x7) /* max. 64 sec non-DRX mode after transfer */
219
220 /*
221 * Value constants for VAL_timer_unit
222 */
223 #define VAL_TIMER_UNIT___DEF (0x0) /* value is incremented in multiples of 1 min */
224 #define TIMER_2_SEC (0x0) /* value is incremented in multiples of 2 sec */
225 #define TIMER_1_MIN (0x1) /* value is incremented in multiples of 1 min */
226 #define TIMER_1_DH (0x2) /* value is incremented in multiples of 1 dh */
227 #define TIMER_DEACT (0x7) /* timer is deactivated */
228
229 /*
230 * Value constants for VAL_force_to_standby_value
231 */
232 #define VAL_FORCE_TO_STANDBY_VALUE___DEF (0x0) /* reserved */
233 #define STANDBY_NO (0x0) /* Force to standby not indicated */
234 #define STANDBY_YES (0x1) /* Force to standby indicated */
235
236 /*
237 * Value constants for VAL_radio_priority_level_value
238 */
239 #define VAL_RADIO_PRIORITY_LEVEL_VALUE___DEF (0x0)/* priority level 4 */
240 #define RP_LEVEL_1 (0x1) /* priority level 1 */
241 #define RP_LEVEL_2 (0x2) /* priority level 2?????????? */
242 #define RP_LEVEL_3 (0x3) /* priority level 3 */
243 #define RP_LEVEL_4 (0x4) /* priority level 4 */
244
245 /*
246 * Value constants for VAL_power_off
247 */
248 #define PO_NORMAL_DETACH (0x0) /* normal detach */
249 #define PO_POWER_OFF (0x1) /* power switched off */
250
251 /*
252 * Value constants for VAL_code
253 */
254 #define VAL_CODE___DEF (0x0) /* reserved */
255 #define SMS (0x0) /* SMS Cell Broadcst coding scheme defined in GSM 03.38 */
256 #define USC2 (0x1) /* UCS2 (16 bit) */
257
258 /*
259 * Value constants for VAL_add_ci
260 */
261 #define CI_NO (0x0) /* The MS shoule not add the letters for the Country's Initials to the text string */
262 #define CI_ADD (0x1) /* The MS should add the letters for the Country's Initials and a separator */
263
264 /*
265 * Value constants for VAL_nr_sparebits
266 */
267 #define VAL_NR_SPAREBITS___DEF (0x0) /* bit 'value' to 8 (inclusive) are spare and set to '0' in octet n */
268 #define SP_NULL (0x0) /* this field carries no information about the number of spare bits in octet n */
269
270 /*
271 * Value constants for VAL_nsapi
272 */
273 #define VAL_NSAPI___DEF (0x0) /* reserved */
274 #define NSAPI_5 (0x5) /* NSAPI 5 */
275 #define NSAPI_6 (0x6) /* NSAPI 6 */
276 #define NSAPI_7 (0x7) /* NSAPI 7 */
277 #define NSAPI_8 (0x8) /* NSAPI 8 */
278 #define NSAPI_9 (0x9) /* NSAPI 9 */
279 #define NSAPI_10 (0xa) /* NSAPI 10 */
280 #define NSAPI_11 (0xb) /* NSAPI 11 */
281 #define NSAPI_12 (0xc) /* NSAPI 12 */
282 #define NSAPI_13 (0xd) /* NSAPI 13 */
283 #define NSAPI_14 (0xe) /* NSAPI 14 */
284 #define NSAPI_15 (0xf) /* NSAPI 15 */
285
286 /*
287 * Value constants for VAL_rev_level_ind
288 */
289 #define REV_LEVEL_IND_99_NO (0x0) /* MS supports version(s) older than Release 1999 */
290 #define REV_LEVEL_IND_99_YES (0x1) /* MS supports Release 1999 */
291
292 // VALTAB-FF: REL99
293 //
294 // Value constants for VAL_save_time_value
295 //
296 // VAL-FF: REL99
297 // #define TIME_ADJ_NO (0x0) /* No adjustment for Daylight Saving Time */
298 // VAL-FF: REL99
299 // #define TIME_ADJ_1 (0x1) /* +1 hour adjustment for Daylight Saving Time */
300 // VAL-FF: REL99
301 // #define TIME_ADJ_2 (0x2) /* +2 hours adjustment for Daylight Saving Time */
302
303 /*
304 * user defined constants
305 */
306 #define L3MAX (0xfb)
307 #define MAX_N_PDU_NUMBER_LIST (0xb)
308
309 #include "CDG_LEAVE.h"
310
311
312 #endif