FreeCalypso > hg > fc-magnetite
comparison cdg3/cdginc-locosto/p_mphp.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_mphp.val | | |
5 | SOURCE : "sap\mphp.pdf" | | |
6 | LastModified : "2003-01-13" | | |
7 | IdAndVersion : "8441.100.03.011" | | |
8 | SrcFileTime : "Thu Nov 29 09:50:10 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_MPHP_VAL | |
24 #define P_MPHP_VAL | |
25 | |
26 | |
27 #define CDG_ENTER__P_MPHP_VAL | |
28 | |
29 #define CDG_ENTER__FILENAME _P_MPHP_VAL | |
30 #define CDG_ENTER__P_MPHP_VAL__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_MPHP_VAL__LAST_MODIFIED _2003_01_13 | |
32 #define CDG_ENTER__P_MPHP_VAL__ID_AND_VERSION _8441_100_03_011 | |
33 | |
34 #define CDG_ENTER__P_MPHP_VAL__SRC_FILE_TIME _Thu_Nov_29_09_50_10_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_MPHP_VAL | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 /* | |
44 * Value constants for VAL_psi_nr | |
45 */ | |
46 #define VAL_PSI_NR___0 (0x0) /* read all PSI */ | |
47 | |
48 /* | |
49 * Value constants for VAL_bs_pbcch_blks | |
50 */ | |
51 #define VAL_BS_PBCCH_BLKS___0 (0x0) /* B0 is used for PBCCH */ | |
52 #define VAL_BS_PBCCH_BLKS___1 (0x1) /* B0, B6 is used for PBCCH */ | |
53 #define VAL_BS_PBCCH_BLKS___2 (0x2) /* B0, B6, B3 is used for PBCCH */ | |
54 #define VAL_BS_PBCCH_BLKS___3 (0x3) /* B0, B6, B3, B9 is used for PBCCH */ | |
55 | |
56 /* | |
57 * Value constants for VAL_psi1_rep_period | |
58 */ | |
59 | |
60 /* | |
61 * Value constants for VAL_relative_pos_array | |
62 */ | |
63 | |
64 /* | |
65 * Value constants for VAL_hopping | |
66 */ | |
67 #define VAL_HOPPING___0 (0x0) /* static */ | |
68 #define VAL_HOPPING___1 (0x1) /* hopping */ | |
69 #define MPHP_INT_MEAS_STATIC (0x2) /* static */ | |
70 #define MPHP_INT_MEAS_HOPPING (0x3) /* hopping */ | |
71 #define VAL_HOPPING___4 (0x4) /* static */ | |
72 #define VAL_HOPPING___5 (0x5) /* hopping */ | |
73 | |
74 /* | |
75 * Value constants for VAL_tsc | |
76 */ | |
77 | |
78 /* | |
79 * Value constants for VAL_tn | |
80 */ | |
81 #define VAL_TN___FF (0xff) /* Value not present */ | |
82 | |
83 /* | |
84 * Value constants for VAL_l2_channel | |
85 */ | |
86 #define L2_PCHANNEL_PCCCH (0x1) /* PCCCH block */ | |
87 #define L2_PCHANNEL_PBCCH (0x2) /* PBCCH block */ | |
88 #define L2_PCHANNEL_PPCH (0x3) /* PPCH block */ | |
89 #define L2_PCHANNEL_PEPCH (0x4) /* PEPCH block */ | |
90 #define L2_PCHANNEL_PACCH (0x5) /* PACCH block */ | |
91 | |
92 /* | |
93 * Value constants for VAL_error_flag | |
94 */ | |
95 #define VAL_ERROR_FLAG___1 (0x1) /* valid block info */ | |
96 #define VAL_ERROR_FLAG___0 (0x0) /* invalid block info */ | |
97 | |
98 /* | |
99 * Value constants for VAL_bs_pag_blks_res | |
100 */ | |
101 | |
102 /* | |
103 * Value constants for VAL_page_mode | |
104 */ | |
105 #define PAGE_NORMAL (0x0) /* normal paging */ | |
106 #define PAGE_EXT (0x1) /* extended paging */ | |
107 #define PAGE_REORG (0x2) /* paging reorganisation */ | |
108 | |
109 /* | |
110 * Value constants for VAL_nb_carrier | |
111 */ | |
112 | |
113 /* | |
114 * Value constants for VAL_nmeas | |
115 */ | |
116 | |
117 /* | |
118 * Value constants for VAL_fn_offset | |
119 */ | |
120 | |
121 /* | |
122 * Value constants for VAL_time_alignment | |
123 */ | |
124 | |
125 /* | |
126 * Value constants for VAL_bs_prach_blks | |
127 */ | |
128 #define VAL_BS_PRACH_BLKS___0 (0x0) /* No block is reserved for PRACH (default) */ | |
129 #define VAL_BS_PRACH_BLKS___1 (0x1) /* B0 is used for PRACH */ | |
130 #define VAL_BS_PRACH_BLKS___2 (0x2) /* B0, B6 is used for PRACH */ | |
131 #define VAL_BS_PRACH_BLKS___3 (0x3) /* B0, B6, B3 is used for PRACH */ | |
132 #define VAL_BS_PRACH_BLKS___4 (0x4) /* B0, B6, B3, B9 is used for PRACH */ | |
133 #define VAL_BS_PRACH_BLKS___5 (0x5) /* B0, B6, B3, B9, B1 is used for PRACH */ | |
134 #define VAL_BS_PRACH_BLKS___6 (0x6) /* B0, B6, B3, B9, B1, B7 is used for PRACH */ | |
135 #define VAL_BS_PRACH_BLKS___7 (0x7) /* B0, B6, B3, B9, B1, B7, B4 is used for PRACH */ | |
136 #define VAL_BS_PRACH_BLKS___8 (0x8) /* B0, B6, B3, B9, B1, B7, B4, B10 is used for PRACH */ | |
137 #define VAL_BS_PRACH_BLKS___9 (0x9) /* B0, B6, B3, B9, B1, B7, B4, B10, B2 is used for PRACH */ | |
138 #define VAL_BS_PRACH_BLKS___A (0xa) /* B0, B6, B3, B9, B1, B7, B4, B10, B2, B8 is used for PRACH */ | |
139 #define VAL_BS_PRACH_BLKS___B (0xb) /* B0, B6, B3, B9, B1, B7, B4, B10, B2, B8, B5 is used for PRACH */ | |
140 #define VAL_BS_PRACH_BLKS___C (0xc) /* B0, B6, B3, B9, B1, B7, B4, B10, B2, B8, B5, B11 is used for PRACH */ | |
141 | |
142 /* | |
143 * Value constants for VAL_burst_type | |
144 */ | |
145 #define ACCESS_8_BIT (0x0) | |
146 #define ACCESS_11_BIT (0x1) | |
147 | |
148 /* | |
149 * Value constants for VAL_assign_cmd | |
150 */ | |
151 #define DL_ASSIGNMENT (0x0) /* Downlink assignment */ | |
152 #define UL_ASSIGNMENT (0x1) /* Uplink assignment */ | |
153 #define UL_DL_ASSIGNMENT (0x2) /* Uplink and downlink assignment */ | |
154 #define UL_TP_ACCESS (0x5) /* Uplink Two Phase Access */ | |
155 | |
156 /* | |
157 * Value constants for VAL_m_class | |
158 */ | |
159 | |
160 /* | |
161 * Value constants for VAL_repeat_alloc | |
162 */ | |
163 #define VAL_REPEAT_ALLOC___0 (0x0) /* cancel any pending repeat allocation */ | |
164 #define VAL_REPEAT_ALLOC___1 (0x1) /* repeat the current fixed allocation when it ends */ | |
165 | |
166 /* | |
167 * Value constants for VAL_purpose | |
168 */ | |
169 #define VAL_PURPOSE___0 (0x0) /* reserved */ | |
170 #define VAL_PURPOSE___1 (0x1) /* reserved */ | |
171 #define VAL_PURPOSE___2 (0x2) /* reserved */ | |
172 #define SINGLE_BLOCK_TRANSFER_DL (0x3) /* todo ??? reception? */ | |
173 #define SINGLE_BLOCK_TRANSFER_UL (0x4) /* i.e. measurement report */ | |
174 #define TWO_PHASE_ACESS (0x5) /* two phases access */ | |
175 | |
176 /* | |
177 * Value constants for VAL_ta_value | |
178 */ | |
179 #define VAL_TA_VALUE___FF (0xff) /* value not present */ | |
180 | |
181 /* | |
182 * Value constants for VAL_ta_index | |
183 */ | |
184 #define VAL_TA_INDEX___FF (0xff) /* value not present */ | |
185 | |
186 /* | |
187 * Value constants for VAL_ul_tfi | |
188 */ | |
189 | |
190 /* | |
191 * Value constants for VAL_dl_tfi | |
192 */ | |
193 | |
194 /* | |
195 * Value constants for VAL_mac_mode | |
196 */ | |
197 #define DA (0x0) /* Dynamic allocation */ | |
198 #define EDA (0x1) /* Extended Dynamic allocation */ | |
199 #define FA (0x2) /* Fixed allocation, not half duplex mode */ | |
200 #define FA_HD (0x3) /* Fixed allocation, half duplex mode */ | |
201 | |
202 /* | |
203 * Value constants for VAL_usf_gran | |
204 */ | |
205 #define VAL_USF_GRAN___0 (0x0) /* the ms shall transmit one RLC/MAC-Block */ | |
206 #define VAL_USF_GRAN___1 (0x1) /* the ms shall transmit four consecutive RLC/MAC-Block */ | |
207 | |
208 /* | |
209 * Value constants for VAL_dl_ctrl_ts | |
210 */ | |
211 | |
212 /* | |
213 * Value constants for VAL_size_bitmap | |
214 */ | |
215 | |
216 /* | |
217 * Value constants for VAL_tbf_start_present | |
218 */ | |
219 #define VAL_TBF_START_PRESENT___0 (0x0) /* not present */ | |
220 #define VAL_TBF_START_PRESENT___1 (0x1) /* present */ | |
221 | |
222 /* | |
223 * Value constants for VAL_pc_meas_chan | |
224 */ | |
225 #define MEAS_BCCH (0x0) | |
226 #define MEAS_PDCH (0x1) | |
227 | |
228 /* | |
229 * Value constants for VAL_tbf_type | |
230 */ | |
231 #define REL_DL_TBF (0x0) /* Release only the downlink TBF */ | |
232 #define REL_UL_TBF (0x1) /* Release only the uplink TBF */ | |
233 #define REL_ALL_TBF (0x2) /* Release both uplink and downlink TBFs */ | |
234 | |
235 /* | |
236 * Value constants for VAL_poll_resp_type | |
237 */ | |
238 #define POLL_RESP_NB_CS1 (0x3) /* normal burst */ | |
239 #define POLL_RESP_AB_8_BIT (0x7) /* access burst */ | |
240 #define POLL_RESP_AB_11_BIT (0x8) /* access burst */ | |
241 | |
242 /* | |
243 * Value constants for VAL_sb_status | |
244 */ | |
245 #define SB_STAT_OK (0x0) /* In uplink, indicates that the single block was sent. */ | |
246 #define SB_STAT_DL_CRC_ERROR (0x0) /* In downlink, indicates that the downlink single block was received with no CRC_ERROR. */ | |
247 #define SB_STAT_STIME_PASSED (0x1) /* Starting time is passed. Single block uplink/downlink was not sent/received. */ | |
248 #define SB_STAT_TA_INVALID (0x2) /* No valid timing advance. Single block was not sent. */ | |
249 #define SB_STAT_DL_OK (0x3) /* Valid downlink single block received ( NO CRC_ERROR). */ | |
250 | |
251 /* | |
252 * Value constants for VAL_if_meas_enable | |
253 */ | |
254 #define MPHP_IM_DISABLED (0x0) /* interference measurement processing disabled */ | |
255 #define MPHP_IM_ENABLED (0x1) /* interference measurement processing enabled */ | |
256 | |
257 /* | |
258 * user defined constants | |
259 */ | |
260 #define MAX_L2_FRAME_SIZE (0x17) | |
261 #define MAX_RELATIVE_POS (0x14) | |
262 #define MPHP_NUMC_MA (0x40) | |
263 #define MAX_USF_TABLE (0x8) | |
264 #define MAX_ALLOC_BITMAP (0x7f) | |
265 #define MPHP_NUMC_BA_GPRS_SC (0x21) | |
266 | |
267 #include "CDG_LEAVE.h" | |
268 | |
269 | |
270 #endif |