annotate cdg-hybrid/cdginc/p_rr.val @ 216:2be687f4476c default tip

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