comparison cdg211/cdginc/p_rrgrr.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 : p_rrgrr.val |
5 | SOURCE : "__out__\g23m_dfile\prim\rrgrr.pdf" |
6 | LastModified : "2003-11-19" |
7 | IdAndVersion : "8441.112.03.031" |
8 | SrcFileTime : "Tue Jan 31 13:51:40 2006" |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:16 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 P_RRGRR_VAL
24 #define P_RRGRR_VAL
25
26
27 #define CDG_ENTER__P_RRGRR_VAL
28
29 #define CDG_ENTER__FILENAME _P_RRGRR_VAL
30 #define CDG_ENTER__P_RRGRR_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_RRGRR_VAL__LAST_MODIFIED _2003_11_19
32 #define CDG_ENTER__P_RRGRR_VAL__ID_AND_VERSION _8441_112_03_031
33
34 #define CDG_ENTER__P_RRGRR_VAL__SRC_FILE_TIME _Tue_Jan_31_13_51_40_2006
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_RRGRR_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_cause
45 */
46 #define GPRS_NOT_SUPPORTED (0x0) /* Serving cell does not support GPRS */
47 #define GPRS_SUPPORTED (0x1) /* Serving cell supports GPRS */
48 #define GPRS_CELL_NOT_SUITABLE (0x2) /* for GRR-controlled cell reselection */
49
50 /*
51 * Value constants for VAL_si_to_read
52 */
53 #define UNSPECIFIED_SI (0x0) /* Update of unspecified SI message or SI messages */
54 #define UPDATE_SI1 (0x1) /* Update of SI1 message */
55 #define UPDATE_SI2_SI2BIS_OR_SI2TER (0x2) /* Update of SI2, SI2 bis or SI2 ter message */
56 #define UPDATE_SI3_SI4_SI7_OR_SI8 (0x3) /* Update of SI3, SI4, SI7 or SI8 message */
57 #define UPDATE_SI9 (0x4) /* Update of SI9 message */
58 #define COMPLETE_SI (0x5) /* Read complete SI */
59 #define UPDATE_SI13 (0xff) /* Update or read of SI13 */
60
61 /*
62 * Value constants for VAL_si1_state
63 */
64 #define SI1_NOT_SEND (0x0) /* SI not send */
65 #define SI1_RECEIVED (0x1) /* SI received */
66 #define SI1_NOT_RECEIVED (0x2) /* SI not received */
67
68 /*
69 * Value constants for VAL_si3_state
70 */
71 #define SI3_NOT_SEND (0x0) /* SI not send */
72 #define SI3_RECEIVED (0x1) /* SI received */
73 #define SI3_NOT_RECEIVED (0x2) /* SI not received */
74
75 /*
76 * Value constants for VAL_si13_state
77 */
78 #define SI13_NOT_SEND (0x0) /* SI not send */
79 #define SI13_RECEIVED (0x1) /* SI received */
80 #define SI13_NOT_RECEIVED (0x2) /* SI not received */
81
82 /*
83 * Value constants for VAL_pg_type
84 */
85 #define RRGRR_IMSI (0x0) /* MS is paged by IMSI */
86 #define RRGRR_PTMSI (0x1) /* MS is paged by PTMSI (GPRS TMSI) */
87
88 /*
89 * Value constants for VAL_rr_est
90 */
91 #define RR_EST_NOT_ALLOWED (0x0) /* RR establishment not allowed */
92 #define RR_EST_ALLOWED (0x1) /* RR establishment allowed */
93
94 /*
95 * Value constants for VAL_susp_req
96 */
97 #define SUSPENSION_REQ_NOT_NEEDED (0x0) /* RR need not send GPRS suspension request */
98 #define SUSPENSION_REQ_NEEDED (0x1) /* RR has to send GPRS suspension request */
99
100 /*
101 * Value constants for VAL_r_bit
102 */
103 #define CHAN_REQ_SENT_ONCE (0x0) /* MS has sent channel request only once */
104 #define CHAN_REQ_SENT_MORE (0x1) /* MS has sent channel request twice or more */
105
106 /*
107 * Value constants for VAL_old_ptmsi
108 */
109 #define RRGRR_PTMSI_INVALID (0xffffffff)/* P-TMSI or TMSI invalid (see GSM 3.03) */
110
111 /*
112 * Value constants for VAL_stop_cause
113 */
114 #define CONTENTION_RESOLUTION_FAIL (0x3) /* Establishment fails due to contention resolution */
115 #define DL_ESTABLISHMENT_FAIL (0x4) /* Layer 2 establishment failure */
116
117 /*
118 * Value constants for VAL_arfcn
119 */
120 #define RRGRR_INVALID_ARFCN (0xffff) /* Used to mark a channel number entry as invalid. */
121
122 /*
123 * Value constants for VAL_sb_flag
124 */
125 #define NO_SB_FOUND (0x0) /* synchronisation burst not found */
126 #define SB_FOUND (0x1) /* synchronisation burst found */
127 #define SB_UNKNOWN (0x2) /* status of synchronisation burst unknown */
128
129 /*
130 * Value constants for VAL_bsic
131 */
132 #define RRGRR_INVALID_BSIC (0xff) /* Used to identify a BSIC entry as invalid */
133
134 /*
135 * Value constants for VAL_cr_type
136 */
137 #define CR_NEW (0x0) /* RR has to reselect the given cell */
138 #define CR_COMPLETE (0x1) /* RR has to camp on this cell */
139 #define CR_CONT (0x2) /* Continue cell reselection. */
140 #define CR_CS (0x3) /* start cell selection process again */
141 #define CR_NEW_NOT_SYNCED (0x4) /* start cr for not syncd cell (ie. PCCO) */
142 #define CR_SUSPENDED_IDLE (0x7c) /* start idle procedures */
143 #define CR_REQ_CANDIDATE (0x7d) /* inform GRR that is has to start a CR */
144 #define CR_NORMAL (0x7e) /* Do not abort TBF */
145 #define CR_ABNORMAL (0x7f) /* Abort TBF */
146
147 /*
148 * Value constants for VAL_sync_res
149 */
150 #define SYNC_OK (0x0) /* Synchronisation OK */
151 #define SYNC_FAILED (0x1) /* Synchronisation failed */
152
153 /*
154 * Value constants for VAL_cell_type
155 */
156 #define SYNC_SCELL (0x0) /* Synchronisation to serving cell */
157 #define SYNC_NCELL (0x1) /* Synchronisation to neighbour cell */
158
159 /*
160 * Value constants for VAL_pag_mode
161 */
162 #define PAG_MODE_LAST_ONE (0x0) /* RR shall use the last page (before pag_Reorg) */
163 #define PAG_MODE_REORG (0x1) /* RR shall use Paging reorg mode */
164 #define PAG_MODE_PTM_NP (0x2) /* RR shall use the NORMAL paging in packet transfer mode, start only CCCH */
165 #define PAG_MODE_PIM_NP (0x3) /* RR shall start only CCCH with REORG and change to NORMAL paging */
166 #define PAG_MODE_DEFAULT (0xff) /* RR shall use the default paging mode and goes to idle mode */
167
168 /*
169 * Value constants for VAL_split_pg
170 */
171 #define RRGRR_NO_DRX (0x2c0) /* Non DRX mode */
172
173 /*
174 * Value constants for VAL_rac
175 */
176 #define RRGRR_RAC_INVALID (0xff) /* routing area code invalid */
177
178 /*
179 * Value constants for VAL_reconn_state
180 */
181 #define RECONN_OK (0x0) /* The reconnection to the 'old' channel was cuessful */
182 #define RECONN_LOW_FAIL (0x1) /* A Lower Layer Failure occured during the reconnection. */
183
184 /*
185 * Value constants for VAL_reconn_cause
186 */
187 #define RECONN_NORM_EVENT (0x0) /* Normal event */
188 #define RECONN_UNSPECIFIED (0x1) /* Abnormal release, unspecified */
189 #define RECONN_CHN_UNACCEPTABLE (0x2) /* Abnormal release, channel unacceptable */
190 #define RECONN_TIMER_EXPIRED (0x3) /* Abnormal release, timer expired */
191 #define RECONN_NO_ACTIVITY (0x4) /* Abnormal release, no activity on the radio path */
192 #define RECONN_PREEMPTIVE (0x5) /* Preemptive release */
193 #define RECONN_TA_OUT_OF_RANGE (0x8) /* Handover impossible, timing advance out of range */
194 #define RECONN_CHANNEL_MODE (0x9) /* Channel mode unacceptable */
195 #define RECONN_FREQ_NOT_IMPL (0xa) /* Frequency not implemented */
196 #define RECONN_CALL_CLEARED (0x41) /* Call already cleared */
197 #define RECONN_INCORRECT_SEMANTIC (0x5f) /* Semantically incorrect message */
198 #define RECONN_INVALID_INFO (0x60) /* Invalid mandatory information */
199 #define RECONN_UNKNWN_MSG_TYPE (0x61) /* Message type non-existent or not implemented */
200 #define RECONN_INCMPTBLE_MSG_TYPE (0x62) /* Message type not compatible with protocol state */
201 #define RECONN_COND_IE_ERROR (0x64) /* Conditional IE error */
202 #define RECONN_NO_CELL_ALLOC (0x65) /* No cell allocation available */
203 #define RECONN_PROT_UNSPECIFIED (0x6f) /* Protocol error unspecified */
204
205 /*
206 * Value constants for VAL_ident_type
207 */
208 #define ID_IMSI (0x1) /* Paged by IMSI */
209 #define ID_TMSI (0x4) /* Paged by TMSI */
210 #define ID_PTMSI (0x8) /* Paged by PTMSI */
211
212 /*
213 * Value constants for VAL_report_type
214 */
215 #define REP_TYPE_1 (0x0) /* synchronize to the 6 strongest carriers and provide their BSICs */
216 #define REP_TYPE_2 (0x1) /* synchronize to carriers in decreasing field strength until the BSICs for 6 carriers with allowed NCC are fully decoded */
217 #define REP_TYPE_3 (0x2) /* no synchronization, no BSICs are provided */
218 #define REP_TYPE_RES (0x3) /* reserved, ignore request for measurement data in this version */
219
220 /*
221 * Value constants for VAL_xmeas_cause
222 */
223 #define EXT_MEAS_OK (0x0) /* The results of the Extended Measurment procedure are valid. */
224 #define EXT_MEAS_RESET (0x1) /* GRR has stopped the Extended Measurement procedure */
225 #define EXT_MEAS_LEAVE_IDLE (0x2) /* RR has entered a non-idle state and stopped the Extended Measurement procedure */
226
227 /*
228 * Value constants for VAL_lac
229 */
230 #define VAL_LAC___DEF (0x0) /* lac */
231 #define RRGRR_LA_INVALID (0xfffe) /* la invalid */
232
233 /*
234 * Value constants for VAL_v_stop_ccch
235 */
236 #define DONT_STOP_CCCH (0x0) /* Don't stop CCCH */
237 #define STOP_CCCH (0x1) /* Stop CCCH */
238 #define INVALID_MSG (0x2) /* The message was not assigned to MS */
239 #define TASK_STOP_DUMMY_VALUE (0x3) /* Dummy value, only used for GRR internal purposes */
240
241 /*
242 * Value constants for VAL_rxlev
243 */
244 #define RRGRR_INVALID_RXLEV (0x80) /* receive signal strength level not present */
245
246 /*
247 * Value constants for VAL_idx
248 */
249 #define RRGRR_INVALID_IDX (0xff) /* index not present */
250
251 /*
252 * Value constants for VAL_state
253 */
254 #define TASK_STATE_PIM (0x0) /* Packet Idle Mode */
255 #define TASK_STATE_PAM (0x1) /* Packet Access Mode */
256 #define TASK_STATE_PTM (0x2) /* Packet Transfer Mode */
257
258 /*
259 * Value constants for VAL_cell_bar_access_2
260 */
261 #define CBA_2_NORMAL (0x0) /* Status for cell reselection is set to normal */
262 #define CBA_2_BARRED (0x1) /* Status for cell reselection is set to barred */
263
264 /*
265 * Value constants for VAL_exc_acc
266 */
267 #define EXC_ACC_NORMAL (0x0) /* Status for cell selection and reselection is set to normal */
268 #define EXC_ACC_LIMITED (0x1) /* The MS is only allowed to camp on the cell for limited service */
269
270 /*
271 * Value constants for VAL_same_ra_as_serving_cell
272 */
273 #define DIFFERENT_RA_AS_SCELL (0x0) /* The cell is in a routing area different from the serving cell */
274 #define SAME_RA_AS_SCELL (0x1) /* The cell is in the same routing area as the serving cell */
275
276 /*
277 * Value constants for VAL_gprs_reselect_offset
278 */
279 #define GPRS_RESEL_OFF_DEFAULT (0x10) /* Default value (0 dB) */
280 #define GPRS_RESEL_OFF_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
281
282 /*
283 * Value constants for VAL_gprs_rxlev_access_min
284 */
285 #define GPRS_RXLEV_ACCESS_MIN_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
286
287 /*
288 * Value constants for VAL_gprs_ms_txpwr_max_cch
289 */
290 #define GPRS_MS_TXPWR_MAX_CCH_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
291
292 /*
293 * Value constants for VAL_gprs_temporary_offset
294 */
295 #define GPRS_TEMPORARY_OFFSET_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
296
297 /*
298 * Value constants for VAL_gprs_penalty_time
299 */
300 #define GPRS_PENALTY_TIME_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
301
302 /*
303 * Value constants for VAL_priority_class
304 */
305 #define GPRS_PRIORITY_CLASS_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
306
307 /*
308 * Value constants for VAL_hcs_thr
309 */
310 #define GPRS_HCS_THR_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
311
312 /*
313 * Value constants for VAL_si13_location
314 */
315 #define SI13_LOC_BCCH_NORM (0x0) /* SYSTEM INFORMATION TYPE 13 message is sent on BCCH norm */
316 #define SI13_LOC_BCCH_EXT (0x1) /* SYSTEM INFORMATION TYPE 13 message is sent on BCCH ext */
317 #define SI13_LOC_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
318
319 /*
320 * Value constants for VAL_pbcch_location
321 */
322 #define PBCCH_LOC_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
323
324 /*
325 * Value constants for VAL_psi1_repeat_period
326 */
327 #define PSI1_RPT_PRD_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
328
329 /*
330 * Value constants for VAL_nc_mode
331 */
332 #define NC2_NOT_USED (0x0) /* allow cell reselection */
333 #define NC2_USED (0x1) /* inhibit cell reselection */
334 #define NC_MODE_RESET (0x2) /* NC is reset to default */
335
336 /*
337 * Value constants for VAL_meas_cause
338 */
339 #define NC_STOP_MEAS (0x0) /* Stop the meas report */
340 #define NC_START_MEAS (0x1) /* Start Averaging of measurements */
341 #define NC_REPORT_MEAS (0x2) /* get the meas report from RR */
342
343 /*
344 * Value constants for VAL_sync_type
345 */
346 #define SYNC_INITIAL (0x0) /* Sync request for new carrier */
347 #define SYNC_RECONFIRM (0x1) /* Reconfirm 10 sec Timer Expired */
348
349 /*
350 * enum to UnionController task
351 * CCDGEN:WriteEnum_Count==80
352 */
353 #ifndef __T_ctrl_task__
354 #define __T_ctrl_task__
355 typedef enum
356 {
357 RR_TASK_1 = 0x0,
358 LEAVE_PIM_PBCCH = 0x1,
359 LEAVE_PAM_PBCCH = 0x2,
360 LEAVE_PTM_PBCCH = 0x3
361 }T_ctrl_task;
362 #endif
363
364 /*
365 * user defined constants
366 */
367 #define RRGRR_MAX_ARFCN_NCELL_SYNC_REQ (0xc)
368 #define RRGRR_MAX_RSLT_NCELL_SYNC_IND (0x6)
369 #define RRGRR_MAX_ARFCN_EXT_MEAS (0x40)
370 #define RRGRR_BA_LIST_SIZE (0x20)
371 #define RRGRR_MEAS_REP_LIST_SIZE (0x7)
372 #define SIZE_MCC (0x3)
373 #define SIZE_MNC (0x3)
374
375 #include "CDG_LEAVE.h"
376
377
378 #endif