FreeCalypso > hg > fc-magnetite
comparison cdg-hybrid/sap/fad.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 : fad.pdf | |
3 ;*** Creation : Wed Mar 11 09:58:02 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 : fad | |
9 ;*** Document No. : 8411.103.00.305 | |
10 ;*** Document Date : 2002-04-22 | |
11 ;*** Document Status: BEING_PROCESSED | |
12 ;*** Document Author: SLO | |
13 ;******************************************************************************** | |
14 | |
15 | |
16 | |
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:41:22 2007" | |
18 PRAGMA LAST_MODIFIED "2002-04-22" | |
19 PRAGMA ID_AND_VERSION "8411.103.00.305" | |
20 | |
21 | |
22 | |
23 CONST DUMMY_FAD 0 ; Dummy | |
24 | |
25 | |
26 | |
27 VALTAB VAL_trans_rate | |
28 VAL 300 R_BCS "rate 300 bit/s" | |
29 VAL 2400 R_2400 "rate 2400 bit/s" | |
30 VAL 4800 R_4800 "rate 4800 bit/s" | |
31 VAL 7200 R_7200 "rate 7200 bit/s" | |
32 VAL 9600 R_9600 "rate 9600 bit/s" | |
33 VAL 12000 R_12000 "rate 12000 bit/s" | |
34 VAL 14400 R_14400 "rate 14400 bit/s" | |
35 | |
36 VALTAB VAL_mode | |
37 VAL 0x00 MUX_OFF "ignore" | |
38 VAL 0x01 MUX_BCS "BCS data" | |
39 VAL 0x02 MUX_MSG "MSG data" | |
40 | |
41 VALTAB VAL_cause | |
42 VAL 0xCC00 ERR_REM_FAD "reserved" | |
43 VAL 0xCC11 ERR_REM_PREAMBLE "DATA received instead of PREAMBLE - Preamble too short" | |
44 VAL 0xCC12 ERR_REM_DATA_BCS "DATA received from remote modem during BCS phase" | |
45 VAL 0xCC13 ERR_REM_TRAIN_START "DATA received from remote modem at start of training" | |
46 VAL 0xCC14 ERR_REM_NO_TRAINING "DATA received from remote modem prior to training" | |
47 VAL 0xCC15 ERR_REM_TRAINING "DATA received from remote modem during training" | |
48 VAL 0xCC16 ERR_REM_MSG "DATA received from remote modem while sending MSG data" | |
49 VAL 0xCC17 ERR_REM_PREAMBLE_SHORT "PREAMBLE received from remote station too short" | |
50 VAL 0xCC18 ERR_REM_PREAMBLE_LONG "PREAMBLE received from remote station too long" | |
51 VAL 0xCC19 ERR_REM_IDENT "Incorrect identification from remote modem" | |
52 VAL 0xCC20 ERR_LOCAL_FAD "reserved" | |
53 VAL 0xCC21 ERR_LOCAL_BCS_RATE "BCS rate requested by local modem (MSG phase)" | |
54 VAL 0xCC22 ERR_LOCAL_MSG_RATE "MSG rate requested by local modem (BCS phase)" | |
55 VAL 0xCC23 ERR_LOCAL_DATA_NULL "DATA request received from T30 in NULL state" | |
56 VAL 0xCC24 ERR_LOCAL_DATA_BCS "DATA request received from T30 while receiving BCS data" | |
57 VAL 0xCC25 ERR_LOCAL_DATA_TCF_SND "DATA request received from T30 while sending TCF data" | |
58 VAL 0xCC26 ERR_LOCAL_DATA_TCF_RCV "DATA request received from T30 while receiving TCF data" | |
59 VAL 0xCC27 ERR_LOCAL_DATA_MSG "DATA request received from T30 while receiving MSG data" | |
60 VAL 0xCC28 ERR_LOCAL_DATA_UNDEF "DATA request received from T30 - state unknown" | |
61 VAL 0xCC29 ERR_LOCAL_DATA_MSG_UFL "DATA request not received from T30 - MSG-REC underflow" | |
62 VAL 0xCC30 ERR_LOCAL_IDENT "Incorrect identification from local modem" | |
63 VAL 0xCC40 ERR_OWN_FAD "reserved" | |
64 VAL 0xCC41 ERR_FAD_SUB_TRAIN "FAD in unknown substate during training" | |
65 VAL 0xCC42 ERR_FAD_SUB_TCF "FAD in unknown substate (TCF)" | |
66 VAL 0xCC43 ERR_FAD_SUB_MSG "FAD in unknown substate (MSG)" | |
67 VAL 0xCC50 ERR_GENERAL_FAD "reserved" | |
68 VAL 0xCC51 ERR_INVALID_DATA_RCV "invalid data received" | |
69 VAL 0xCC52 ERR_EMPTY_BUFFER "send/receive buffer is empty" | |
70 VAL 0xCC52 ERR_OVERFLOW_BCS_RCV "buffer overflow while receiving BCS data" | |
71 VAL 0xCCFF ERR_NOT_SET "error not set" | |
72 | |
73 | |
74 | |
75 | |
76 VAR trans_rate "transmission rate" S | |
77 | |
78 VAL @p_fad - VAL_trans_rate@ | |
79 | |
80 VAR final "final flag" B | |
81 | |
82 | |
83 VAR l_buf "length of content in bits" S | |
84 | |
85 | |
86 VAR o_buf "offset of content in bits" S | |
87 | |
88 | |
89 VAR buf "buffer content" B | |
90 | |
91 | |
92 VAR frames_per_prim "no. of frames per primitive" S | |
93 | |
94 | |
95 VAR mode "receive mode" B | |
96 | |
97 VAL @p_fad - VAL_mode@ | |
98 | |
99 VAR cause "error cause" S | |
100 | |
101 VAL @p_fad - VAL_cause@ | |
102 | |
103 VAR ratio "percentage of correct TCF received" B | |
104 | |
105 | |
106 VAR reserved "Reserved" S | |
107 | |
108 | |
109 VAR buf_size_rx "buffer size RX" S | |
110 | |
111 | |
112 VAR buf_size_tx "buffer size TX" S | |
113 | |
114 | |
115 | |
116 | |
117 | |
118 COMP sdu "Service Data Unit" | |
119 { | |
120 l_buf ; length of content in bits | |
121 o_buf ; offset of content in bits | |
122 buf [1] ; buffer content | |
123 } | |
124 | |
125 | |
126 | |
127 | |
128 | |
129 | |
130 ; FAD_ACTIVATE_REQ 0x80000013 | |
131 ; FAD_DEACTIVATE_REQ 0x80010013 | |
132 ; FAD_MODIFY_REQ 0x80020013 | |
133 ; FAD_DATA_REQ 0x80030013 | |
134 ; FAD_DATA_IND 0x80004013 | |
135 ; FAD_DATA_CNF 0x80014013 | |
136 ; FAD_SND_TCF_REQ 0x80040013 | |
137 ; FAD_SND_TCF_CNF 0x80024013 | |
138 ; FAD_RCV_TCF_REQ 0x80050013 | |
139 ; FAD_RCV_TCF_CNF 0x80034013 | |
140 ; FAD_READY_REQ 0x80060013 | |
141 ; FAD_READY_IND 0x80044013 | |
142 ; FAD_IGNORE_REQ 0x80070013 | |
143 ; FAD_MUX_IND 0x80054013 | |
144 ; FAD_ERROR_IND 0x80064013 | |
145 ; FAD_DEACTIVATE_CNF 0x80074013 | |
146 ; FAD_ACTIVATE_CNF 0x80084013 | |
147 | |
148 | |
149 | |
150 PRIM FAD_ACTIVATE_REQ 0x80000013 | |
151 { | |
152 trans_rate ; transmission rate | |
153 frames_per_prim ; frames per primitive | |
154 } | |
155 | |
156 | |
157 | |
158 | |
159 | |
160 | |
161 PRIM FAD_DEACTIVATE_REQ 0x80010013 | |
162 { | |
163 } | |
164 | |
165 | |
166 | |
167 | |
168 | |
169 | |
170 PRIM FAD_MODIFY_REQ 0x80020013 | |
171 { | |
172 trans_rate ; transmission rate | |
173 } | |
174 | |
175 | |
176 | |
177 | |
178 | |
179 | |
180 PRIM FAD_DATA_REQ 0x80030013 | |
181 { | |
182 final ; final flag | |
183 trans_rate ; transmission rate | |
184 sdu ; service data unit | |
185 } | |
186 | |
187 | |
188 | |
189 | |
190 | |
191 | |
192 PRIM FAD_DATA_IND 0x80004013 | |
193 { | |
194 final ; final flag | |
195 reserved ; reserved | |
196 sdu ; service data unit | |
197 } | |
198 | |
199 | |
200 | |
201 | |
202 | |
203 | |
204 PRIM FAD_DATA_CNF 0x80014013 | |
205 { | |
206 } | |
207 | |
208 | |
209 | |
210 | |
211 | |
212 | |
213 PRIM FAD_SND_TCF_REQ 0x80040013 | |
214 { | |
215 trans_rate ; transmission rate | |
216 } | |
217 | |
218 | |
219 | |
220 | |
221 | |
222 | |
223 PRIM FAD_SND_TCF_CNF 0x80024013 | |
224 { | |
225 } | |
226 | |
227 | |
228 | |
229 | |
230 | |
231 | |
232 PRIM FAD_RCV_TCF_REQ 0x80050013 | |
233 { | |
234 trans_rate ; transmission rate | |
235 } | |
236 | |
237 | |
238 | |
239 | |
240 | |
241 | |
242 PRIM FAD_RCV_TCF_CNF 0x80034013 | |
243 { | |
244 ratio ; TCF ratio (%) | |
245 } | |
246 | |
247 | |
248 | |
249 | |
250 | |
251 | |
252 PRIM FAD_READY_REQ 0x80060013 | |
253 { | |
254 } | |
255 | |
256 | |
257 | |
258 | |
259 | |
260 | |
261 PRIM FAD_READY_IND 0x80044013 | |
262 { | |
263 } | |
264 | |
265 | |
266 | |
267 | |
268 | |
269 | |
270 PRIM FAD_IGNORE_REQ 0x80070013 | |
271 { | |
272 } | |
273 | |
274 | |
275 | |
276 | |
277 | |
278 | |
279 PRIM FAD_MUX_IND 0x80054013 | |
280 { | |
281 mode ; receive mode | |
282 } | |
283 | |
284 | |
285 | |
286 | |
287 | |
288 | |
289 PRIM FAD_ERROR_IND 0x80064013 | |
290 { | |
291 cause ; error cause | |
292 } | |
293 | |
294 | |
295 | |
296 | |
297 | |
298 | |
299 PRIM FAD_DEACTIVATE_CNF 0x80074013 | |
300 { | |
301 } | |
302 | |
303 | |
304 | |
305 | |
306 | |
307 | |
308 PRIM FAD_ACTIVATE_CNF 0x80084013 | |
309 { | |
310 buf_size_rx ; buffer size RX | |
311 buf_size_tx ; buffer size TX | |
312 } | |
313 | |
314 | |
315 | |
316 | |
317 | |
318 | |
319 | |
320 | |
321 |