comparison cdg-hybrid/cdginc/p_em.val @ 14:35f7a1dc9f7d

cdg-hybrid: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 07:15:38 +0000
parents
children
comparison
equal deleted inserted replaced
13:83146a4ae927 14:35f7a1dc9f7d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_em.val |
5 | SOURCE : "sap\em.pdf" |
6 | LastModified : "2002-02-25" |
7 | IdAndVersion : "8304.129.96.103" |
8 | SrcFileTime : "Thu Nov 29 09:40:50 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
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_EM_VAL
24 #define P_EM_VAL
25
26
27 #define CDG_ENTER__P_EM_VAL
28
29 #define CDG_ENTER__FILENAME _P_EM_VAL
30 #define CDG_ENTER__P_EM_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_EM_VAL__LAST_MODIFIED _2002_02_25
32 #define CDG_ENTER__P_EM_VAL__ID_AND_VERSION _8304_129_96_103
33
34 #define CDG_ENTER__P_EM_VAL__SRC_FILE_TIME _Thu_Nov_29_09_40_50_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_EM_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_arfcn
45 */
46 #define VAL_ARFCN___FFFF (0xffff) /* not present */
47
48 /*
49 * Value constants for VAL_tn
50 */
51
52 /*
53 * Value constants for VAL_txlev
54 */
55
56 /*
57 * Value constants for VAL_rxlev
58 */
59
60 /*
61 * Value constants for VAL_rxqual_f
62 */
63
64 /*
65 * Value constants for VAL_bsic
66 */
67 #define VAL_BSIC___FF (0xff) /* not present */
68
69 /*
70 * Value constants for VAL_t3212
71 */
72
73 /*
74 * Value constants for VAL_v_start
75 */
76 #define VAL_V_START___0 (0x0) /* no starting time */
77 #define VAL_V_START___1 (0x1) /* with starting time */
78
79 /*
80 * Value constants for VAL_dtx_stat
81 */
82 #define VAL_DTX_STAT___0 (0x0) /* without dtx */
83 #define VAL_DTX_STAT___1 (0x1) /* with dtx */
84
85 /*
86 * Value constants for VAL_bs_pa_mfrms
87 */
88 #define VAL_BS_PA_MFRMS___0 (0x0) /* 2 Multiframe Periods */
89 #define VAL_BS_PA_MFRMS___1 (0x1) /* 3 Multiframe Periods */
90 #define VAL_BS_PA_MFRMS___2 (0x2) /* 4 Multiframe Periods */
91 #define VAL_BS_PA_MFRMS___3 (0x3) /* 5 Multiframe Periods */
92 #define VAL_BS_PA_MFRMS___4 (0x4) /* 6 Multiframe Periods */
93 #define VAL_BS_PA_MFRMS___5 (0x5) /* 7 Multiframe Periods */
94 #define VAL_BS_PA_MFRMS___6 (0x6) /* 8 Multiframe Periods */
95 #define VAL_BS_PA_MFRMS___7 (0x7) /* 9 Multiframe Periods */
96
97 /*
98 * Value constants for VAL_entity
99 */
100 #define EM_L1 (0x1) /* L1 */
101 #define EM_DL (0x2) /* DL */
102 #define EM_RR (0x3) /* RR */
103 #define EM_MM (0x4) /* MM */
104 #define EM_CC (0x5) /* CC */
105 #define EM_SS (0x6) /* SS */
106 #define EM_SMS (0x7) /* SMS */
107 #define EM_SIM (0x8) /* SIM */
108 #define EM_GRR (0x9) /* GRR */
109 #define EM_GMM (0xa) /* GMM */
110 #define EM_GRLC (0xb) /* GRLC */
111
112 /*
113 * Value constants for VAL_pco_bitmap
114 */
115 #define EM_PCO_SC_INFO (0x1) /* request RR SC information */
116 #define EM_PCO_GPRS_INFO (0x2) /* request GPRS SC information */
117 #define EM_PCO_NC_INFO (0x4) /* request RR NC information */
118 #define EM_PCO_LOC_PAG_INFO (0x8) /* request RR Location and Paging information */
119 #define EM_PCO_PLMN_INFO (0x10) /* request RR PLMN information */
120 #define EM_PCO_CIPH_HOP_DTX_INFO (0x20) /* request RR Ciphering Hopping and DTX information */
121 #define EM_PCO_POWER_INFO (0x40) /* request RR Power (Classmark) information */
122 #define EM_PCO_IDENTITY_INFO (0x80) /* request RR Identity information */
123 #define EM_PCO_SW_VERSION_INFO (0x100) /* request SW Version information */
124 #define EM_PCO_GMM_INFO (0x200) /* request GMM information */
125 #define EM_PCO_GRLC_INFO (0x400) /* request GRLC information */
126 #define EM_PCO_AMR_INFO (0x800) /* request AMR information */
127 #define EM_PCO_PDP_INFO (0x1000) /* request PDP information */
128
129 /*
130 * Value constants for VAL_hyst
131 */
132 #define CELL_HYST_0_DB (0x0) /* 0 dB RXLEV hysteresis for LA re-selection */
133 #define CELL_HYST_2_DB (0x1) /* 2 dB RXLEV hysteresis for LA re-selection */
134 #define CELL_HYST_4_DB (0x2) /* 4 dB RXLEV hysteresis for LA re-selection */
135 #define CELL_HYST_6_DB (0x3) /* 6 dB RXLEV hysteresis for LA re-selection */
136 #define CELL_HYST_8_DB (0x4) /* 8 dB RXLEV hysteresis for LA re-selection */
137 #define CELL_HYST_10_DB (0x5) /* 10 dB RXLEV hysteresis for LA re-selection */
138 #define CELL_HYST_12_DB (0x6) /* 12 dB RXLEV hysteresis for LA re-selection */
139 #define CELL_HYST_14_DB (0x7) /* 14 dB RXLEV hysteresis for LA re-selection */
140
141 /*
142 * Value constants for VAL_gprs_prio_class
143 */
144 #define GPRS_PRIORITY_CLASS_INVALID (0xff) /* This value is used to indicate the absence of this parameter */
145
146 /*
147 * Value constants for VAL_tbf_trans_type
148 */
149 #define EM_TBF_TYPE_NULL (0x0) /* No GPRS data transfer */
150 #define EM_TBF_TYPE_SB (0x1)
151 #define EM_TBF_TYPE_FA (0x2) /* Fixed Allocation */
152 #define EM_TBF_TYPE_DA (0x3) /* Dynamic Allocation */
153 #define EM_TBF_TYPE_DL (0x4) /* DL */
154 #define EM_TBF_TYPE_DL_AND_DA (0x5) /* DL + Dynamic Allocation */
155 #define EM_TBF_TYPE_DL_AND_FA (0x6) /* DL + Fixed Allocation */
156
157 /*
158 * Value constants for VAL_nco
159 */
160 #define FMM_NC0 (0x0) /* NC0 */
161 #define FMM_NC1 (0x1) /* NC1 */
162 #define FMM_NC2 (0x2) /* NC2, network controlled */
163 #define FMM_RESET (0x3) /* BCCH based reselection order */
164 #define FMM_EMPTY (0x4) /* undefined */
165
166 /*
167 * Value constants for VAL_grlc_state
168 */
169 #define ACCESS_DISABLED (0x0) /* access disabled */
170 #define PIM (0x1) /* Packet idle mode */
171 #define PAM (0x2) /* Packet access mode */
172 #define PTM (0x3) /* Packet transfer mode */
173 #define WAIT_4_PIM (0x4) /* wait for PIM */
174
175 /*
176 * Value constants for VAL_cs
177 */
178 #define CS_MODE_1 (0x0) /* Values Item */
179 #define CS_MODE_2 (0x1) /* Values Item */
180 #define CS_MODE_3 (0x2) /* Values Item */
181 #define CS_MODE_4 (0x3) /* Values Item */
182
183 /*
184 * Value constants for VAL_cell_type_ind
185 */
186 #define EM_CELL_NA (0x0) /* Cell type is not available */
187 #define EM_CELL_GSM (0x1) /* Cell supports GSM only */
188 #define EM_CELL_GPRS (0x2) /* Cell supports GSM and GPRS */
189
190 /*
191 * Value constants for VAL_cell_resel_offset
192 */
193
194 /*
195 * Value constants for VAL_temp_offset
196 */
197
198 /*
199 * Value constants for VAL_rxlev_acc_min
200 */
201
202 /*
203 * Value constants for VAL_vocoder
204 */
205 #define EM_VOC_SIG (0x0) /* Signalling only */
206 #define EM_VOC_SPEECH (0x1) /* Speech */
207 #define EM_VOC_EFR (0x21) /* Enhanced full rate */
208 #define EM_VOC_AMR (0x41) /* Adaptive multi rate */
209 #define EM_VOC_14_4 (0xf) /* User data rate of 14.4 kbps */
210 #define EM_VOC_9_6 (0x3) /* User data rate of 9.6kbps/12kbps radio interface rate */
211 #define EM_VOC_4_8 (0xb) /* User data rate of 4.8kbps/6kbps radio interface rate */
212 #define EM_VOC_2_4 (0x13) /* User data rate of 2.4kbps/3.6 radio interface rate */
213 #define EM_VOC_NA (0xff) /* Not applicable in this state */
214
215 /*
216 * Value constants for VAL_t3312_state
217 */
218 #define EM_T3312_ACTIVE (0x0) /* Periodic RAU timer is active */
219 #define EM_T3312_DEACTIVE (0x1) /* Periodic RAU timer is de active */
220
221 /*
222 * Value constants for VAL_amr_voc
223 */
224 #define EM_AFS (0x1) /* AMR full rate speech */
225 #define EM_AH0 (0x2) /* AMR half speech on sub channel 0 */
226 #define EM_AH1 (0x3) /* AMR half rate speech on sub channel 1 */
227
228 /*
229 * Value constants for VAL_amr_icmi
230 */
231 #define EM_AMR_ICMI_IMP (0x0) /* The initial codec mode is defined by the implicit rule provided in 3GPP TS 05.09 */
232 #define EM_AMR_ICMI_SMF (0x1) /* The initial codec mode is defined by the Start Mode field */
233
234 /*
235 * Value constants for VAL_amr_first_cod
236 */
237 #define EM_AMR_MODE_4_75 (0x0) /* 4.75 kbps codec bit rate */
238 #define EM_AMR_MODE_5_15 (0x1) /* 5.15 kbps codec bit rate */
239 #define EM_AMR_MODE_5_9 (0x2) /* 5.9 kbps codec bit rate */
240 #define EM_AMR_MODE_6_7 (0x3) /* 6.7 kbps codec bit rate */
241 #define EM_AMR_MODE_7_4 (0x4) /* 7.4 kbps codec bit rate */
242 #define EM_AMR_MODE_7_95 (0x5) /* 7.95 kbps codec bit rate */
243 #define EM_AMR_MODE_10_2 (0x6) /* 10.2 kbps codec bit rate */
244 #define EM_AMR_MODE_12_2 (0x7) /* 12.2 kbps codec bit rate */
245
246 /*
247 * Value constants for VAL_hop
248 */
249 #define EM_HOP_NO (0x0) /* Hopping is not present */
250 #define EM_HOP (0x1) /* Hopping used */
251
252 // VALTAB-FF: REL99
253 //
254 // Value constants for VAL_sgsnr
255 //
256 // VAL-FF: REL99
257 // #define EM_SGSNR_L98 (0x0) /* SGSN is R-98 or older */
258 // VAL-FF: REL99
259 // #define EM_SGSNR_G99 (0x1) /* SGSN is R-99 or later. */
260
261 // VALTAB-FF: REL99
262 //
263 // Value constants for VAL_mscr
264 //
265 // VAL-FF: REL99
266 // #define EM_MSCR_L98 (0x0) /* MSC release is 98 or older. */
267 // VAL-FF: REL99
268 // #define EM_MSCR_G99 (0x1) /* MSC release is 99 or later. */
269
270 // VALTAB-FF: REL99
271 //
272 // Value constants for VAL_net_rel
273 //
274 // VAL-FF: REL99
275 // #define EM_BSS_L98 (0x0) /* BSS release version is 98 or older. */
276 // VAL-FF: REL99
277 // #define EM_BSS_99 (0x1) /* BSS release version is 99 */
278 // VAL-FF: REL99
279 // #define EM_BSS_R4 (0x2) /* BSS release verison is R4 */
280 // VAL-FF: REL99
281 // #define EM_BSS_NOT_SET (0xff) /* BSS release is not set. */
282
283 // VALTAB-FF: REL99
284 //
285 // Value constants for Val_band_ind
286 //
287 // #define EM_BAND_1800 (0x0) /* ARFCN belongs to 1800 band */
288 // #define EM_BAND_1900 (0x1) /* ARFCN belongs to 1900 band */
289 // #define EM_BAND_NOT_SET (0x2) /* Band Indicator Value is not set by serving cell */
290
291 /*
292 * user defined constants
293 */
294 #define MAX_SDU_LEN (0x1)
295 #define MAX_PDP_CTXT (0x2)
296
297 #include "CDG_LEAVE.h"
298
299
300 #endif