FreeCalypso > hg > fc-magnetite
comparison cdg211/cdginc/m_rr.val @ 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 : m_rr.val | | |
5 | SOURCE : "__out__\g23m_dfile\msg\rr.mdf" | | |
6 | LastModified : "2002-12-19" | | |
7 | IdAndVersion : "6147.604.97.114" | | |
8 | SrcFileTime : "Wed Aug 24 12:48:50 2005" | | |
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 : 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_RR_VAL | |
24 #define M_RR_VAL | |
25 | |
26 | |
27 #define CDG_ENTER__M_RR_VAL | |
28 | |
29 #define CDG_ENTER__FILENAME _M_RR_VAL | |
30 #define CDG_ENTER__M_RR_VAL__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__M_RR_VAL__LAST_MODIFIED _2002_12_19 | |
32 #define CDG_ENTER__M_RR_VAL__ID_AND_VERSION _6147_604_97_114 | |
33 | |
34 #define CDG_ENTER__M_RR_VAL__SRC_FILE_TIME _Wed_Aug_24_12_48_50_2005 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__M_RR_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_ab_type | |
47 */ | |
48 #define AB_8_BIT (0x0) /* 8 bit access burst shall be used */ | |
49 #define AB_11_BIT (0x1) /* 11 bit access burst shall be used */ | |
50 | |
51 /* | |
52 * Value constants for VAL_atc | |
53 */ | |
54 #define ATC_HANDOV_MAN (0x0) /* Sending of Handover access is mandatory */ | |
55 #define ATC_HANDOV_OPT (0x1) /* Sending of Handover access is optional */ | |
56 | |
57 /* | |
58 * Value constants for VAL_af | |
59 */ | |
60 #define AF_NO (0x0) /* acknowledgement is not required */ | |
61 #define AF_YES (0x1) /* acknowledgement is required */ | |
62 | |
63 /* | |
64 * Value constants for VAL_acs | |
65 */ | |
66 #define ACS_USE_SI4 (0x0) /* The SI 4 rest octets, if present, shall be used to derive the value of PI and possibly C2 parameters and/or other parameters */ | |
67 #define ACS_USE_SI7 (0x1) /* The value of PI and possibly C2 parameters and/or other parameters in a System information type 7 or type 8 message shall be used */ | |
68 | |
69 /* | |
70 * Value constants for VAL_algo_ident | |
71 */ | |
72 #define VAL_ALGO_IDENT___DEF (0x0) /* reserved */ | |
73 #define ALGO_A5_1 (0x0) /* cipher with algorithm A5/1 */ | |
74 #define ALGO_A5_2 (0x1) /* cipher with algorithm A5/2 */ | |
75 #define ALGO_A5_3 (0x2) /* cipher with algorithm A5/3 */ | |
76 #define ALGO_A5_4 (0x3) /* cipher with algorithm A5/4 */ | |
77 #define ALGO_A5_5 (0x4) /* cipher with algorithm A5/5 */ | |
78 #define ALGO_A5_6 (0x5) /* cipher with algorithm A5/6 */ | |
79 #define ALGO_A5_7 (0x6) /* cipher with algorithm A5/7 */ | |
80 | |
81 /* | |
82 * Value constants for VAL_alpha | |
83 */ | |
84 #define VAL_ALPHA___DEF (0x0) /* Reserved */ | |
85 | |
86 /* | |
87 * Value constants for VAL_att | |
88 */ | |
89 #define CCD_ATT_NO (0x0) /* MSs are not allowed to apply IMSI attach and detach procedure. */ | |
90 #define CCD_ATT_YES (0x1) /* MSs in the cell shall apply IMSI attach and detach procedure. */ | |
91 | |
92 /* | |
93 * Value constants for VAL_bcch_type | |
94 */ | |
95 #define BCCH_NORM (0x0) /* on BCCH Norm */ | |
96 #define BCCH_EXT (0x1) /* on BCCH Ext. */ | |
97 | |
98 /* | |
99 * Value constants for VAL_blp | |
100 */ | |
101 #define BLP_BLK (0x0) /* The allocation bitmap is to be interpreted as blocks. */ | |
102 #define BLP_PER (0x1) /* The allocation bitmap is to be interpreted as block periods. */ | |
103 | |
104 /* | |
105 * Value constants for VAL_pwr_ctrl_mode | |
106 */ | |
107 #define PWR_CTR_A (0x0) /* mode A */ | |
108 #define PWR_CTR_B (0x1) /* mode B */ | |
109 | |
110 /* | |
111 * Value constants for VAL_call_prio | |
112 */ | |
113 #define CALL_PRIO_NO (0x0) /* no priority applied */ | |
114 #define CALL_PRIO_LEV_4 (0x1) /* call priority level 4 */ | |
115 #define CALL_PRIO_LEV_3 (0x2) /* call priority level 3 */ | |
116 #define CALL_PRIO_LEV_2 (0x3) /* call priority level 2 */ | |
117 #define CALL_PRIO_LEV_1 (0x4) /* call priority level 1 */ | |
118 #define CALL_PRIO_LEV_0 (0x5) /* call priority level 0 */ | |
119 #define CALL_PRIO_LEV_A (0x6) /* call priority level A */ | |
120 #define CALL_PRIO_LEV_B (0x7) /* call priority level B */ | |
121 | |
122 /* | |
123 * Value constants for VAL_re | |
124 */ | |
125 #define REESTAB_YES (0x0) /* Call Reestablishment allowed in the cell */ | |
126 #define REESTAB_NO (0x1) /* Call Reestablishment not allowed in the cell */ | |
127 | |
128 /* | |
129 * Value constants for VAL_cell_bar_qual | |
130 */ | |
131 #define CBQ_NO (0x0) /* cell selection and reselection depending on cell bar access */ | |
132 #define CBQ_YES (0x1) /* cell selection priority always low, reselection always normal */ | |
133 | |
134 /* | |
135 * Value constants for VAL_cell_bar_access | |
136 */ | |
137 #define BARRED_NO (0x0) /* The cell is not barred */ | |
138 #define BARRED_YES (0x1) /* The cell is barred */ | |
139 | |
140 /* | |
141 * Value constants for VAL_cell_resel_hyst | |
142 */ | |
143 #define CELL_HYST_0_DB (0x0) /* 0 dB RXLEV hysteresis for LA re-selection */ | |
144 #define CELL_HYST_2_DB (0x1) /* 2 dB RXLEV hysteresis for LA re-selection */ | |
145 #define CELL_HYST_4_DB (0x2) /* 4 dB RXLEV hysteresis for LA re-selection */ | |
146 #define CELL_HYST_6_DB (0x3) /* 6 dB RXLEV hysteresis for LA re-selection */ | |
147 #define CELL_HYST_8_DB (0x4) /* 8 dB RXLEV hysteresis for LA re-selection */ | |
148 #define CELL_HYST_10_DB (0x5) /* 10 dB RXLEV hysteresis for LA re-selection */ | |
149 #define CELL_HYST_12_DB (0x6) /* 12 dB RXLEV hysteresis for LA re-selection */ | |
150 #define CELL_HYST_14_DB (0x7) /* 14 dB RXLEV hysteresis for LA re-selection */ | |
151 | |
152 /* | |
153 * Value constants for VAL_chan_type | |
154 */ | |
155 #define VAL_CHAN_TYPE___DEF (0x0) /* channel not defined */ | |
156 #define TCH_F (0x1) /* TCH/F + ACCHs */ | |
157 #define TCH_H_S0 (0x2) /* TCH/H + ACCHs, subchannel 0 */ | |
158 #define TCH_H_S1 (0x3) /* TCH/H + ACCHs, subchannel 1 */ | |
159 #define SDCCH_4_S0 (0x4) /* SDCCH/4 + SDCCH/C4, subchannel 0 */ | |
160 #define SDCCH_4_S1 (0x5) /* SDCCH/4 + SDCCH/C4, subchannel 1 */ | |
161 #define SDCCH_4_S2 (0x6) /* SDCCH/4 + SDCCH/C4, subchannel 2 or CBCH (SDCCH/4) */ | |
162 #define SDCCH_4_S3 (0x7) /* SDCCH/4 + SDCCH/C4, subchannel 3 */ | |
163 #define SDCCH_8_S0 (0x8) /* SDCCH/8 + SDCCH/C8, subchannel 0 */ | |
164 #define SDCCH_8_S1 (0x9) /* SDCCH/8 + SDCCH/C8, subchannel 1 */ | |
165 #define SDCCH_8_S2 (0xa) /* SDCCH/8 + SDCCH/C8, subchannel 2 or CBCH (SDCCH/8) */ | |
166 #define SDCCH_8_S3 (0xb) /* SDCCH/8 + SDCCH/C8, subchannel 3 */ | |
167 #define SDCCH_8_S4 (0xc) /* SDCCH/8 + SDCCH/C8, subchannel 4 */ | |
168 #define SDCCH_8_S5 (0xd) /* SDCCH/8 + SDCCH/C8, subchannel 5 */ | |
169 #define SDCCH_8_S6 (0xe) /* SDCCH/8 + SDCCH/C8, subchannel 6 */ | |
170 #define SDCCH_8_S7 (0xf) /* SDCCH/8 + SDCCH/C8, subchannel 7 */ | |
171 #define TCH_F_NO_ADD (0x10) /* TCH/F + FACCH/F + SACCH/M, no additional timeslots */ | |
172 #define TCH_F_ADD_BI1 (0x11) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M on timeslot n-1 */ | |
173 #define TCH_F_ADD_BI2 (0x12) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M on timeslot n+1, n-1 */ | |
174 #define TCH_F_ADD_BI3 (0x13) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M on timeslot n+1, n-1, n-2 */ | |
175 #define TCH_F_ADD_BI4 (0x14) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M on timeslot n+1, n-1 until n-3 */ | |
176 #define TCH_F_ADD_BI5 (0x15) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M on timeslot n+1, n-1 until n-4 */ | |
177 #define TCH_F_ADD_BI6 (0x16) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M on timeslot n+1, n-1 until n-5 */ | |
178 #define TCH_F_ADD_BI7 (0x17) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M on timeslot n+1, n-1 until n-6 */ | |
179 #define TCH_F_ADD_UNI1 (0x18) /* TCH/F+ACCHs, additional unidirectional TCH/FD/SACCH/MD on timeslot n-1 */ | |
180 #define TCH_F_ADD_UNI2 (0x19) /* TCH/F+ACCHs, additional unidirectional TCH/FD/SACCH/MD on timeslot n+1, n-1 */ | |
181 #define TCH_F_ADD_UNI3 (0x1a) /* TCH/F+ACCHs, additional unidirectional TCH/FD/SACCH/MD on timeslot n+1, n-1 , n-2 */ | |
182 #define TCH_F_ADD_BI_UNI (0x1e) /* TCH/F+ACCHs, additional bidirectional TCH/F/SACCH/M and unidirectional TCH/FD/SACCH/MD on timeslot n+1, n-1 */ | |
183 | |
184 /* | |
185 * Value constants for VAL_cn1 | |
186 */ | |
187 #define CN_ANY_CHAN (0x0) /* Any channel. */ | |
188 #define CN_SDCCH (0x1) /* SDCCH. */ | |
189 #define CN_TCH_F (0x2) /* TCH/F (Full rate). */ | |
190 #define CN_TCH (0x3) /* TCH/H or TCH/F (Dual rate). */ | |
191 | |
192 /* | |
193 * Value constants for VAL_chan_mode | |
194 */ | |
195 #define VAL_CHAN_MODE___DEF (0x0) /* reserved mode */ | |
196 #define CM_SIG_ONLY (0x0) /* signaling only */ | |
197 #define CM_SPEECH (0x1) /* speech (full rate or half rate), version 1 */ | |
198 #define CM_SPEECH_VER1 (0x1) /* speech (full rate or half rate), version 1 */ | |
199 #define CM_SPEECH_VER2 (0x21) /* speech (full rate or half rate), version 2 */ | |
200 #define CM_SPEECH_VER3 (0x41) /* speech (full rate or half rate), version 3 */ | |
201 #define CM_DATA_14_5 (0xf) /* data, 14.5 kbit/s radio interface rate */ | |
202 #define CM_DATA_12_0 (0x3) /* data, 12.0 kbit/s radio interface rate */ | |
203 #define CM_DATA_6_0 (0xb) /* data, 6.0 kbit/s radio interface rate */ | |
204 #define CM_DATA_3_6 (0x13) /* data, 3.6 kbit/s radio interface rate */ | |
205 | |
206 /* | |
207 * Value constants for VAL_chan_mode_2 | |
208 */ | |
209 #define VAL_CHAN_MODE_2___DEF (0x0) /* reserved mode */ | |
210 #define CM2_SIG_ONLY (0x0) /* signaling only */ | |
211 #define CM2_SPEECH_HALF (0x5) /* speech half rate */ | |
212 #define CM2_SPEECH_VER1 (0x5) /* speech (full rate or half rate), version 1 */ | |
213 #define CM2_SPEECH_VER2 (0x25) /* speech (full rate or half rate), version 2 */ | |
214 #define CM2_SPEECH_VER3 (0x45) /* speech (full rate or half rate), version 3 */ | |
215 #define CM2_DATA_6_0 (0xf) /* data, 6.0 kbit/s radio interface rate */ | |
216 #define CM2_DATA_3_6 (0x17) /* data, 3.6 kbit/s radio interface rate */ | |
217 | |
218 /* | |
219 * Value constants for VAL_crd_prio | |
220 */ | |
221 #define CRD_PRIO_1 (0x0) /* priority level 1 (highest priority) */ | |
222 #define CRD_PRIO_2 (0x1) /* priority level 2 */ | |
223 #define CRD_PRIO_3 (0x2) /* priority level 3 */ | |
224 #define CRD_PRIO_4 (0x3) /* priority level 4 (lowest priority) */ | |
225 | |
226 /* | |
227 * Value constants for VAL_cr | |
228 */ | |
229 #define INC_IMEISV_NO (0x0) /* IMEISV shall not be included */ | |
230 #define INC_IMEISV_YES (0x1) /* IMEISV shall be included */ | |
231 | |
232 /* | |
233 * Value constants for VAL_cod_scheme | |
234 */ | |
235 #define COD_S_1 (0x0) | |
236 #define COD_S_2 (0x1) | |
237 #define COD_S_3 (0x2) | |
238 #define COD_S_4 (0x3) | |
239 | |
240 /* | |
241 * Value constants for VAL_c_r | |
242 */ | |
243 #define CMD_FRESP (0x0) /* Command or Final Response */ | |
244 #define NCMD_FRESP (0x1) /* Not Command or Final Response */ | |
245 | |
246 /* | |
247 * Value constants for VAL_ccch_conf | |
248 */ | |
249 #define VAL_CCCH_CONF___DEF (0x0) /* reserved */ | |
250 #define CCD_CCCH_1_NOT_COMB (0x0) /* 1 basic channel used for CCCH, not combined with SDCCHs */ | |
251 #define CCD_CCCH_1_COMB (0x1) /* 1 basic channel used for CCCH, combined with SDCCHs */ | |
252 #define CCD_CCCH_2_NOT_COMB (0x2) /* 2 basic channel used for CCCH, not combined with SDCCHs */ | |
253 #define CCD_CCCH_3_NOT_COMB (0x4) /* 3 basic channel used for CCCH, not combined with SDCCHs */ | |
254 #define CCD_CCCH_4_NOT_COMB (0x6) /* 4 basic channel used for CCCH, not combined with SDCCHs */ | |
255 | |
256 /* | |
257 * Value constants for VAL_ctrl_ack_type | |
258 */ | |
259 #define VAL_CTRL_ACK_TYPE___0 (0x0) /* default format is four access bursts */ | |
260 #define VAL_CTRL_ACK_TYPE___1 (0x1) /* default format is RLC/MAC control block. */ | |
261 | |
262 /* | |
263 * Value constants for VAL_d_t | |
264 */ | |
265 #define D_T_DED (0x0) /* the message assigns a resource in dedicated mode */ | |
266 #define D_T_TBF (0x1) /* the message assigns a TBF */ | |
267 | |
268 /* | |
269 * Value constants for VAL_dtx_b | |
270 */ | |
271 #define VAL_DTX_B___DEF (0x0) /* invalid DTX indicator */ | |
272 #define B_DTX_MAY_USE (0x0) /* The MSs may use uplink DTX */ | |
273 #define B_DTX_SHALL_USE (0x1) /* The MSs shall use uplink DTX */ | |
274 #define B_DTX_DONT_USE (0x2) /* The MS shall not use uplink DTX */ | |
275 | |
276 /* | |
277 * Value constants for VAL_dtx_s | |
278 */ | |
279 #define S_DTX_F_MAYUSE_H_DONTUSE (0x0) /* May use DTX on TCH-F. Don't use DTX on TCH-H. */ | |
280 #define S_DTX_F_USE_H_DONTUSE (0x1) /* Do use DTX on TCH-F. Don't use DTX on TCH-H. */ | |
281 #define S_DTX_F_DONTUSE_H_DONTUSE (0x2) /* Don't use DTX on TCH-F. Don't use DTX on TCH-H. */ | |
282 #define S_DTX_F_USE_H_MAYUSE (0x3) /* Do use DTX on TCH-F. May use DTX on TCH-H. */ | |
283 #define S_DTX_F_MAYUSE_H_MAYUSE (0x4) /* May use DTX on TCH-F. May use DTX on TCH-H. */ | |
284 #define S_DTX_F_USE_H_USE (0x5) /* Do use DTX on TCH-F. Do use DTX on TCH-H. */ | |
285 #define S_DTX_F_DONTUSE_H_USE (0x6) /* Don't use DTX on TCH-F. Do use DTX on TCH-H. */ | |
286 #define S_DTX_F_MAYUSE_H_USE (0x7) /* May use DTX on TCH-F. Do use DTX on TCH-H. */ | |
287 | |
288 /* | |
289 * Value constants for VAL_dtx_used | |
290 */ | |
291 #define DTX_USED_NO (0x0) /* DTX was not used */ | |
292 #define DTX_USED_YES (0x1) /* DTX was used */ | |
293 | |
294 /* | |
295 * Value constants for VAL_dl | |
296 */ | |
297 #define DL_0 (0x0) /* no meaning */ | |
298 #define DL_1 (0x1) /* the message assigns a resource to the MS identified by the IA rest octets */ | |
299 | |
300 /* | |
301 * Value constants for VAL_ext_dyn_all | |
302 */ | |
303 #define EXT_DYN_NO (0x0) /* Dynamic Allocation */ | |
304 #define EXT_DYN_YES (0x1) /* Extended Dynamic Allocation */ | |
305 | |
306 /* | |
307 * Value constants for VAL_final | |
308 */ | |
309 #define FINAL_NO (0x0) /* allocation is not the last Allocation of TBF */ | |
310 #define FINAL_YES (0x1) /* allocation is the last Allocation of TBF */ | |
311 | |
312 /* | |
313 * Value constants for VAL_f_seg | |
314 */ | |
315 #define F_SEG (0x0) /* First or only segment */ | |
316 #define NF_SEG (0x1) /* Not first or only segment */ | |
317 | |
318 /* | |
319 * Value constants for VAL_flag | |
320 */ | |
321 #define PRES_NO (0x0) /* information is not present */ | |
322 #define PRES_YES (0x1) /* information is present */ | |
323 | |
324 /* | |
325 * Value constants for VAL_hdm | |
326 */ | |
327 #define HDM_NO (0x0) /* The mobile station shall not operate in half duplex mode. */ | |
328 #define HDM_YES (0x1) /* The mobile station shall operate in half duplex mode. */ | |
329 | |
330 /* | |
331 * Value constants for VAL_hop | |
332 */ | |
333 #define HOP_NO (0x0) /* frequency hopping is off */ | |
334 #define HOP_YES (0x1) /* frequency hopping is on */ | |
335 | |
336 /* | |
337 * Value constants for VAL_inband_not | |
338 */ | |
339 #define IN_BAND_NOT_NCH (0x0) /* notifications are sent on NCH only */ | |
340 #define IN_BAND_NOT_FACCH (0x1) /* notifications are sent on FACCH too */ | |
341 | |
342 /* | |
343 * Value constants for VAL_inband_pag | |
344 */ | |
345 #define IN_BAND_PAG_PCH (0x0) /* pagings are sent on PCH only */ | |
346 #define IN_BAND_PAG_FACCH (0x1) /* pagings are sent on FACCH too */ | |
347 | |
348 /* | |
349 * Value constants for VAL_indir | |
350 */ | |
351 #define INDIR_NO (0x0) /* non hopping configuration */ | |
352 #define INDIR_YES (0x1) /* indirect encoding of hopping RF channel configuration */ | |
353 | |
354 /* | |
355 * Value constants for VAL_it5 | |
356 */ | |
357 #define IT5_1 (0x0) /* System Information Type 1 */ | |
358 #define IT5_2 (0x1) /* System Information Type 2 */ | |
359 #define IT5_2BIS (0x2) /* System Information Type 2bis */ | |
360 #define IT5_2TER (0x3) /* System Information Type 2ter */ | |
361 #define IT5_3 (0x4) /* System Information Type 3 */ | |
362 #define IT5_4 (0x5) /* System Information Type 4 */ | |
363 #define IT5_7 (0x6) /* System Information Type 7 */ | |
364 #define IT5_8 (0x7) /* System Information Type 8 */ | |
365 #define IT5_9 (0x8) /* System Information Type 9 */ | |
366 #define IT5_13 (0x9) /* System Information Type 13 */ | |
367 #define IT5_14 (0xa) /* System Information Type 14 */ | |
368 | |
369 /* | |
370 * Value constants for VAL_icmi | |
371 */ | |
372 #define ICMI_IMPL (0x0) /* initial codec mode defined by implicit rule provided in GSM 05.09 */ | |
373 #define ICMI_START_MODE (0x1) /* initial codec mode defined by start mode field */ | |
374 | |
375 /* | |
376 * Value constants for VAL_key_seq | |
377 */ | |
378 #define VAL_KEY_SEQ___7 (0x7) /* No key is available (MS to network); Reserved (network to MS) */ | |
379 | |
380 /* | |
381 * Value constants for VAL_l_seg | |
382 */ | |
383 #define L_SEG (0x0) /* Last or only segment */ | |
384 #define NL_SEG (0x1) /* Not last or only segment */ | |
385 | |
386 /* | |
387 * Value constants for VAL_llc_fr_type | |
388 */ | |
389 #define LLC_IS_ACK (0x0) /* LLC frame is SACK or NACK */ | |
390 #define LLC_NOT_ACK (0x1) /* LLC frame is not SACK or NACK */ | |
391 | |
392 /* | |
393 * Value constants for VAL_low_arfcn | |
394 */ | |
395 #define VAL_LOW_ARFCN___DEF (0x0) /* reserved */ | |
396 | |
397 /* | |
398 * Value constants for VAL_mac_mode | |
399 */ | |
400 #define MAC_DYN_ALLOC (0x0) /* dynamic allocation */ | |
401 #define MAC_EXT_DYN_ALLOC (0x1) /* extended dynamic allocation */ | |
402 #define MAC_FIX_ALLOC_NOT_HALF (0x2) /* fixed allocation, not half duplex mode */ | |
403 #define MAC_FIX_ALLOC (0x3) /* fixed allocation, half duplex mode */ | |
404 | |
405 /* | |
406 * Value constants for VAL_ma_num | |
407 */ | |
408 #define MA_NUM_14 (0x0) /* MA_NUMBER = 14 */ | |
409 #define MA_NUM_15 (0x1) /* MA_NUMBER = 15 */ | |
410 | |
411 /* | |
412 * Value constants for VAL_max_retrans | |
413 */ | |
414 #define MAX_RETRANS_1 (0x0) /* Maximum 1 retransmission */ | |
415 #define MAX_RETRANS_2 (0x1) /* Maximum 2 retransmissions */ | |
416 #define MAX_RETRANS_4 (0x2) /* Maximum 4 retransmissions */ | |
417 #define MAX_RETRANS_7 (0x3) /* Maximum 7 retransmissions */ | |
418 | |
419 /* | |
420 * Value constants for VAL_meas_valid | |
421 */ | |
422 #define MEAS_VALID_YES (0x0) /* The measurement results are valid */ | |
423 #define MEAS_VALID_NO (0x1) /* the measurement results are not valid */ | |
424 | |
425 /* | |
426 * Value constants for VAL_or_ty | |
427 */ | |
428 #define OR_TY_MT (0x0) /* Mobile terminated */ | |
429 #define OR_TY_MO (0x1) /* Mobile originated */ | |
430 | |
431 /* | |
432 * Value constants for VAL_mr_vers | |
433 */ | |
434 #define VAL_MR_VERS___DEF (0x0) /* reserved */ | |
435 #define MR_VERS_1 (0x1) /* Adaptive Multirate speech version 1 */ | |
436 | |
437 /* | |
438 * Value constants for VAL_ncm | |
439 */ | |
440 #define NC_0 (0x0) | |
441 #define NC_1 (0x1) | |
442 #define NC_2 (0x2) | |
443 #define NC_TARGET (0x3) /* information on NC mode to be gathered from the target cell */ | |
444 | |
445 /* | |
446 * Value constants for VAL_nch_position | |
447 */ | |
448 #define VAL_NCH_POSITION___DEF (0x0) /* reserved */ | |
449 #define NCH_1BLK_NR0 (0x0) /* 1 block / first is block 0 */ | |
450 #define NCH_1BLK_NR1 (0x1) /* 1 block / first is block 1 */ | |
451 #define NCH_1BLK_NR2 (0x2) /* 1 block / first is block 2 */ | |
452 #define NCH_1BLK_NR3 (0x3) /* 1 block / first is block 3 */ | |
453 #define NCH_1BLK_NR4 (0x4) /* 1 block / first is block 4 */ | |
454 #define NCH_1BLK_NR5 (0x5) /* 1 block / first is block 5 */ | |
455 #define NCH_1BLK_NR6 (0x6) /* 1 block / first is block 6 */ | |
456 #define NCH_2BLK_NR0 (0x7) /* 2 blocks / first is block 0 */ | |
457 #define NCH_2BLK_NR1 (0x8) /* 2 blocks / first is block 1 */ | |
458 #define NCH_2BLK_NR2 (0x9) /* 2 blocks / first is block 2 */ | |
459 #define NCH_2BLK_NR3 (0xa) /* 2 blocks / first is block 3 */ | |
460 #define NCH_2BLK_NR4 (0xb) /* 2 blocks / first is block 4 */ | |
461 #define NCH_2BLK_NR5 (0xc) /* 2 blocks / first is block 5 */ | |
462 #define NCH_3BLK_NR0 (0xd) /* 3 blocks / first is block 0 */ | |
463 #define NCH_3BLK_NR1 (0xe) /* 3 blocks / first is block 1 */ | |
464 #define NCH_3BLK_NR2 (0xf) /* 3 blocks / first is block 2 */ | |
465 #define NCH_3BLK_NR3 (0x10) /* 3 blocks / first is block 3 */ | |
466 #define NCH_3BLK_NR4 (0x11) /* 3 blocks / first is block 4 */ | |
467 #define NCH_4BLK_NR0 (0x12) /* 4 blocks / first is block 0 */ | |
468 #define NCH_4BLK_NR1 (0x13) /* 4 blocks / first is block 1 */ | |
469 #define NCH_4BLK_NR2 (0x14) /* 4 blocks / first is block 2 */ | |
470 #define NCH_4BLK_NR3 (0x15) /* 4 blocks / first is block 3 */ | |
471 #define NCH_5BLK_NR0 (0x16) /* 5 blocks / first is block 0 */ | |
472 #define NCH_5BLK_NR1 (0x17) /* 5 blocks / first is block 1 */ | |
473 #define NCH_5BLK_NR2 (0x18) /* 5 blocks / first is block 2 */ | |
474 #define NCH_6BLK_NR0 (0x19) /* 6 blocks / first is block 0 */ | |
475 #define NCH_6BLK_NR1 (0x1a) /* 6 blocks / first is block 1 */ | |
476 #define NCH_7BLK_NR0 (0x1b) /* 7 blocks / first is block 0 */ | |
477 | |
478 /* | |
479 * Value constants for VAL_neci | |
480 */ | |
481 #define NECI_NO (0x0) /* New establishment causes are not supported */ | |
482 #define NECI_YES (0x1) /* New establishment causes are supported */ | |
483 | |
484 /* | |
485 * Value constants for VAL_nco | |
486 */ | |
487 #define VAL_NCO___DEF (0x0) /* reserved */ | |
488 #define NCO_NO_REP (0x0) /* MS controlled cell reselection, no measurement reporting */ | |
489 #define NCO_MS_RESEL (0x1) /* MS controlled cell reselection, MA sends measurement reports */ | |
490 #define NCO_NET_RESEL (0x2) /* Network controlled cell reselection, MA sends measurement reports */ | |
491 | |
492 /* | |
493 * Value constants for VAL_nmo | |
494 */ | |
495 #define VAL_NMO___0 (0x0) /* Network Mode 1 */ | |
496 #define VAL_NMO___1 (0x1) /* Network Mode 2 */ | |
497 #define VAL_NMO___2 (0x2) /* Network Mode 3 */ | |
498 #define VAL_NMO___3 (0x3) /* reserved */ | |
499 | |
500 /* | |
501 * Value constants for VAL_nscb | |
502 */ | |
503 #define NSCB_ON (0x0) /* NSCB can be used (default) */ | |
504 #define NSCB_OFF (0x1) /* NSCB shall be turned off */ | |
505 | |
506 /* | |
507 * Value constants for VAL_nci | |
508 */ | |
509 #define NCI_IGNORE (0x0) /* Out of range timing advance is ignored */ | |
510 #define NCI_TRIGGER (0x1) /* Out of range timing advance shall trigger a handover failure */ | |
511 | |
512 /* | |
513 * Value constants for VAL_num_range | |
514 */ | |
515 #define VAL_NUM_RANGE___DEF (0x0) /* reserved */ | |
516 | |
517 /* | |
518 * Value constants for VAL_odd_even | |
519 */ | |
520 #define EVEN (0x0) /* even */ | |
521 #define ODD (0x1) /* odd */ | |
522 | |
523 /* | |
524 * Value constants for VAL_pck_chan_type | |
525 */ | |
526 #define VAL_PCK_CHAN_TYPE___DEF (0x0) /* reserved */ | |
527 #define PCK_CH_1 (0x1) /* for backward compatibility */ | |
528 | |
529 /* | |
530 * Value constants for VAL_pch_restruct | |
531 */ | |
532 #define PCH_RESTRUCT_NO (0x0) /* paging channel is restructured */ | |
533 #define PCH_RESTRUCT_YES (0x1) /* paging channel is not restructured */ | |
534 | |
535 /* | |
536 * Value constants for VAL_pm | |
537 */ | |
538 #define PAGING_NORM (0x0) /* Normal paging. */ | |
539 #define PAGING_EXT (0x1) /* Extended paging. */ | |
540 #define PAGING_REORG (0x2) /* Paging reorganization. */ | |
541 #define PAGING_SAME (0x3) /* Same as before. */ | |
542 | |
543 /* | |
544 * Value constants for VAL_pc_meas_chan | |
545 */ | |
546 #define PC_MEAS_BCCH (0x0) /* BCCH shall be used for downlink measurements for power control */ | |
547 #define PC_MEAS_PDCH (0x1) /* PDCH shall be used for downlink measurements for power control */ | |
548 | |
549 /* | |
550 * Value constants for VAL_poll | |
551 */ | |
552 #define POLL_NO_ACTION (0x0) /* no action required from MS */ | |
553 #define POLL_SEND_ACK (0x1) /* MS shall send a PACKET CONTROL ACKNOWLEDGEMENT */ | |
554 | |
555 /* | |
556 * Value constants for VAL_pow_ctrl | |
557 */ | |
558 #define POW_CTRL_NO (0x0) /* PWRC is not set */ | |
559 #define POW_CTRL_YES (0x1) /* PWRC is set */ | |
560 | |
561 /* | |
562 * Value constants for VAL_pow_offs | |
563 */ | |
564 #define POW_OFFS_0_DB (0x0) /* offset 0 dB */ | |
565 #define POW_OFFS_2_DB (0x1) /* offset 2 dB */ | |
566 #define POW_OFFS_4_DB (0x2) /* offset 4 dB */ | |
567 #define POW_OFFS_6_DB (0x3) /* offset 6 dB */ | |
568 | |
569 /* | |
570 * Value constants for VAL_prio_acc_thr | |
571 */ | |
572 #define PAT_NO (0x0) /* Packet access not allowed in the cell */ | |
573 #define PAT_SPARE1 (0x1) /* Spare, shall be interpreted as 0 */ | |
574 #define PAT_SPARE2 (0x2) /* Spare, shall be interpreted as 0 */ | |
575 #define PAT_ACC1 (0x3) /* packet access allowed for priority level 1 */ | |
576 #define PAT_ACC2 (0x4) /* packet access allowed for priority level 1 to 2 */ | |
577 #define PAT_ACC3 (0x5) /* packet access allowed for priority level 1 to 3 */ | |
578 #define PAT_ACC4 (0x6) /* packet access allowed for priority level 1 to 4 */ | |
579 #define PAT_SPARE6 (0x7) /* Spare, shall be interpreted as 6 */ | |
580 | |
581 /* | |
582 * Value constants for VAL_protoc_ident | |
583 */ | |
584 #define VAL_PROTOC_IDENT___DEF (0x0) /* reserved */ | |
585 #define RRLP_LCS (0x0) /* Radio Resource Location Service Protocol */ | |
586 | |
587 /* | |
588 * Value constants for VAL_rot | |
589 */ | |
590 #define TIME_DIFF_NO (0x0) /* Mobile Time Difference IE shall not be included in the HANDOVER COMPLETE message */ | |
591 #define TIME_DIFF_YES (0x1) /* Mobile Time Difference IE shall be included in the HANDOVER COMPLETE message */ | |
592 | |
593 /* | |
594 * Value constants for VAL_res_ack | |
595 */ | |
596 #define RES_ACK_NO (0x0) /* resumption of GPRS services not successfully acknowledged */ | |
597 #define RES_ACK_YES (0x1) /* resumption of GPRS services successfully acknowledged */ | |
598 | |
599 /* | |
600 * Value constants for VAL_rlc_mode | |
601 */ | |
602 #define RLC_ACK_MODE (0x0) /* RLC acknowledged mode */ | |
603 #define RLC_UNACK_MODE (0x1) /* RLC unacknowledged mode */ | |
604 | |
605 /* | |
606 * Value constants for VAL_rr_cause | |
607 */ | |
608 #define RRC_NORMAL_EVENT (0x0) /* Normal event */ | |
609 #define RRC_UNSPECIFIED (0x1) /* Abnormal release, unspecified */ | |
610 #define RRC_CHAN_UNACCEPT (0x2) /* Abnormal release, channel unacceptable */ | |
611 #define RRC_TIMER_EXPIRED (0x3) /* Abnormal release, timer expired */ | |
612 #define RRC_NO_ACTIVITY (0x4) /* Abnormal release, no activity on the radio path */ | |
613 #define RRC_PREEMEPT (0x5) /* Preemptive release */ | |
614 #define RRC_TIME_ADVANCE (0x8) /* Handover impossible, timing advance out of range */ | |
615 #define RRC_CHANNEL_MODE (0x9) /* Channel mode unacceptable */ | |
616 #define RRC_FREQ_NOT_IMPL (0xa) /* Frequency not implemented */ | |
617 #define RRC_CALL_CLEARED (0x41) /* Call already cleared */ | |
618 #define RRC_INCORRECT_MSG (0x5f) /* Semantically incorrect message */ | |
619 #define RRC_INVALID_MAN_INFO (0x60) /* Invalid mandatory information */ | |
620 #define RRC_MSG_NOT_IMPL (0x61) /* Message type non-existent or not implemented */ | |
621 #define RRC_MSG_NOT_COMPAT (0x62) /* Message type not compatible with protocol state */ | |
622 #define RRC_COND_IE_ERROR (0x64) /* Conditional IE error */ | |
623 #define RRC_NO_CELL_ALLOC (0x65) /* No cell allocation available */ | |
624 #define RRC_PROT_UNSPECIFIED (0x6f) /* Protocol error unspecified */ | |
625 | |
626 /* | |
627 * Value constants for VAL_sf | |
628 */ | |
629 #define SF_VBS (0x0) /* broadcast call reference */ | |
630 #define SF_VGCS (0x1) /* group call reference */ | |
631 | |
632 /* | |
633 * Value constants for VAL_set_amr | |
634 */ | |
635 #define SET_AMR_12_2 (0x80) /* codec 12.2 kbit/s is part of subset */ | |
636 #define SET_AMR_10_2 (0x40) /* codec 10.2 kbit/s is part of subset */ | |
637 #define SET_AMR_7_95 (0x20) /* codec 7.95 kbit/s is part of subset */ | |
638 #define SET_AMR_7_4 (0x10) /* codec 7.4 kbit/s is part of subset */ | |
639 #define SET_AMR_6_7 (0x8) /* codec 6.7 kbit/s is part of subset */ | |
640 #define SET_AMR_5_9 (0x4) /* codec 5.9 kbit/s is part of subset */ | |
641 #define SET_AMR_5_15 (0x2) /* codec 5.15 kbit/s is part of subset */ | |
642 #define SET_AMR_4_75 (0x1) /* codec 4 .75 kbit/s is part of subset */ | |
643 | |
644 /* | |
645 * Value constants for VAL_si13_pos | |
646 */ | |
647 #define SI13_ON_BCCH_NORM (0x0) /* on BCCH Norm */ | |
648 #define SI13_ON_BCCH_EXT (0x1) /* on BCCH Ext. */ | |
649 | |
650 /* | |
651 * Value constants for VAL_si_cf | |
652 */ | |
653 #define VAL_SI_CF___DEF (0x0) /* Update of unknown SI message type */ | |
654 #define SI_CF_UNSPEC (0x0) /* Update of unspecified SI message(s) */ | |
655 #define SI_CF_1 (0x1) /* Update of SI1 message */ | |
656 #define SI_CF_2X (0x2) /* Update of SI2, SI2bis or SI2ter message */ | |
657 #define SI_CF_3UNTIL8 (0x3) /* Update of SI3, SI4, SI7 or SI8 message */ | |
658 #define SI_CF_9 (0x4) /* Update of SI9 message */ | |
659 | |
660 /* | |
661 * Value constants for VAL_solsa_exc_acc | |
662 */ | |
663 #define SOLSA_EXCLUSIVE_NO (0x0) | |
664 #define SOLSA_EXCLUSIVE_YES (0x1) | |
665 | |
666 /* | |
667 * Value constants for VAL_spgc | |
668 */ | |
669 #define SPGC_NO (0x0) /* SPLIT_PG_CYCLE is not supported on CCCH in this cell */ | |
670 #define SPGC_YES (0x1) /* SPLIT_PG_CYCLE is supported on CCCH in this cell */ | |
671 | |
672 /* | |
673 * Value constants for VAL_sc | |
674 */ | |
675 #define START_CIPH_NO (0x0) /* No ciphering */ | |
676 #define START_CIPH_YES (0x1) /* Start ciphering */ | |
677 | |
678 /* | |
679 * Value constants for VAL_st_mode | |
680 */ | |
681 #define CODEC_MODE_1 (0x0) /* lowest bit rate */ | |
682 #define CODEC_MODE_2 (0x1) /* second lowest rate if codec includes more then 1 mode */ | |
683 #define CODEC_MODE_3 (0x2) /* third lowest rate if codec includes more then 2 modes */ | |
684 #define CODEC_MODE_4 (0x3) /* highest mode if codec includes 4 modes */ | |
685 | |
686 /* | |
687 * Value constants for VAL_susp_cause | |
688 */ | |
689 #define VAL_SUSP_CAUSE___DEF (0x0) /* shall be treated as 0 */ | |
690 #define SUSP_C_CALL (0x0) /* Mobile originated or mobile terminated call */ | |
691 #define SUSP_C_LU (0x1) /* Location Update */ | |
692 #define SUSP_C_SMS (0x2) /* Short message service */ | |
693 #define SUSP_C_SS (0x3) /* Supplementary service activation */ | |
694 #define SUSP_C_VBS (0x4) /* Voice broadcast or group call */ | |
695 | |
696 /* | |
697 * Value constants for VAL_si | |
698 */ | |
699 #define SYI_NON_SYNCH (0x0) /* Non-synchronized */ | |
700 #define SYI_NORM_SYNCH (0x1) /* Synchronized */ | |
701 #define SYI_PRE_SYNCH (0x2) /* Pre-synchronised */ | |
702 #define SYI_PSEUDO_SYNCH (0x3) /* Pseudo-synchronised */ | |
703 | |
704 /* | |
705 * Value constants for VAL_tm | |
706 */ | |
707 #define VAL_TM___DEF (0x0) /* reserved */ | |
708 #define TM_DED (0x0) /* dedicated mode */ | |
709 #define TM_GROUP (0x1) /* group transmit mode */ | |
710 | |
711 /* | |
712 * Value constants for VAL_ta_valid | |
713 */ | |
714 #define TA_VALID_NO (0x0) /* the value is not valid */ | |
715 #define TA_VALID_YES (0x1) /* the value is valid */ | |
716 | |
717 /* | |
718 * Value constants for VAL_tlli_bcc | |
719 */ | |
720 #define TLLI_BCC1 (0x0) /* mobile station shall use CS-1 */ | |
721 #define TLLI_BCC_CODED (0x1) /* mobile station shall use CS specified by Channel Coding */ | |
722 | |
723 /* | |
724 * Value constants for VAL_tma | |
725 */ | |
726 #define TMA_0 (0x0) /* no meaning */ | |
727 #define TMA_1 (0x1) /* the message is the first of two in a two message assignment */ | |
728 | |
729 /* | |
730 * Value constants for VAL_tx_integer | |
731 */ | |
732 #define SPREAD_TRANS_3 (0x0) /* 3 slots used to spread transmission */ | |
733 #define SPREAD_TRANS_4 (0x1) /* 4 slots used to spread transmission */ | |
734 #define SPREAD_TRANS_5 (0x2) /* 5 slots used to spread transmission */ | |
735 #define SPREAD_TRANS_6 (0x3) /* 6 slots used to spread transmission */ | |
736 #define SPREAD_TRANS_7 (0x4) /* 7 slots used to spread transmission */ | |
737 #define SPREAD_TRANS_8 (0x5) /* 8 slots used to spread transmission */ | |
738 #define SPREAD_TRANS_9 (0x6) /* 9 slots used to spread transmission */ | |
739 #define SPREAD_TRANS_10 (0x7) /* 10 slots used to spread transmission */ | |
740 #define SPREAD_TRANS_11 (0x8) /* 11 slots used to spread transmission */ | |
741 #define SPREAD_TRANS_12 (0x9) /* 12 slots used to spread transmission */ | |
742 #define SPREAD_TRANS_14 (0xa) /* 14slots used to spread transmission */ | |
743 #define SPREAD_TRANS_16 (0xb) /* 16 slots used to spread transmission */ | |
744 #define SPREAD_TRANS_20 (0xc) /* 20 slots used to spread transmission */ | |
745 #define SPREAD_TRANS_25 (0xd) /* 25 slots used to spread transmission */ | |
746 #define SPREAD_TRANS_32 (0xe) /* 32 slots used to spread transmission */ | |
747 #define SPREAD_TRANS_50 (0xf) /* 50 slots used to spread transmission */ | |
748 | |
749 /* | |
750 * Value constants for VAL_ident_type | |
751 */ | |
752 #define VAL_IDENT_TYPE___DEF (0x0) /* reserved */ | |
753 #define ID_TYPE_NO_IDENT (0x0) /* No Identity */ | |
754 #define ID_TYPE_IMSI (0x1) /* IMSI */ | |
755 #define ID_TYPE_IMEI (0x2) /* IMEI */ | |
756 #define ID_TYPE_IMEISV (0x3) /* IMEISV */ | |
757 #define ID_TYPE_TMSI (0x4) /* TMSI */ | |
758 | |
759 /* | |
760 * Value constants for VAL_usf_gran | |
761 */ | |
762 #define USF_GRAN1 (0x0) /* the mobile shall send one RLC/MAC block */ | |
763 #define USF_GRAN4 (0x1) /* the mobile shall send four consecutive RLC/MAC blocks */ | |
764 | |
765 /* | |
766 * Value constants for VAL_break_ind | |
767 */ | |
768 #define BREAK_IND_NO (0x0) /* Additional parameters are not sent in SYSTEM INFORMATION TYPE 7 and 8 */ | |
769 #define BREAK_IND_YES (0x1) /* Additional parameters SI4 Rest Octets_S are sent in SYSTEM INFORMATION TYPE 7 and 8 */ | |
770 | |
771 /* | |
772 * user defined constants | |
773 */ | |
774 #define L3MAX_ACK (0xfb) | |
775 #define L3MAX (0xfb) | |
776 #define MAX_APDU_DATA (0xf8) | |
777 #define MAX_ARFCN (0x14) | |
778 #define MAX_ARFCNI (0x5) | |
779 #define MAX_GR_C_INFO (0x5) | |
780 #define MAX_ITP (0x5) | |
781 #define MAX_LSA_ID (0x2) | |
782 #define MAX_POS (0x5) | |
783 #define MAX_RANGE (0xa) | |
784 #define MAX_RFL (0x5) | |
785 #define N_MAX_RANGE (0x1e) | |
786 #define N_CELL_MRES (0x6) | |
787 #define N_FREQ_SHORT_LIST (0x9) | |
788 #define N_FREQ_SKIP (0x10) | |
789 #define N_MAX_FREQ_LIST (0xfa) | |
790 #define N_MOB_ALLOC (0x8) | |
791 #define NCELL_DESC_BIT_LEN (0x80) | |
792 | |
793 #include "CDG_LEAVE.h" | |
794 | |
795 | |
796 #endif |