FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/cdginc-locosto/p_rr.val @ 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_rr.val | | |
5 | SOURCE : "sap\rr.pdf" | | |
6 | LastModified : "2003-02-04" | | |
7 | IdAndVersion : "6147.107.97.108" | | |
8 | SrcFileTime : "Tue Jun 3 11:14:30 2008" | | |
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_RR_VAL | |
24 #define P_RR_VAL | |
25 | |
26 | |
27 #define CDG_ENTER__P_RR_VAL | |
28 | |
29 #define CDG_ENTER__FILENAME _P_RR_VAL | |
30 #define CDG_ENTER__P_RR_VAL__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_RR_VAL__LAST_MODIFIED _2003_02_04 | |
32 #define CDG_ENTER__P_RR_VAL__ID_AND_VERSION _6147_107_97_108 | |
33 | |
34 #define CDG_ENTER__P_RR_VAL__SRC_FILE_TIME _Tue_Jun_3_11_14_30_2008 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_RR_VAL | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 /* | |
44 * Value constants for VAL_abcs | |
45 */ | |
46 #define ABCS_NORM (0x0) /* normal abort, MM->RR */ | |
47 #define ABCS_SIM_REM (0x1) /* SIM remove, MM->RR */ | |
48 | |
49 /* | |
50 * Value constants for VAL_accc | |
51 */ | |
52 | |
53 /* | |
54 * Value constants for VAL_v_kc | |
55 */ | |
56 #define V_KC_NOT_PRES (0x0) /* not present */ | |
57 #define V_KC_PRES (0x1) /* present */ | |
58 | |
59 /* | |
60 * Value constants for VAL_v_bcch | |
61 */ | |
62 #define V_BCCH_NOT_PRES (0x0) /* not present */ | |
63 #define V_BCCH_PRES (0x1) /* present */ | |
64 | |
65 /* | |
66 * Value constants for VAL_bcch | |
67 */ | |
68 #define BCCH_CH_NOT_INCL (0x0) /* channel is not included */ | |
69 #define BCCH_CH_INCL (0x1) /* channel is included */ | |
70 | |
71 /* | |
72 * Value constants for VAL_ch_mode | |
73 */ | |
74 #define CHM_SIG_ONLY (0x0) /* signalling only */ | |
75 #define CHM_SPEECH (0x1) /* speech full rate or half rate version 1 */ | |
76 #define CHM_SPEECH_V2 (0x21) /* speech full rate or half rate version 2 */ | |
77 #define CHM_SPEECH_V3 (0x41) /* speech full rate or half rate version 3 */ | |
78 #define CHM_DATA_9_6 (0x3) /* data 9.6 kBit/s */ | |
79 #define CHM_DATA_4_8 (0xb) /* data 4.8 kBit/s */ | |
80 #define CHM_DATA_2_4 (0x13) /* data 2.4 kBit/s */ | |
81 #define CHM_DATA_14_4 (0xf) /* data 2.4 kBit/s */ | |
82 | |
83 /* | |
84 * Value constants for VAL_ch_type | |
85 */ | |
86 #define CH_SDCCH (0x0) /* SDCCH channel */ | |
87 #define CH_TCH_F (0x1) /* TCH Fullrate */ | |
88 #define CH_TCH_H (0x2) /* TCH Halfrate */ | |
89 | |
90 /* | |
91 * Value constants for VAL_cksn | |
92 */ | |
93 #define CKSN_RES (0x7) /* reserved */ | |
94 #define CKSN_NOT_PRES (0xff) /* not present */ | |
95 | |
96 /* | |
97 * Value constants for VAL_ciph | |
98 */ | |
99 #define CIPH_OFF (0x0) /* ciphering off */ | |
100 #define CIPH_ON (0x1) /* ciphering on */ | |
101 #define CIPH_NOT_PRES (0xff) /* not present */ | |
102 | |
103 /* | |
104 * Value constants for VAL_estcs | |
105 */ | |
106 #define ESTCS_SERV_REQ_BY_MM (0x400) /* service requested by MM (Location updating or detach) */ | |
107 #define ESTCS_EMRG_CAL (0x4a0) /* emergency call */ | |
108 #define ESTCS_CAL_REEST (0x4c0) /* call reestablishment */ | |
109 #define ESTCS_MOB_ORIG_SPCH_CAL_BY_CC (0x4e0) /* mobile originated speech call by CC */ | |
110 #define ESTCS_MOB_ORIG_DATA_CAL_BY_CC (0x4e1) /* mobile originated data call by CC */ | |
111 #define ESTCS_MOB_ORIG_DATA_CAL_BY_CC_HR_SUFF (0x4e2)/* mobile originated data call by CC, halfrate sufficient */ | |
112 #define ESTCS_MOB_ORIG_CAL_BY_SS_SMS (0x4f0) /* mobile originated call by SS or SMS */ | |
113 | |
114 /* | |
115 * Value constants for VAL_thplmn | |
116 */ | |
117 #define THPLMN_NO_HPLMN_SRCH (0x0) /* no HPLMN search */ | |
118 | |
119 /* | |
120 * Value constants for VAL_att | |
121 */ | |
122 #define ATT_NOT_ALLOW (0x0) /* attach / detach not allowed */ | |
123 #define ATT_ALLOW (0x1) /* attach / detach allowed */ | |
124 | |
125 /* | |
126 * Value constants for VAL_band | |
127 */ | |
128 #define BND_DMY_VAL (0xff) /* dummy value needed by TAP */ | |
129 | |
130 /* | |
131 * Value constants for VAL_valid | |
132 */ | |
133 #define MM_INFO_NOT_PRES (0x0) /* information is not present */ | |
134 #define MM_INFO_PRES (0x1) /* information is present */ | |
135 | |
136 /* | |
137 * Value constants for VAL_re | |
138 */ | |
139 #define RE_ALLOW (0x0) /* re-establishment is allowed */ | |
140 #define RE_NOT_ALLOW (0x1) /* re-establishment is not allowed */ | |
141 | |
142 /* | |
143 * Value constants for VAL_t3212 | |
144 */ | |
145 #define T3212_NO_PRD_UPDAT (0x0) /* no periodic updating */ | |
146 | |
147 /* | |
148 * Value constants for VAL_la | |
149 */ | |
150 #define LA_NOT_IN_FRBD_LST_INCL (0x0) /* not in forbidden list included */ | |
151 #define LA_IN_FRBD_LST_INCL (0x1) /* in forbidden list included */ | |
152 | |
153 /* | |
154 * Value constants for VAL_v_mid | |
155 */ | |
156 #define V_MID_NOT_PRES (0x0) /* not present */ | |
157 #define V_MID_PRES (0x1) /* present */ | |
158 | |
159 /* | |
160 * Value constants for VAL_id_type | |
161 */ | |
162 #define TYPE_NO_ID (0x0) /* no identity */ | |
163 #define TYPE_IMSI (0x1) /* IMSI */ | |
164 #define TYPE_TMSI (0x4) /* TMSI */ | |
165 | |
166 /* | |
167 * Value constants for VAL_m | |
168 */ | |
169 #define M_AUTO (0x0) /* automatic mode */ | |
170 #define M_MAN (0x1) /* manual mode */ | |
171 | |
172 /* | |
173 * Value constants for VAL_service | |
174 */ | |
175 #define NO_SERVICE (0x0) /* no service available */ | |
176 #define LIMITED_SERVICE (0x1) /* Limited service available */ | |
177 #define FULL_SERVICE (0x2) /* Full service available */ | |
178 | |
179 /* | |
180 * Value constants for VAL_v_op | |
181 */ | |
182 #define V_OP_NOT_PRES (0x0) /* not present */ | |
183 #define V_OP_PRES (0x1) /* present */ | |
184 | |
185 /* | |
186 * Value constants for VAL_func | |
187 */ | |
188 #define FUNC_LIM_SERV_ST_SRCH (0x0) /* limited service state search */ | |
189 #define FUNC_PLMN_SRCH (0x1) /* PLMN search */ | |
190 #define FUNC_NET_SRCH_BY_MMI (0x2) /* Net search by MMI */ | |
191 #define FUNC_ST_PWR_SCAN (0x3) /* Initiate power scan */ | |
192 | |
193 /* | |
194 * Value constants for VAL_ts | |
195 */ | |
196 #define TS_NO_AVAIL (0x0) /* no test SIM card available */ | |
197 #define TS_AVAIL (0x1) /* test SIM card available */ | |
198 | |
199 /* | |
200 * Value constants for VAL_sim_ins | |
201 */ | |
202 #define SIM_NO_INSRT (0x0) /* no SIM inserted */ | |
203 #define SIM_INSRT (0x1) /* SIM inserted */ | |
204 | |
205 /* | |
206 * Value constants for VAL_plmn_avail | |
207 */ | |
208 | |
209 /* | |
210 * Value constants for VAL_v_plmn | |
211 */ | |
212 #define V_PLMN_NOT_PRES (0x0) /* not present */ | |
213 #define V_PLMN_PRES (0x1) /* present */ | |
214 | |
215 /* | |
216 * Value constants for VAL_cause | |
217 */ | |
218 #define RRCS_NORM (0x300) /* Normal event */ | |
219 #define RRCS_ABNORM_UNSPEC (0x301) /* Abnormal release, unspecified */ | |
220 #define RRCS_ABNORM_CH_UNACC (0x302) /* Abnormal release, channel unacceptable */ | |
221 #define RRCS_ABNORM_TIM_EXP (0x303) /* Abnormal release, timer expired */ | |
222 #define RRCS_ABNORM_NO_ACTIVE (0x304) /* Abnormal release, no activity on the radio path */ | |
223 #define RRCS_PREEM (0x305) /* Preemptive release */ | |
224 #define RRCS_TIME_ADVANCE (0x308) /* Handover impossible, timing advance out of range */ | |
225 #define RRCS_CHANNEL_MODE (0x309) /* Channel mode unacceptable */ | |
226 #define RRCS_FREQ_NOT_IMPL (0x30a) /* Frequency not implemented */ | |
227 #define RRCS_CAL_ALRED_CLR (0x341) /* Call already cleared */ | |
228 #define RRCS_INCORRECT_MSG (0x35f) /* Semantically incorrect message */ | |
229 #define RRCS_INVALID_MANDATORY (0x360) /* Invalid mandatory information */ | |
230 #define RRCS_MSG_TYPE_NOT_IMPLEM (0x361) /* Message type non-existent or not implemented */ | |
231 #define RRCS_MES_INCOMPAT (0x362) /* Message type not compatible with protocol state */ | |
232 #define RRCS_INVALID_IE (0x364) /* Conditional IE error */ | |
233 #define RRCS_NO_CELL_ALLOCATION (0x365) /* No cell allocation available */ | |
234 #define RRCS_PROT_ERR_UNSPEC (0x36f) /* Protocol error, unspecified */ | |
235 #define RRCS_ABORT_CEL_SEL_FAIL (0xc310) /* Cell selection failed (RR_ABORT_IND) */ | |
236 #define RRCS_ABORT_RAD_LNK_FAIL (0xc311) /* Radio link failure (RR_ABORT_IND) */ | |
237 #define RRCS_DATA_LINK_FAIL (0xc312) /* Data link failure (RR_ABORT_IND / RR_RELEASE_IND) */ | |
238 #define RRCS_ACCESS_BARRED (0x8320) /* Access barred because of access class control */ | |
239 #define RRCS_RND_ACC_DELAY (0x8321) /* Random access is delayed (immediate assignment reject) */ | |
240 #define RRCS_RND_ACC_FAIL (0xc322) /* Random access failed */ | |
241 #define RRCS_DL_EST_FAIL (0xc323) /* DL establishment failure */ | |
242 #define RRCS_MO_MT_COLL (0xc324) /* Collision MO with MT; MT has higher priority than MO */ | |
243 #define RRCS_MM_ABORTED (0xc325) /* MM aborted the connection */ | |
244 #define RRCS_QUEUE_FULL (0xc326) /* Internal RR primitive queue full */ | |
245 #define RRCS_T3122_RUNNING (0xc327) /* T3122 is still running, emergency calls only until expiry */ | |
246 #define RRCS_INVALID_HOP_FREQ (0xc328) /* Frequency hopping in more than one frequency band */ | |
247 #define RRCS_INT_NOT_PRESENT (0xc3ff) /* Internal release, release cause not present */ | |
248 #define RRCS_ABORT_PTM (0xc400) /* RR is in GPRS_PTM_BCCH, GPRS_PTM_PBCCH, GPRS_PAM_BCCH, GPRS_PAM_PBCCH states cannot handle RR_ACTIVATE__REQ */ | |
249 | |
250 /* | |
251 * Value constants for VAL_sapi | |
252 */ | |
253 #define SAPI_0 (0x0) /* SAPI 0 */ | |
254 #define SAPI_3 (0x3) /* SAPI 3 */ | |
255 | |
256 /* | |
257 * Value constants for VAL_synccs | |
258 */ | |
259 #define SYNCCS_ACC_CLS_CHA (0x8300) /* access class changed */ | |
260 #define SYNCCS_T3122_TIM_OUT (0x8301) /* T3122 time-out */ | |
261 #define SYNCCS_TMSI_CKSN_KC_INVAL (0x8411) /* TMSI, CKSN, Kc invalid */ | |
262 #define SYNCCS_TMSI_INVAL (0x8412) /* TMSI invalid */ | |
263 #define SYNCCS_TMSI_CKSN_KC_INVAL_NO_PAG (0x8413) /* TMSI, CKSN, Kc invalid, no paging */ | |
264 #define SYNCCS_LAI_NOT_ALLOW (0x8414) /* LAI not allowed */ | |
265 #define SYNCCS_LAI_ALLOW (0x8415) /* LAI allowed */ | |
266 #define SYNCCS_LUP_RETRY (0x8416) /* Lup retry permission */ | |
267 #define SYNCCS_LIMITED_SERVICE (0x8417) /* RR is informed about limited service */ | |
268 #define SYNCCS_BACK_FROM_DEDICATED (0x8418) /* RR has selected old cell after conn */ | |
269 #define SYNCCS_SYS_INFO_CHANGE (0x8419) /* RR has detected a sysinfo change */ | |
270 #define SYNCCS_ACCC (0x841a) /* access class changed */ | |
271 #define SYNCCS_IDLE_SELECTION (0x841b) /* RR has selected the old cell */ | |
272 #define SYNCCS_LAI_NOT_ALLOW_FOR_ROAMING (0x841c) /* LAI not allowed for roaming */ | |
273 #define SYNCCS_EPLMN_LIST (0x841d) /* Changed EPLMN list available */ | |
274 | |
275 /* | |
276 * Value constants for VAL_cell_test | |
277 */ | |
278 #define CELL_TEST_DISABLE (0x0) /* cell test operation disable */ | |
279 #define CELL_TEST_ENABLE (0x1) /* cell test operation enable */ | |
280 | |
281 /* | |
282 * Value constants for VAL_gprs_indication | |
283 */ | |
284 #define GPRS_NO (0x0) /* no GPRS mode */ | |
285 #define GPRS_YES (0x1) /* GPRS mode */ | |
286 | |
287 /* | |
288 * Value constants for VAL_gprs_resumption | |
289 */ | |
290 #define GPRS_RESUMPTION_NOT_ACK (0x0) /* GPRS resumption not successfull */ | |
291 #define GPRS_RESUMPTION_ACK (0x1) /* GPRS resumption successfull */ | |
292 | |
293 /* | |
294 * Value constants for VAL_check_hplmn | |
295 */ | |
296 #define CHECK_PLMN_NOT_PRES (0x0) /* not present */ | |
297 #define CHECK_PLMN_PRES (0x1) /* present */ | |
298 | |
299 /* | |
300 * user defined constants | |
301 */ | |
302 #define MAX_SDU_LEN (0x1) | |
303 #define MAX_PLMN (0xc) | |
304 #define MAX_DIGITS (0x10) | |
305 #define SIZE_MCC (0x3) | |
306 #define SIZE_MNC (0x3) | |
307 #define RR_ORIGINATING_ENTITY (0x3) | |
308 #define SIZE_EPLMN (0x12) | |
309 #define BA_BITMAP_SIZE (0x10) | |
310 #define KC_STRING_SIZE (0x10) | |
311 | |
312 #include "CDG_LEAVE.h" | |
313 | |
314 | |
315 #endif |