FreeCalypso > hg > fc-magnetite
comparison cdg3/cdginc-locosto/p_l1test.h @ 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_l1test.h | | |
5 | SOURCE : "sap\l1test.pdf" | | |
6 | LastModified : "2003-06-06" | | |
7 | IdAndVersion : "8010.148.03.003" | | |
8 | SrcFileTime : "Thu Nov 29 09:44:08 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 : L1TEST | |
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_L1TEST_H | |
24 #define P_L1TEST_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_L1TEST_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_L1TEST_H | |
30 #define CDG_ENTER__P_L1TEST_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_L1TEST_H__LAST_MODIFIED _2003_06_06 | |
32 #define CDG_ENTER__P_L1TEST_H__ID_AND_VERSION _8010_148_03_003 | |
33 | |
34 #define CDG_ENTER__P_L1TEST_H__SRC_FILE_TIME _Thu_Nov_29_09_44_08_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_L1TEST_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_l1test.val" | |
44 | |
45 #include "p_mphc.h" | |
46 | |
47 #include "p_mac.h" | |
48 | |
49 | |
50 /* | |
51 * End of substructure section, begin of primitive definition section | |
52 */ | |
53 | |
54 #ifndef __T_L1TEST_CALL_MPHC_READ_DCCH__ | |
55 #define __T_L1TEST_CALL_MPHC_READ_DCCH__ | |
56 /* | |
57 * | |
58 * CCDGEN:WriteStruct_Count==1679 | |
59 */ | |
60 typedef struct | |
61 { | |
62 U8 chn_mode; /*< 0: 1> Channel mode */ | |
63 U8 _align0; /*< 1: 1> alignment */ | |
64 U8 _align1; /*< 2: 1> alignment */ | |
65 U8 _align2; /*< 3: 1> alignment */ | |
66 } T_L1TEST_CALL_MPHC_READ_DCCH; | |
67 #endif | |
68 | |
69 #ifndef __T_L1TEST_RETURN_MPHC_READ_DCCH__ | |
70 #define __T_L1TEST_RETURN_MPHC_READ_DCCH__ | |
71 /* | |
72 * | |
73 * CCDGEN:WriteStruct_Count==1680 | |
74 */ | |
75 typedef struct | |
76 { | |
77 T_l2_frame l2_frame; /*< 0: 24> layer 2 frame (type defined in "p_mphc.h") */ | |
78 } T_L1TEST_RETURN_MPHC_READ_DCCH; | |
79 #endif | |
80 | |
81 #ifndef __T_L1TEST_CALL_MPHC_DCCH_DOWNLINK__ | |
82 #define __T_L1TEST_CALL_MPHC_DCCH_DOWNLINK__ | |
83 /* | |
84 * | |
85 * CCDGEN:WriteStruct_Count==1681 | |
86 */ | |
87 typedef struct | |
88 { | |
89 T_l2_frame l2_frame; /*< 0: 24> layer 2 frame (type defined in "p_mphc.h") */ | |
90 U8 valid_flag; /*< 24: 1> Valid flag for received data */ | |
91 U8 _align0; /*< 25: 1> alignment */ | |
92 U8 _align1; /*< 26: 1> alignment */ | |
93 U8 _align2; /*< 27: 1> alignment */ | |
94 } T_L1TEST_CALL_MPHC_DCCH_DOWNLINK; | |
95 #endif | |
96 | |
97 #ifndef __T_L1TEST_RETURN_MPHC_DCCH_DOWNLINK__ | |
98 #define __T_L1TEST_RETURN_MPHC_DCCH_DOWNLINK__ | |
99 /* | |
100 * | |
101 * CCDGEN:WriteStruct_Count==1682 | |
102 */ | |
103 typedef struct | |
104 { | |
105 U8 dummy; /*< 0: 1> no parameters */ | |
106 } T_L1TEST_RETURN_MPHC_DCCH_DOWNLINK; | |
107 #endif | |
108 | |
109 #ifndef __T_L1TEST_CALL_MPHC_DATA_UL__ | |
110 #define __T_L1TEST_CALL_MPHC_DATA_UL__ | |
111 /* | |
112 * | |
113 * CCDGEN:WriteStruct_Count==1683 | |
114 */ | |
115 typedef struct | |
116 { | |
117 U8 dummy; /*< 0: 1> no parameters */ | |
118 } T_L1TEST_CALL_MPHC_DATA_UL; | |
119 #endif | |
120 | |
121 #ifndef __T_L1TEST_RETURN_MPHC_DATA_UL__ | |
122 #define __T_L1TEST_RETURN_MPHC_DATA_UL__ | |
123 /* | |
124 * | |
125 * CCDGEN:WriteStruct_Count==1684 | |
126 */ | |
127 typedef struct | |
128 { | |
129 T_l2_frame l2_frame; /*< 0: 24> layer 2 frame (type defined in "p_mphc.h") */ | |
130 U16 d_ra_conf; /*< 24: 2> Traffic control register */ | |
131 U16 d_ra_act; /*< 26: 2> Activity word */ | |
132 U16 d_ra_statu; /*< 28: 2> Rate adaptation status word for uplink */ | |
133 U16 d_fax; /*< 30: 2> Fax status and parameter word */ | |
134 } T_L1TEST_RETURN_MPHC_DATA_UL; | |
135 #endif | |
136 | |
137 #ifndef __T_L1TEST_CALL_MPHC_DATA_DL__ | |
138 #define __T_L1TEST_CALL_MPHC_DATA_DL__ | |
139 /* | |
140 * | |
141 * CCDGEN:WriteStruct_Count==1685 | |
142 */ | |
143 typedef struct | |
144 { | |
145 T_l2_frame l2_frame; /*< 0: 24> layer 2 frame (type defined in "p_mphc.h") */ | |
146 U16 d_ra_act; /*< 24: 2> Activity word */ | |
147 U16 d_ra_statd; /*< 26: 2> Rate adaptation status word for downlink */ | |
148 } T_L1TEST_CALL_MPHC_DATA_DL; | |
149 #endif | |
150 | |
151 #ifndef __T_L1TEST_RETURN_MPHC_DATA_DL__ | |
152 #define __T_L1TEST_RETURN_MPHC_DATA_DL__ | |
153 /* | |
154 * | |
155 * CCDGEN:WriteStruct_Count==1686 | |
156 */ | |
157 typedef struct | |
158 { | |
159 U8 dummy; /*< 0: 1> no parameters */ | |
160 } T_L1TEST_RETURN_MPHC_DATA_DL; | |
161 #endif | |
162 | |
163 #ifndef __T_L1TEST_CALL_MPHP_POWER_CONTROL__ | |
164 #define __T_L1TEST_CALL_MPHP_POWER_CONTROL__ | |
165 /* | |
166 * | |
167 * CCDGEN:WriteStruct_Count==1687 | |
168 */ | |
169 typedef struct | |
170 { | |
171 U8 assignment_id; /*< 0: 1> Assignment Id */ | |
172 U8 crc_error; /*< 1: 1> CRC error */ | |
173 S8 bcch_level; /*< 2: 1> BCCH level */ | |
174 U8 _align0; /*< 3: 1> alignment */ | |
175 U16 radio_freq[L1TEST_BURST_PER_BLOCK]; /*< 4: 8> Radio frequency */ | |
176 S8 burst_level[L1TEST_BURST_PER_BLOCK]; /*< 12: 4> Burst level */ | |
177 } T_L1TEST_CALL_MPHP_POWER_CONTROL; | |
178 #endif | |
179 | |
180 #ifndef __T_L1TEST_RETURN_MPHP_POWER_CONTROL__ | |
181 #define __T_L1TEST_RETURN_MPHP_POWER_CONTROL__ | |
182 /* | |
183 * | |
184 * CCDGEN:WriteStruct_Count==1688 | |
185 */ | |
186 typedef struct | |
187 { | |
188 U8 pch[L1TEST_MAX_TIMESLOTS]; /*< 0: 8> PCH */ | |
189 } T_L1TEST_RETURN_MPHP_POWER_CONTROL; | |
190 #endif | |
191 | |
192 #ifndef __T_L1TEST_CALL_MPHP_UPLINK__ | |
193 #define __T_L1TEST_CALL_MPHP_UPLINK__ | |
194 /* | |
195 * | |
196 * CCDGEN:WriteStruct_Count==1689 | |
197 */ | |
198 typedef struct | |
199 { | |
200 U8 assignment_id; /*< 0: 1> Assignment Id */ | |
201 U8 tx_data_no; /*< 1: 1> Tx data number */ | |
202 U8 _align0; /*< 2: 1> alignment */ | |
203 U8 _align1; /*< 3: 1> alignment */ | |
204 U32 fn; /*< 4: 4> Frame number */ | |
205 U8 timing_advance_value; /*< 8: 1> Timing advance value */ | |
206 U8 allocation_exhausted; /*< 9: 1> Allocation exhausted */ | |
207 U8 _align2; /*< 10: 1> alignment */ | |
208 U8 _align3; /*< 11: 1> alignment */ | |
209 } T_L1TEST_CALL_MPHP_UPLINK; | |
210 #endif | |
211 | |
212 #ifndef __T_L1TEST_RETURN_MPHP_UPLINK__ | |
213 #define __T_L1TEST_RETURN_MPHP_UPLINK__ | |
214 /* | |
215 * | |
216 * CCDGEN:WriteStruct_Count==1690 | |
217 */ | |
218 typedef struct | |
219 { | |
220 T_ul_poll_resp ul_poll_resp[4]; /*< 0:128> Uplink Poll Response (type defined in "p_mac.h") */ | |
221 T_ul_data ul_data[4]; /*<128:240> Uplink Data (type defined in "p_mac.h") */ | |
222 } T_L1TEST_RETURN_MPHP_UPLINK; | |
223 #endif | |
224 | |
225 #ifndef __T_L1TEST_CALL_MPHP_DOWNLINK__ | |
226 #define __T_L1TEST_CALL_MPHP_DOWNLINK__ | |
227 /* | |
228 * | |
229 * CCDGEN:WriteStruct_Count==1691 | |
230 */ | |
231 typedef struct | |
232 { | |
233 U8 assignment_id; /*< 0: 1> Assignment Id */ | |
234 U8 _align0; /*< 1: 1> alignment */ | |
235 U8 _align1; /*< 2: 1> alignment */ | |
236 U8 _align2; /*< 3: 1> alignment */ | |
237 U32 fn; /*< 4: 4> Frame number */ | |
238 U8 _align3; /*< 8: 1> alignment */ | |
239 U8 _align4; /*< 9: 1> alignment */ | |
240 U8 _align5; /*< 10: 1> alignment */ | |
241 U8 c_dl_data; /*< 11: 1> counter */ | |
242 T_dl_data dl_data[4]; /*< 12:256> Downlink Data (type defined in "p_mac.h") */ | |
243 U8 rlc_blocks_sent; /*<268: 1> RLC blocks sent */ | |
244 U8 last_poll_response; /*<269: 1> Last poll response */ | |
245 U8 _align6; /*<270: 1> alignment */ | |
246 U8 _align7; /*<271: 1> alignment */ | |
247 } T_L1TEST_CALL_MPHP_DOWNLINK; | |
248 #endif | |
249 | |
250 #ifndef __T_L1TEST_RETURN_MPHP_DOWNLINK__ | |
251 #define __T_L1TEST_RETURN_MPHP_DOWNLINK__ | |
252 /* | |
253 * | |
254 * CCDGEN:WriteStruct_Count==1692 | |
255 */ | |
256 typedef struct | |
257 { | |
258 U8 dummy; /*< 0: 1> no parameters */ | |
259 } T_L1TEST_RETURN_MPHP_DOWNLINK; | |
260 #endif | |
261 | |
262 | |
263 #include "CDG_LEAVE.h" | |
264 | |
265 | |
266 #endif |