FreeCalypso > hg > fc-tourmaline
comparison cdg-hybrid/sap/l2r.pdf @ 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 ;*** File : l2r.pdf | |
3 ;*** Creation : Wed Mar 11 09:58:14 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 : l2r | |
9 ;*** Document No. : 8411.102.01.124 | |
10 ;*** Document Date : 2001-10-31 | |
11 ;*** Document Status: BEING_PROCESSED | |
12 ;*** Document Author: TVO | |
13 ;******************************************************************************** | |
14 | |
15 | |
16 | |
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:44:22 2007" | |
18 PRAGMA LAST_MODIFIED "2001-10-31" | |
19 PRAGMA ID_AND_VERSION "8411.102.01.124" | |
20 | |
21 | |
22 | |
23 CONST L2R_K_MS_IWF_MIN 0 ; window size ms->iwf (min) | |
24 CONST L2R_K_MS_IWF_MAX 61 ; window size ms->iwf (max) | |
25 CONST L2R_K_MS_IWF_DEF 61 ; window size ms->iwf (default) | |
26 CONST L2R_K_IWF_MS_MIN 0 ; window size iwf->ms (min) | |
27 CONST L2R_K_IWF_MS_MAX 61 ; window size iwf->ms (max) | |
28 CONST L2R_K_IWF_MS_DEF 61 ; window size iwf->ms (default) | |
29 CONST L2R_T1_MIN_FULLRATE_14400 42 ; acknowledge timer (min at fullrate 14400) | |
30 CONST L2R_T1_MIN_FULLRATE_9600 38 ; acknowledge timer (min at fullrate 9600) | |
31 CONST L2R_T1_MIN_FULLRATE_4800 44 ; acknowledge timer (min at fullrate 4800) | |
32 CONST L2R_T1_MIN_HALFRATE_4800 60 ; acknowledge timer (min at halfrate 4800) | |
33 CONST L2R_T1_MIN 38 ; acknowledge timer ( >>> to be removed !!! <<<) | |
34 CONST L2R_T1_MAX 255 ; acknowledge timer (max at all rates) | |
35 CONST L2R_T1_DEF_FULLRATE_14400 52 ; acknowledge timer (default at fullrate 14400) | |
36 CONST L2R_T1_DEF_FULLRATE_9600 48 ; acknowledge timer (default at fullrate 9600) | |
37 CONST L2R_T1_DEF_FULLRATE_4800 54 ; acknowledge timer (default at fullrate 4800) | |
38 CONST L2R_T1_DEF_HALFRATE_4800 78 ; acknowledge timer (default at halfrate 4800) | |
39 CONST L2R_T1_DEF 48 ; acknowledge timer ( >>> to be removed !!! <<<) | |
40 CONST L2R_T2_MIN 0 ; reply delay (min) | |
41 CONST L2R_T2_MAX 255 ; reply delay (max) | |
42 CONST L2R_T2_DEF 20 ; reply delay (default) | |
43 CONST L2R_N2_MIN 1 ; retransmission attempts (min) | |
44 CONST L2R_N2_MAX 255 ; retransmission attempts (max) | |
45 CONST L2R_N2_DEF 6 ; retransmission attempts (default) | |
46 CONST L2R_PT_MIN 0 ; type of data compression (min) | |
47 CONST L2R_PT_MAX 0 ; type of data compression (max) | |
48 CONST L2R_PT_DEF 0 ; type of data compression (default) | |
49 CONST L2R_P0_MIN 0 ; v.42 bis data compression direction (min) | |
50 CONST L2R_P0_MAX 0 ; v.42 bis data compression direction (max) | |
51 CONST L2R_P0_DEF 0 ; v.42 bis data compression direction (default) | |
52 CONST L2R_P1_MIN 512 ; v.42 bis number of possible codewords (min) | |
53 CONST L2R_P1_MAX 65535 ; v.42 bis number of possible codewords (max) | |
54 CONST L2R_P1_DEF 512 ; v.42 bis number of possible codewords (default) | |
55 CONST L2R_P2_MIN 6 ; v.42 bis maximum encodable data string length (min) | |
56 CONST L2R_P2_MAX 250 ; v.42 bis maximum encodable data string length (max) | |
57 CONST L2R_P2_DEF 6 ; v.42 bis maximum encodable data string length (default) | |
58 CONST L2R_BYTES_PER_PRIM_MIN 25 ; bytes per primitive (min) | |
59 CONST L2R_BYTES_PER_PRIM_MAX 250 ; bytes per primitive (max) | |
60 CONST L2R_BYTES_PER_PRIM_DEF 250 ; bytes per primitive (default) | |
61 CONST L2R_BUFFER_SIZE_MIN 2048 ; receive and transmit buffer size in bytes (min) | |
62 CONST L2R_BUFFER_SIZE_MAX 4096 ; receive and transmit buffer size in bytes (max) | |
63 CONST L2R_BUFFER_SIZE_DEF 2048 ; receive and transmit buffer size in bytes (default) | |
64 CONST L2R_ENTITY_NAME_LEN 6 ; maximum length of entity name including NULL | |
65 | |
66 | |
67 | |
68 VALTAB VAL_pt | |
69 VAL 0 L2R_COMPR_TYPE_V42BIS "V.42bis" | |
70 | |
71 VALTAB VAL_p0 | |
72 VAL 0 L2R_COMP_DIR_NONE "compress in neither direction" | |
73 VAL 1 L2R_COMP_DIR_TRANSMIT "compress in uplink direction only" | |
74 VAL 2 L2R_COMP_DIR_RECEIVE "compress in downlink direction only" | |
75 VAL 3 L2R_COMP_DIR_BOTH "compress in both directions" | |
76 | |
77 VALTAB VAL_uil2p | |
78 VAL 0 L2R_ISO6429 "ISO6429, codeset 0, DC1/DC3 (with flow control)" | |
79 VAL 1 L2R_COPnoFlCt "Character Oriented Protocol with No Flow Control" | |
80 | |
81 VALTAB VAL_rate | |
82 VAL 0 L2R_HALFRATE_4800 "halfrate 4,8/6 kBit" | |
83 VAL 1 L2R_FULLRATE_4800 "fullrate 4,8/6 kBit" | |
84 VAL 2 L2R_FULLRATE_9600 "fullrate 9,6/12 kBit" | |
85 VAL 3 L2R_FULLRATE_14400 "fullrate 13,4/14,4 kBit" | |
86 | |
87 VALTAB VAL_ack_flg | |
88 VAL 0 L2R_ACK "acknowledged" | |
89 VAL 1 L2R_NAK "not acknowledged" | |
90 | |
91 VALTAB VAL_cause | |
92 VAL 0x0000 CAUSE_DUMMY "The following causes can occur within this primitive: all those possible within the RLP_ERROR_IND primitive of the RLP SAP" | |
93 | |
94 VALTAB VAL_dti_conn | |
95 VAL 0 L2R_CONNECT_DTI "Connect DTI to L2R" | |
96 VAL 1 L2R_DISCONNECT_DTI "Connect DTI to upper layer" | |
97 | |
98 VALTAB VAL_link_id | |
99 VAL 0 L2R_LINK_ID_DEFAULT "Default link id" | |
100 | |
101 VALTAB VAL_dti_direction | |
102 VAL 0 L2R_DTI_NORMAL "DTI used normally" | |
103 VAL 1 L2R_DTI_INVERTED "DTI is inverted" | |
104 | |
105 | |
106 | |
107 | |
108 VAR rlp_vers "rlp version number" B | |
109 | |
110 | |
111 VAR k_ms_iwf "window size ms -> iwf" S | |
112 | |
113 | |
114 VAR k_iwf_ms "window size iwf -> ms" S | |
115 | |
116 | |
117 VAR t1 "acknowledge timer" B | |
118 | |
119 | |
120 VAR t2 "reply delay" B | |
121 | |
122 | |
123 VAR n2 "maximum number of retransmission attempts" B | |
124 | |
125 | |
126 VAR pt "type of data compression" B | |
127 | |
128 VAL @p_l2r - VAL_pt@ | |
129 | |
130 VAR p0 "v.42bis data compression direction" B | |
131 | |
132 VAL @p_l2r - VAL_p0@ | |
133 | |
134 VAR p1 "v.42bis number of possible codewords" S | |
135 | |
136 | |
137 VAR p2 "v.42bis maximum encodable string length" B | |
138 | |
139 | |
140 VAR uil2p "user information layer 2 protocol" B | |
141 | |
142 VAL @p_l2r - VAL_uil2p@ | |
143 | |
144 VAR bytes_per_prim "bytes per primitive" S | |
145 | |
146 | |
147 VAR buffer_size "buffer size in bytes" S | |
148 | |
149 | |
150 VAR rate "transmission rate" B | |
151 | |
152 VAL @p_l2r - VAL_rate@ | |
153 | |
154 VAR ack_flg "acknowledge flag" B | |
155 | |
156 VAL @p_l2r - VAL_ack_flg@ | |
157 | |
158 VAR cause "error cause" S | |
159 | |
160 VAL @p_l2r - VAL_cause@ | |
161 | |
162 VAR error_rate "error_rate" L | |
163 | |
164 | |
165 VAR dti_conn "DTI connect" B | |
166 | |
167 VAL @p_l2r - VAL_dti_conn@ | |
168 | |
169 VAR entity_name "name of an neighbour entity" B | |
170 | |
171 | |
172 VAR link_id "Link identifier" L | |
173 | |
174 VAL @p_l2r - VAL_link_id@ | |
175 | |
176 VAR dti_direction "DTI direction" B | |
177 | |
178 VAL @p_l2r - VAL_dti_direction@ | |
179 | |
180 | |
181 | |
182 | |
183 | |
184 | |
185 | |
186 ; L2R_ACTIVATE_REQ 0x80000012 | |
187 ; L2R_ACTIVATE_CNF 0x80004012 | |
188 ; L2R_DEACTIVATE_REQ 0x80010012 | |
189 ; L2R_DEACTIVATE_CNF 0x80014012 | |
190 ; L2R_CONNECT_REQ 0x80020012 | |
191 ; L2R_CONNECT_CNF 0x80024012 | |
192 ; L2R_CONNECT_IND 0x80034012 | |
193 ; L2R_DISC_REQ 0x80030012 | |
194 ; L2R_DISC_CNF 0x80044012 | |
195 ; L2R_DISC_IND 0x80054012 | |
196 ; L2R_XID_IND 0x800A4012 | |
197 ; L2R_ERROR_IND 0x800B4012 | |
198 ; L2R_RESET_IND 0x800C4012 | |
199 ; L2R_STATISTIC_IND 0x800D4012 | |
200 ; L2R_DTI_REQ 0x80070012 | |
201 ; L2R_DTI_CNF 0x800E4012 | |
202 ; L2R_DTI_IND 0x800F4012 | |
203 ; L2R_CHANGE_RATE_REQ 0x80080012 | |
204 | |
205 | |
206 | |
207 PRIM L2R_ACTIVATE_REQ 0x80000012 | |
208 { | |
209 k_ms_iwf ; window size ms->iwf | |
210 k_iwf_ms ; window size iwf->ms | |
211 t1 ; acknowledge timer | |
212 t2 ; reply delay | |
213 n2 ; retransmission attempts | |
214 pt ; type of data compression | |
215 p0 ; v.42 bis data compression direction | |
216 p1 ; v.42 bis number of possible codewords | |
217 p2 ; v.42 bis maximum encodable data string length | |
218 uil2p ; user information layer 2 protocol | |
219 bytes_per_prim ; bytes per primitive | |
220 buffer_size ; receive and transmit buffer size in bytes | |
221 rate ; transmission rate | |
222 } | |
223 | |
224 | |
225 | |
226 | |
227 | |
228 | |
229 PRIM L2R_ACTIVATE_CNF 0x80004012 | |
230 { | |
231 ack_flg ; acknowledge flag | |
232 } | |
233 | |
234 | |
235 | |
236 | |
237 | |
238 | |
239 PRIM L2R_DEACTIVATE_REQ 0x80010012 | |
240 { | |
241 } | |
242 | |
243 | |
244 | |
245 | |
246 | |
247 | |
248 PRIM L2R_DEACTIVATE_CNF 0x80014012 | |
249 { | |
250 } | |
251 | |
252 | |
253 | |
254 | |
255 | |
256 | |
257 PRIM L2R_CONNECT_REQ 0x80020012 | |
258 { | |
259 } | |
260 | |
261 | |
262 | |
263 | |
264 | |
265 | |
266 PRIM L2R_CONNECT_CNF 0x80024012 | |
267 { | |
268 ack_flg ; acknowledge flag | |
269 } | |
270 | |
271 | |
272 | |
273 | |
274 | |
275 | |
276 PRIM L2R_CONNECT_IND 0x80034012 | |
277 { | |
278 } | |
279 | |
280 | |
281 | |
282 | |
283 | |
284 | |
285 PRIM L2R_DISC_REQ 0x80030012 | |
286 { | |
287 } | |
288 | |
289 | |
290 | |
291 | |
292 | |
293 | |
294 PRIM L2R_DISC_CNF 0x80044012 | |
295 { | |
296 } | |
297 | |
298 | |
299 | |
300 | |
301 | |
302 | |
303 PRIM L2R_DISC_IND 0x80054012 | |
304 { | |
305 } | |
306 | |
307 | |
308 | |
309 | |
310 | |
311 | |
312 PRIM L2R_XID_IND 0x800A4012 | |
313 { | |
314 rlp_vers ; RLP version no. | |
315 k_ms_iwf ; window size ms->iwf | |
316 k_iwf_ms ; window size iwf->ms | |
317 t1 ; acknowledge timer | |
318 t2 ; reply delay | |
319 n2 ; retransmission attempts | |
320 pt ; type of data compression | |
321 p0 ; v.42 bis data compression direction | |
322 p1 ; v.42 bis number of possible codewords | |
323 p2 ; v.42 bis maximum encodable data string length | |
324 } | |
325 | |
326 | |
327 | |
328 | |
329 | |
330 | |
331 PRIM L2R_ERROR_IND 0x800B4012 | |
332 { | |
333 cause ; error cause | |
334 } | |
335 | |
336 | |
337 | |
338 | |
339 | |
340 | |
341 PRIM L2R_RESET_IND 0x800C4012 | |
342 { | |
343 } | |
344 | |
345 | |
346 | |
347 | |
348 | |
349 | |
350 PRIM L2R_STATISTIC_IND 0x800D4012 | |
351 { | |
352 error_rate ; error rate | |
353 } | |
354 | |
355 | |
356 | |
357 | |
358 | |
359 | |
360 PRIM L2R_DTI_REQ 0x80070012 | |
361 { | |
362 dti_conn ; DTI connect | |
363 entity_name [L2R_ENTITY_NAME_LEN] ; entity name | |
364 link_id ; link identifier | |
365 dti_direction ; DTI direction | |
366 } | |
367 | |
368 | |
369 | |
370 | |
371 | |
372 | |
373 PRIM L2R_DTI_CNF 0x800E4012 | |
374 { | |
375 dti_conn ; DTI connect | |
376 link_id ; link identifier | |
377 } | |
378 | |
379 | |
380 | |
381 | |
382 | |
383 | |
384 PRIM L2R_DTI_IND 0x800F4012 | |
385 { | |
386 link_id ; link identifier | |
387 } | |
388 | |
389 | |
390 | |
391 | |
392 | |
393 | |
394 PRIM L2R_CHANGE_RATE_REQ 0x80080012 | |
395 { | |
396 rate ; transmission rate | |
397 } | |
398 | |
399 | |
400 | |
401 | |
402 | |
403 | |
404 | |
405 | |
406 |