comparison cdg-hybrid/cdginc/p_mphp.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_mphp.val |
5 | SOURCE : "sap\mphp.pdf" |
6 | LastModified : "2003-01-13" |
7 | IdAndVersion : "8441.100.03.011" |
8 | SrcFileTime : "Mon Nov 24 15:49:34 2003" |
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_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 _Mon_Nov_24_15_49_34_2003
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
155 /*
156 * Value constants for VAL_m_class
157 */
158
159 /*
160 * Value constants for VAL_repeat_alloc
161 */
162 #define VAL_REPEAT_ALLOC___0 (0x0) /* cancel any pending repeat allocation */
163 #define VAL_REPEAT_ALLOC___1 (0x1) /* repeat the current fixed allocation when it ends */
164
165 /*
166 * Value constants for VAL_purpose
167 */
168 #define VAL_PURPOSE___0 (0x0) /* reserved */
169 #define VAL_PURPOSE___1 (0x1) /* reserved */
170 #define VAL_PURPOSE___2 (0x2) /* reserved */
171 #define SINGLE_BLOCK_TRANSFER_DL (0x3) /* todo ??? reception? */
172 #define SINGLE_BLOCK_TRANSFER_UL (0x4) /* i.e. measurement report */
173 #define TWO_PHASE_ACESS (0x5) /* two phases access */
174
175 /*
176 * Value constants for VAL_ta_value
177 */
178 #define VAL_TA_VALUE___FF (0xff) /* value not present */
179
180 /*
181 * Value constants for VAL_ta_index
182 */
183 #define VAL_TA_INDEX___FF (0xff) /* value not present */
184
185 /*
186 * Value constants for VAL_ul_tfi
187 */
188
189 /*
190 * Value constants for VAL_dl_tfi
191 */
192
193 /*
194 * Value constants for VAL_mac_mode
195 */
196 #define DA (0x0) /* Dynamic allocation */
197 #define EDA (0x1) /* Extended Dynamic allocation */
198 #define FA (0x2) /* Fixed allocation, not half duplex mode */
199 #define FA_HD (0x3) /* Fixed allocation, half duplex mode */
200
201 /*
202 * Value constants for VAL_usf_gran
203 */
204 #define VAL_USF_GRAN___0 (0x0) /* the ms shall transmit one RLC/MAC-Block */
205 #define VAL_USF_GRAN___1 (0x1) /* the ms shall transmit four consecutive RLC/MAC-Block */
206
207 /*
208 * Value constants for VAL_dl_ctrl_ts
209 */
210
211 /*
212 * Value constants for VAL_size_bitmap
213 */
214
215 /*
216 * Value constants for VAL_tbf_start_present
217 */
218 #define VAL_TBF_START_PRESENT___0 (0x0) /* not present */
219 #define VAL_TBF_START_PRESENT___1 (0x1) /* present */
220
221 /*
222 * Value constants for VAL_pc_meas_chan
223 */
224 #define MEAS_BCCH (0x0)
225 #define MEAS_PDCH (0x1)
226
227 /*
228 * Value constants for VAL_tbf_type
229 */
230 #define REL_DL_TBF (0x0) /* Release only the downlink TBF */
231 #define REL_UL_TBF (0x1) /* Release only the uplink TBF */
232 #define REL_ALL_TBF (0x2) /* Release both uplink and downlink TBFs */
233
234 /*
235 * Value constants for VAL_poll_resp_type
236 */
237 #define POLL_RESP_NB_CS1 (0x3) /* normal burst */
238 #define POLL_RESP_AB_8_BIT (0x7) /* access burst */
239 #define POLL_RESP_AB_11_BIT (0x8) /* access burst */
240
241 /*
242 * Value constants for VAL_sb_status
243 */
244 #define SB_STAT_OK (0x0) /* In uplink, indicates that the single block was sent. */
245 #define SB_STAT_DL_CRC_ERROR (0x0) /* In downlink, indicates that the downlink single block was received with no CRC_ERROR. */
246 #define SB_STAT_STIME_PASSED (0x1) /* Starting time is passed. Single block uplink/downlink was not sent/received. */
247 #define SB_STAT_TA_INVALID (0x2) /* No valid timing advance. Single block was not sent. */
248 #define SB_STAT_DL_OK (0x3) /* Valid downlink single block received ( NO CRC_ERROR). */
249
250 /*
251 * Value constants for VAL_if_meas_enable
252 */
253 #define MPHP_IM_DISABLED (0x0) /* interference measurement processing disabled */
254 #define MPHP_IM_ENABLED (0x1) /* interference measurement processing enabled */
255
256 /*
257 * user defined constants
258 */
259 #define MAX_L2_FRAME_SIZE (0x17)
260 #define MAX_RELATIVE_POS (0x14)
261 #define MPHP_NUMC_MA (0x40)
262 #define MAX_USF_TABLE (0x8)
263 #define MAX_ALLOC_BITMAP (0x7f)
264 #define MPHP_NUMC_BA_GPRS_SC (0x21)
265
266 #include "CDG_LEAVE.h"
267
268
269 #endif