FreeCalypso > hg > fc-magnetite
comparison cdg-hybrid/cdginc/p_cgrlc.val @ 212:e7a67accfad9
cdg-hybrid cdginc headers created
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 Oct 2016 21:52:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
211:02269c474131 | 212:e7a67accfad9 |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_cgrlc.val | | |
5 | SOURCE : "sap\cgrlc.pdf" | | |
6 | LastModified : "2004-05-17" | | |
7 | IdAndVersion : "8010.119.008.04" | | |
8 | SrcFileTime : "Thu Nov 29 09:38:02 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 : CGRLC | |
16 * COMPATIBILITY_DEFINES : NO | |
17 * ALWAYS_ENUM_IN_VAL_FILE: NO | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: NO | |
20 */ | |
21 | |
22 | |
23 #ifndef P_CGRLC_VAL | |
24 #define P_CGRLC_VAL | |
25 | |
26 | |
27 #define CDG_ENTER__P_CGRLC_VAL | |
28 | |
29 #define CDG_ENTER__FILENAME _P_CGRLC_VAL | |
30 #define CDG_ENTER__P_CGRLC_VAL__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_CGRLC_VAL__LAST_MODIFIED _2004_05_17 | |
32 #define CDG_ENTER__P_CGRLC_VAL__ID_AND_VERSION _8010_119_008_04 | |
33 | |
34 #define CDG_ENTER__P_CGRLC_VAL__SRC_FILE_TIME _Thu_Nov_29_09_38_02_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_CGRLC_VAL | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 /* | |
44 * Value constants for VAL_access_type | |
45 */ | |
46 #define CGRLC_AT_NULL (0x0) /* No access is required */ | |
47 #define CGRLC_AT_ONE_PHASE (0x1) /* One phase access requested. */ | |
48 #define CGRLC_AT_TWO_PHASE (0x2) /* Two phase access requested. */ | |
49 #define CGRLC_AT_SHORT_ACCESS (0x3) /* Short access requested. */ | |
50 #define CGRLC_AT_PAGE_RESPONSE (0x4) /* Page response requested. */ | |
51 #define CGRLC_AT_CELL_UPDATE (0x5) /* Access for cell update primitive requested. */ | |
52 #define CGRLC_AT_MM_PROCEDURE (0x6) /* Access for MM/GMM primitive requested. */ | |
53 #define CGRLC_AT_SINGLE_BLOCK (0x7) /* Only used in GRR: access for single block without TBF */ | |
54 | |
55 /* | |
56 * Value constants for VAL_dl_timeslot_offset | |
57 */ | |
58 #define CGRLC_TEST_TN0 (0x0) /* Downlink timeslot offset 0. */ | |
59 #define CGRLC_TEST_TN1 (0x1) /* Downlink timeslot offset 1. */ | |
60 #define CGRLC_TEST_TN2 (0x2) /* Downlink timeslot offset 2. */ | |
61 #define CGRLC_TEST_TN3 (0x3) /* Downlink timeslot offset 3. */ | |
62 #define CGRLC_TEST_TN4 (0x4) /* Downlink timeslot offset 4. */ | |
63 #define CGRLC_TEST_TN5 (0x5) /* Downlink timeslot offset 5. */ | |
64 #define CGRLC_TEST_TN6 (0x6) /* Downlink timeslot offset 6. */ | |
65 #define CGRLC_TEST_TN7 (0x7) /* Downlink timeslot offset 7. */ | |
66 | |
67 /* | |
68 * Value constants for VAL_failure | |
69 */ | |
70 #define CGRLC_ACCESS_2_NETWORK_NOT_ALLOWED (0x0) /* Access to the network is not allowed. */ | |
71 #define CGRLC_PACKET_ACCESS_FAILURE (0x1) /* Failure during packet access procedure, e.g. T3162 expired. */ | |
72 #define CGRLC_RLC_MAC_ERROR (0x2) /* T3168 expires during contention resolution. */ | |
73 #define CGRLC_TLLI_MISMATCH (0x3) /* TLLI mismatch has occurred. */ | |
74 #define CGRLC_TBF_ESTABLISHMENT_FAILURE (0x4) /* T3164 expires or failure occurs due to any other reason. */ | |
75 #define CGRLC_RESUMPTION_FAILURE (0x5) /* Resumption failure after dedicated mode was left. */ | |
76 #define CGRLC_CONTENTION_RESOLUTION_FAILED (0x6) /* Contention Resolution has failed. */ | |
77 | |
78 /* | |
79 * Value constants for VAL_prim_status | |
80 */ | |
81 #define CGRLC_PRIM_STATUS_NULL (0x0) /* No primitives shall be deleted. */ | |
82 #define CGRLC_PRIM_STATUS_ONE (0x1) /* One primitive shall be deleted. */ | |
83 #define CGRLC_PRIM_STATUS_TBF (0x2) /* All primitives, which belongs to the current TBF, shall be deleted. */ | |
84 #define CGRLC_PRIM_STATUS_ALL (0xff) /* All primitives shall be deleted. */ | |
85 | |
86 /* | |
87 * Value constants for VAL_prim_type | |
88 */ | |
89 #define CGRLC_PRIM_TYPE_GMM (0x0) /* At least one GMM primitive was confirmed. */ | |
90 #define CGRLC_PRIM_TYPE_OTHER (0x1) /* No GMM primitive was confirmed. Other User data was confirmed. */ | |
91 | |
92 /* | |
93 * Value constants for VAL_tbf_rel_cause | |
94 */ | |
95 #define CGRLC_TBF_REL_NORMAL (0x0) /* Normal TBF release is or shall be performed. */ | |
96 #define CGRLC_TBF_REL_ABNORMAL (0x1) /* Abnormal TBF release is or shall be performed. */ | |
97 #define CGRLC_TBF_REL_CR_FAILED (0x2) /* Contention resolution failed */ | |
98 #define CGRLC_TBF_REL_WITH_CELL_RESELECT (0x3) /* TBF release with cell reselection */ | |
99 | |
100 /* | |
101 * Value constants for VAL_starting_time | |
102 */ | |
103 #define CGRLC_STARTING_TIME_NOT_PRESENT (0xffffffff)/* No TBF starting time present. */ | |
104 | |
105 /* | |
106 * Value constants for VAL_test_mode_flag | |
107 */ | |
108 #define CGRLC_TEST_RANDOM (0x0) /* Pseudo random data. */ | |
109 #define CGRLC_LOOP (0x1) /* Loop back. */ | |
110 #define CGRLC_TEST_MODE_RELEASE (0xfe) /* used in GRLC, intermediate status during release procedure */ | |
111 #define CGRLC_NO_TEST_MODE (0xff) /* No testmode active */ | |
112 | |
113 /* | |
114 * Value constants for VAL_ti | |
115 */ | |
116 #define CGRLC_TLLI_NOT_PRESENT (0x0) /* TLLI shall not be sent in the RLC data block. */ | |
117 #define CGRLC_TLLI_PRESENT (0x1) /* TLLI shall be sent in the RLC data block. */ | |
118 | |
119 /* | |
120 * Value constants for VAL_cs_mode | |
121 */ | |
122 #define CGRLC_CS_MODE_1 (0x0) /* Coding scheme 1. */ | |
123 #define CGRLC_CS_MODE_2 (0x1) /* Coding scheme 2. */ | |
124 #define CGRLC_CS_MODE_3 (0x2) /* Coding scheme 3. */ | |
125 #define CGRLC_CS_MODE_4 (0x3) /* Coding scheme 4. */ | |
126 | |
127 /* | |
128 * Value constants for VAL_tlli_cs_mode | |
129 */ | |
130 #define CGRLC_TLLI_CS_MODE_1 (0x0) /* CS 1 shall be used during Contention resolution. */ | |
131 #define CGRLC_TLLI_CS_MODE_DEF (0x1) /* Default coding scheme shall be used during Contention resolution. */ | |
132 | |
133 /* | |
134 * Value constants for VAL_mac_mode | |
135 */ | |
136 #define CGRLC_MAC_MODE_DA (0x0) /* Dynamic allocation. */ | |
137 #define CGRLC_MAC_MODE_EDA (0x1) /* Extended dynamic allocation. */ | |
138 #define CGRLC_MAC_MODE_FA (0x2) /* Fixed allocation. */ | |
139 #define CGRLC_MAC_MODE_FA_HD (0x3) /* Fixed allocation, half duplex mode. */ | |
140 | |
141 /* | |
142 * Value constants for VAL_queue_mode | |
143 */ | |
144 #define CGRLC_QUEUE_MODE_DEFAULT (0x0) /* Use current queue. */ | |
145 #define CGRLC_QUEUE_MODE_GMM (0x1) /* Use GMM queue (RAU procedure). */ | |
146 #define CGRLC_QUEUE_MODE_LLC (0x2) /* Use LLC queue. */ | |
147 | |
148 /* | |
149 * Value constants for VAL_rlc_mode | |
150 */ | |
151 #define CGRLC_RLC_MODE_ACK (0x0) /* RLC acknowledged mode. */ | |
152 #define CGRLC_RLC_MODE_UACK (0x1) /* RLC unacknowledged mode. */ | |
153 | |
154 /* | |
155 * Value constants for VAL_tbf_mode | |
156 */ | |
157 #define CGRLC_TBF_MODE_NULL (0x0) /* No tbf active, used in GRR */ | |
158 #define CGRLC_TBF_MODE_ACCESS_FAILED (0x1) /* Access has failed. GRLC handles prim queue. */ | |
159 #define CGRLC_TBF_MODE_DL (0x2) /* Downlink TBF is assigned/released. */ | |
160 #define CGRLC_TBF_MODE_UL (0x3) /* Uplink TBF is assigned/released. */ | |
161 #define CGRLC_TBF_MODE_TMA (0x4) /* Uplink TBF for Testmode A is assigned. */ | |
162 #define CGRLC_TBF_MODE_TMB (0x5) /* Uplink TBF for Testmode B is assigned. */ | |
163 #define CGRLC_TBF_MODE_DL_UL (0x6) /* Uplink and Downlink TBF assigned/released. */ | |
164 #define CGRLC_TBF_MODE_ESTABLISHMENT_FAILURE (0x7)/* T3164 expires or failure occurs due to any other reason */ | |
165 // VAL-FF: REL99 AND TI_PS_FF_TBF_EST_PACCH | |
166 // #define CGRLC_TBF_MODE_2PA (0x8) /* 2 Phase access mode during TBF est on PACCH */ | |
167 | |
168 /* | |
169 * Value constants for VAL_rxlev | |
170 */ | |
171 #define CGRLC_RXLEV_MIN (0x0) /* Minimum receive signal level value. */ | |
172 #define CGRLC_RXLEV_MAX (0x3f) /* Maximum receive signal level value. */ | |
173 #define CGRLC_RXLEV_NONE (0x80) /* Specific value used to indicate that no new RX value is present or RX value is invalid. */ | |
174 | |
175 /* | |
176 * Value constants for VAL_alpha | |
177 */ | |
178 #define CGRLC_ALPHA_INVALID (0xff) /* No alpha value is available. */ | |
179 | |
180 /* | |
181 * Value constants for VAL_pc_meas_chan | |
182 */ | |
183 #define CGRLC_MEAS_CHAN_BCCH (0x0) /* Downlink measurements for power control shall be made on BCCH. */ | |
184 #define CGRLC_MEAS_CHAN_PDCH (0x1) /* Downlink measurements for power control shall be made on PDCH. */ | |
185 | |
186 /* | |
187 * Value constants for VAL_gamma_ch | |
188 */ | |
189 #define CGRLC_GAMMA_INVALID (0xff) /* No GCH is available. */ | |
190 | |
191 /* | |
192 * Value constants for VAL_disable_class | |
193 */ | |
194 #define CGRLC_DISABLE_CLASS_NULL (0x0) /* Initial state of the disable class */ | |
195 #define CGRLC_DISABLE_CLASS_OTHER (0x1) /* Any other cause for disable class */ | |
196 #define CGRLC_DISABLE_CLASS_CR (0x2) /* Disable cause is cell reselection */ | |
197 | |
198 /* | |
199 * Value constants for VAL_poll_b_type | |
200 */ | |
201 #define CGRLC_POLL_NONE (0x0) /* No poll position present,only in grlc */ | |
202 #define CGRLC_POLL_COLLISION (0x1) /* Collision detected, only in grlc */ | |
203 #define CGRLC_POLL_DATA (0x2) /* Poll for dl ack/nack, only in grlc */ | |
204 #define CGRLC_POLL_UACK (0x3) /* Poll for pca uplink tbf relaase */ | |
205 #define CGRLC_POLL_CTRL (0x4) /* Default poll for control msg. */ | |
206 #define CGRLC_POLL_RES_NB (0x5) /* Poll for normal burst with packet polling req */ | |
207 #define CGRLC_POLL_RES_AB (0x6) /* Poll for access burst with packet polling req */ | |
208 // VAL-FF: REL99 AND TI_PS_FF_TBF_EST_PACCH | |
209 // #define CGRLC_POLL_RE_ASS (0x7) /* Poll for TBF on PACCH for sendong PCA or PRR */ | |
210 | |
211 /* | |
212 * Value constants for VAL_burst_type | |
213 */ | |
214 #define CGRLC_BURST_TYPE_AB (0x0) /* Access burst */ | |
215 #define CGRLC_BURST_TYPE_NB (0x1) /* Normal burst */ | |
216 | |
217 /* | |
218 * Value constants for VAL_ab_type | |
219 */ | |
220 #define CGRLC_AB_8_BIT (0x0) /* 8 bit access burst */ | |
221 #define CGRLC_AB_11_BIT (0x1) /* 11 bit access burst */ | |
222 | |
223 /* | |
224 * Value constants for VAL_blk_owner | |
225 */ | |
226 #define CGRLC_BLK_OWNER_CTRL (0x0) /* Owner is service ctrl (GRR). */ | |
227 #define CGRLC_BLK_OWNER_CS (0x1) /* Owner is service cs (GRR). */ | |
228 #define CGRLC_BLK_OWNER_TM (0x2) /* Owner is service tm (GRLC). */ | |
229 #define CGRLC_BLK_OWNER_MEAS (0x3) /* Owner is service meas (GRR). */ | |
230 #define CGRLC_BLK_OWNER_NONE (0x4) /* Owner is not specified */ | |
231 | |
232 /* | |
233 * Value constants for VAL_cu_cause | |
234 */ | |
235 #define CGRLC_RA_DEFAULT (0x0) /* No action required */ | |
236 #define CGRLC_RA_CU (0x1) /* Next packet access cause will be cell update */ | |
237 | |
238 /* | |
239 * Value constants for VAL_pmax | |
240 */ | |
241 #define CGRLC_NO_UPDATE_N3102 (0xff) /* N3102 shall not be updated */ | |
242 | |
243 /* | |
244 * Value constants for VAL_llc_prim_type | |
245 */ | |
246 #define CGRLC_LLC_PRIM_TYPE_NULL (0x0) /* No primitive available */ | |
247 #define CGRLC_LLC_PRIM_TYPE_DATA_REQ (0x1) /* GRLC_DATA_REQ */ | |
248 #define CGRLC_LLC_PRIM_TYPE_UNITDATA_REQ (0x2) /* GRLC_UNITDATA_REQ */ | |
249 | |
250 /* | |
251 * Value constants for VAL_ac_class | |
252 */ | |
253 #define CGRLC_CCCH_AC_NOT_ALLOWED (0x8) /* CCCH access control class not allowed */ | |
254 #define CGRLC_PCCCH_AC_NOT_ALLOWED (0x9) /* PCCCH access control class not allowed */ | |
255 #define CGRLC_PCCCH_AC_ALLOWED (0xa) /* PCCCH access control class allowed */ | |
256 | |
257 /* | |
258 * Value constants for VAL_enable_cause | |
259 */ | |
260 #define CGRLC_ENAC_NORMAL (0x0) /* Normal Operation */ | |
261 #define CGRLC_ENAC_ABNORM_RELEASE_CRESELECT_FAILED (0x1)/* Abnormal Release with Cell Re-Selection has Failed */ | |
262 | |
263 /* | |
264 * Value constants for VAL_rlc_db_granted | |
265 */ | |
266 #define CGRLC_OPEN_ENDED_TBF (0x0) /* Open ended tbf */ | |
267 | |
268 /* | |
269 * Value constants for VAL_t3314_val | |
270 */ | |
271 #define CGRLC_STANDBY (0x0) /* MS always in STANDBY state. */ | |
272 #define CGRLC_T3314_DEFAULT (0xabe0) /* Default timeout value for T3314. */ | |
273 #define CGRLC_DEACTIVATED (0xffffffff)/* MS always in READY state. */ | |
274 | |
275 /* | |
276 * Value constants for VAL_pdch_band | |
277 */ | |
278 #define CGRLC_GSM_400 (0x0) /* GSM 400MHz Band. */ | |
279 #define CGRLC_GSM_850 (0x1) /* GSM 850MHz Band. */ | |
280 #define CGRLC_GSM_900 (0x2) /* GSM 900MHz Band. */ | |
281 #define CGRLC_DCS_1800 (0x3) /* DCS 1800MHz Band. */ | |
282 #define CGRLC_PCS_1900 (0x4) /* PCS 1900MHz Band. */ | |
283 | |
284 /* | |
285 * Value constants for VAL_ilev | |
286 */ | |
287 #define CGRLC_ILEV_MIN (0x0) /* Minimum interference level value. */ | |
288 #define CGRLC_ILEV_MAX (0x3f) /* Maximum interference level value. */ | |
289 #define CGRLC_ILEV_NONE (0x80) /* Specific value used to indicate that no new interference level value is present or interference level value is invalid. */ | |
290 | |
291 // VALTAB-FF: REL99 | |
292 // | |
293 // Value constants for Val_pfi_support | |
294 // | |
295 // #define CGRLC_PFI_NOT_SUPPORTED (0x0) /* PFC Not Supported */ | |
296 // #define CGRLC_PFI_SUPPORTED (0x1) /* PFC Supported */ | |
297 | |
298 /* | |
299 * user defined constants | |
300 */ | |
301 #define CGRLC_MAX_CTRL_MSG_SIZE (0x17) | |
302 #define CGRLC_MAX_TIMESLOTS (0x8) | |
303 | |
304 #include "CDG_LEAVE.h" | |
305 | |
306 | |
307 #endif |