comparison cdg3/cdginc-locosto/p_rrgrr.val @ 16:c15047b3d00d

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