comparison cdg-hybrid/sap/l1test.pdf @ 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 ;*** File : l1test.pdf
3 ;*** Creation : Wed Mar 11 09:58:09 CST 2009
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002
6 ;********************************************************************************
7 ;*** Document Type : Service Access Point Specification
8 ;*** Document Name : l1test
9 ;*** Document No. : 8010.148.03.003
10 ;*** Document Date : 2003-06-06
11 ;*** Document Status: BEING_PROCESSED
12 ;*** Document Author: AGR
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:44:08 2007"
18 PRAGMA LAST_MODIFIED "2003-06-06"
19 PRAGMA ID_AND_VERSION "8010.148.03.003"
20 PRAGMA PREFIX L1TEST ; Prefix for this document
21 PRAGMA ALLWAYS_ENUM_IN_VAL_FILE NO ; Enumeration values in value file
22 PRAGMA ENABLE_GROUP NO ; Enable h-file grouping
23 PRAGMA COMPATIBILITY_DEFINES NO ; Compatible to the old #defines
24
25
26
27 CONST TEST_BUFFER_SIZE 1000 ; Test data buffer size
28 CONST MAX_TIMESLOTS 8 ; Defines the maximum number of timeslots per frame
29 CONST BURST_PER_BLOCK 4 ; Number of bursts that compose a block
30
31
32
33
34
35
36 VAR chn_mode "Channel mode" B
37
38
39 VAR valid_flag "Valid flag for received data" B
40
41
42 VAR d_ra_conf "Traffic control register" S
43
44
45 VAR d_ra_act "Activity word" S
46
47
48 VAR d_fax "Fax status and parameter word" S
49
50
51 VAR d_ra_statu "Rate adaptation status word for uplink" S
52
53
54 VAR d_ra_statd "Rate adaptation status word for downlink" S
55
56
57 VAR crc_error "CRC error" B
58
59
60 VAR bcch_level "BCCH level" C
61
62
63 VAR radio_freq "Radio frequency" S
64
65
66 VAR burst_level "Burst level" C
67
68
69 VAR pch "PCH" B
70
71
72 VAR assignment_id "Assignment Id" B
73
74
75 VAR tx_data_no "Tx data number" B
76
77
78 VAR fn "Frame number" L
79
80
81 VAR timing_advance_value "Timing advance value" B
82
83
84 VAR allocation_exhausted "Allocation exhausted" B
85
86
87 VAR rlc_blocks_sent "RLC blocks sent" B
88
89
90 VAR last_poll_response "Last poll response" B
91
92
93
94
95
96
97
98
99 ; L1TEST_CALL_MPHC_READ_DCCH 0x8000409B
100 ; L1TEST_RETURN_MPHC_READ_DCCH 0x8000009B
101 ; L1TEST_CALL_MPHC_DCCH_DOWNLINK 0x8001409B
102 ; L1TEST_RETURN_MPHC_DCCH_DOWNLINK 0x8001009B
103 ; L1TEST_CALL_MPHC_DATA_UL 0x8002409B
104 ; L1TEST_RETURN_MPHC_DATA_UL 0x8002009B
105 ; L1TEST_CALL_MPHC_DATA_DL 0x8003409B
106 ; L1TEST_RETURN_MPHC_DATA_DL 0x8003009B
107 ; L1TEST_CALL_MPHP_POWER_CONTROL 0x8004409B
108 ; L1TEST_RETURN_MPHP_POWER_CONTROL 0x8004009B
109 ; L1TEST_CALL_MPHP_UPLINK 0x8005409B
110 ; L1TEST_RETURN_MPHP_UPLINK 0x8005009B
111 ; L1TEST_CALL_MPHP_DOWNLINK 0x8006409B
112 ; L1TEST_RETURN_MPHP_DOWNLINK 0x8006009B
113
114
115
116 PRIM L1TEST_CALL_MPHC_READ_DCCH 0x8000409B
117 {
118 chn_mode ; Channel mode
119 }
120
121
122
123
124
125
126 PRIM L1TEST_RETURN_MPHC_READ_DCCH 0x8000009B
127 {
128 EXTERN @p_mphc - l2_frame@ l2_frame ; L2 radio frame
129 }
130
131
132
133
134
135
136 PRIM L1TEST_CALL_MPHC_DCCH_DOWNLINK 0x8001409B
137 {
138 EXTERN @p_mphc - l2_frame@ l2_frame ; L2 radio frame
139 valid_flag ; Valid flag for received data
140 }
141
142
143
144
145
146
147 PRIM L1TEST_RETURN_MPHC_DCCH_DOWNLINK 0x8001009B
148 {
149 }
150
151
152
153
154
155
156 PRIM L1TEST_CALL_MPHC_DATA_UL 0x8002409B
157 {
158 }
159
160
161
162
163
164
165 PRIM L1TEST_RETURN_MPHC_DATA_UL 0x8002009B
166 {
167 EXTERN @p_mphc - l2_frame@ l2_frame ; L2 radio frame
168 d_ra_conf ; Traffic control register
169 d_ra_act ; Activity word
170 d_ra_statu ; Rate adaptation status word
171 d_fax ; Fax status and parameter word
172 }
173
174
175
176
177
178
179 PRIM L1TEST_CALL_MPHC_DATA_DL 0x8003409B
180 {
181 EXTERN @p_mphc - l2_frame@ l2_frame ; L2 radio frame
182 d_ra_act ; Activity word
183 d_ra_statd ; Rate adaptation status word
184 }
185
186
187
188
189
190
191 PRIM L1TEST_RETURN_MPHC_DATA_DL 0x8003009B
192 {
193 }
194
195
196
197
198
199
200 PRIM L1TEST_CALL_MPHP_POWER_CONTROL 0x8004409B
201 {
202 assignment_id ; Assignment Id
203 crc_error ; CRC error
204 bcch_level ; BCCH level
205 radio_freq [BURST_PER_BLOCK] ; Radio frequency
206 burst_level [BURST_PER_BLOCK] ; Burst level
207 }
208
209
210
211
212
213
214 PRIM L1TEST_RETURN_MPHP_POWER_CONTROL 0x8004009B
215 {
216 pch [MAX_TIMESLOTS] ; PCH
217 }
218
219
220
221
222
223
224 PRIM L1TEST_CALL_MPHP_UPLINK 0x8005409B
225 {
226 assignment_id ; Assignment Id
227 tx_data_no ; Tx data number
228 fn ; Frame number
229 timing_advance_value ; Timing advance value
230 allocation_exhausted ; Allocation exhausted
231 }
232
233
234
235
236
237
238 PRIM L1TEST_RETURN_MPHP_UPLINK 0x8005009B
239 {
240 EXTERN @p_mac - ul_poll_resp@ ul_poll_resp [4] ; UL poll response
241 EXTERN @p_mac - ul_data@ ul_data [4] ; UL data
242 }
243
244
245
246
247
248
249 PRIM L1TEST_CALL_MPHP_DOWNLINK 0x8006409B
250 {
251 assignment_id ; Assignment Id
252 fn ; Frame number
253 EXTERN @p_mac - dl_data@ dl_data [0..4] ; DL data
254 rlc_blocks_sent ; RLC blocks sent
255 last_poll_response ; Last poll response
256 }
257
258
259
260
261
262
263 PRIM L1TEST_RETURN_MPHP_DOWNLINK 0x8006009B
264 {
265 }
266
267
268
269
270
271
272
273
274