FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/sap/ppp.pdf @ 652:a39ec5bb5549
gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 25 Sep 2014 08:46:13 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
651:806828641b21 | 652:a39ec5bb5549 |
---|---|
1 ;******************************************************************************** | |
2 ;*** File : ppp.pdf | |
3 ;*** Creation : Wed Mar 11 09:58:36 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 : ppp | |
9 ;*** Document No. : 8441.116.99.016 | |
10 ;*** Document Date : 2002-10-21 | |
11 ;*** Document Status: BEING_PROCESSED | |
12 ;*** Document Author: STW | |
13 ;******************************************************************************** | |
14 | |
15 | |
16 | |
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:51:00 2007" | |
18 PRAGMA LAST_MODIFIED "2002-10-21" | |
19 PRAGMA ID_AND_VERSION "8441.116.99.016" | |
20 | |
21 | |
22 | |
23 CONST PPP_LOGIN_NAME_LENGTH 33 ; Length of login name | |
24 CONST PPP_PASSWORD_LENGTH 25 ; Length of password | |
25 EXTERN CONST @p_gsmcom - PPP_ORIGINATING_ENTITY@ PPP_ORIGINATING_ENTITY ; mask for indicating the originating entity of a cause is PPP | |
26 | |
27 | |
28 | |
29 VALTAB VAL_mru | |
30 VAL 1500 PPP_MRU_DEFAULT "default value for mru" | |
31 | |
32 VALTAB VAL_ap | |
33 VAL 0 PPP_AP_NO "no authentication" | |
34 VAL 1 PPP_AP_PAP "password authentication protocol" | |
35 VAL 2 PPP_AP_CHAP "challenge handshake authentication protocol" | |
36 VAL 3 PPP_AP_AUTO "automatic authentication" | |
37 | |
38 VALTAB VAL_accm | |
39 VAL 0xFFFFFFFF PPP_ACCM_DEFAULT "default value for accm" | |
40 VAL 0x00000000 PPP_ACCM_OFF "disable control character mapping" | |
41 | |
42 VALTAB VAL_rt | |
43 VAL 3 PPP_RT_DEFAULT "default value for restart timer" | |
44 | |
45 VALTAB VAL_mc | |
46 VAL 10 PPP_MC_DEFAULT "default value for max configure" | |
47 | |
48 VALTAB VAL_mt | |
49 VAL 2 PPP_MT_DEFAULT "default value for max terminate" | |
50 | |
51 VALTAB VAL_mf | |
52 VAL 5 PPP_MF_DEFAULT "default value for max failure" | |
53 | |
54 VALTAB VAL_ppp_cause | |
55 VAL 0b1100111100000001 PPP_TERM_OK_MMI "successful terminated (MMI initiated)" | |
56 VAL 0b1100111100000010 PPP_TERM_OK_PEER "successful terminated (PPP peer initiated)" | |
57 VAL 0b1100111100000011 PPP_TERM_NO_RESPONSE "no response from the PPP peer" | |
58 VAL 0b1100111100000100 PPP_TERM_LOOP_BACK "looped-back link detected" | |
59 VAL 0b1100111100000101 PPP_TERM_LCP_NOT_CONVERGE "LCP configuration is not converging" | |
60 VAL 0b1100111100000110 PPP_TERM_IPCP_NOT_CONVERGE "IPCP configuration is not converging" | |
61 VAL 0b1100111100000111 PPP_TERM_IPCP_NOT_STARTED "PPP peer did not start IPCP configuration" | |
62 VAL 0b1100111100001000 PPP_TERM_NO_CHANNEL "can not open communication channels" | |
63 VAL 0b1100111100001001 PPP_TERM_PROT_REJ_UNEXPECTED "unexpected Protocol Rejection from PPP peer" | |
64 VAL 0b1100111100001010 PPP_TERM_USE_AUTHED_FAILED "user authentication failed" | |
65 VAL 0b1100111100001011 PPP_TERM_PROT_ERROR_UNSPEC "unspecified protocol error" | |
66 | |
67 VALTAB VAL_ppp_hc | |
68 VAL 0 PPP_HC_OFF "no header compression" | |
69 VAL 1 PPP_HC_VJ "Van Jacobson header compression" | |
70 | |
71 VALTAB VAL_ip | |
72 VAL 0x00000000 PPP_IP_DYNAMIC "dynaminc IP address negotiation" | |
73 | |
74 VALTAB VAL_dns1 | |
75 VAL 0x00000000 PPP_DNS1_DYNAMIC "dynaminc primary DNS server address negotiation" | |
76 | |
77 VALTAB VAL_dns2 | |
78 VAL 0x00000000 PPP_DNS2_DYNAMIC "dynaminc secondary DNS server address negotiation" | |
79 | |
80 VALTAB VAL_mode | |
81 VAL 0 PPP_CLIENT "start PPP as client" | |
82 VAL 1 PPP_SERVER "start PPP as server" | |
83 VAL 2 PPP_TRANSPARENT "start PPP in transparent mode" | |
84 | |
85 VALTAB VAL_lower_layer | |
86 VAL 0 PPP_LOWER_LAYER_DOWN "lower layer is not available" | |
87 VAL 1 PPP_LOWER_LAYER_UP "lower layer is available" | |
88 | |
89 VALTAB VAL_connected_direction | |
90 VAL 0 PPP_DTI_CONN_PEER "DTI channel is connected to Peer Layer" | |
91 VAL 1 PPP_DTI_CONN_PROT "DTI channel is connected to Protocol Layer" | |
92 | |
93 | |
94 | |
95 | |
96 VAR mru "maximum receive unit" S | |
97 | |
98 VAL @p_ppp - VAL_mru@ | |
99 | |
100 VAR ap "authentication protocol" B | |
101 | |
102 VAL @p_ppp - VAL_ap@ | |
103 | |
104 VAR accm "async control character map" L | |
105 | |
106 VAL @p_ppp - VAL_accm@ | |
107 | |
108 VAR rt "restart timer" B | |
109 | |
110 VAL @p_ppp - VAL_rt@ | |
111 | |
112 VAR mc "max configure" B | |
113 | |
114 VAL @p_ppp - VAL_mc@ | |
115 | |
116 VAR mt "max terminate" B | |
117 | |
118 VAL @p_ppp - VAL_mt@ | |
119 | |
120 VAR mf "max failure" B | |
121 | |
122 VAL @p_ppp - VAL_mf@ | |
123 | |
124 VAR ppp_cause "PPP error cause" S | |
125 | |
126 VAL @p_ppp - VAL_ppp_cause@ | |
127 | |
128 VAR ppp_hc "header compression of PPP connection" B | |
129 | |
130 VAL @p_ppp - VAL_ppp_hc@ | |
131 | |
132 VAR msid "max slot identifier" B | |
133 | |
134 | |
135 VAR l_buf "length of content in bit" S | |
136 | |
137 | |
138 VAR o_buf "offset of content in bit" S | |
139 | |
140 | |
141 VAR Buf "protocol configuration options" B | |
142 | |
143 | |
144 VAR peer_entity "PPP-peer communication channel name value" B | |
145 | |
146 | |
147 VAR protocol_entity "network protocol communication channel name value" B | |
148 | |
149 | |
150 VAR name_len "length of name" B | |
151 | |
152 | |
153 VAR name "login name" B | |
154 | |
155 | |
156 VAR password_len "length of password" B | |
157 | |
158 | |
159 VAR password "login password" B | |
160 | |
161 | |
162 VAR ip "Internet Protocol address" L | |
163 | |
164 VAL @p_ppp - VAL_ip@ | |
165 | |
166 VAR dns1 "primary DNS server address" L | |
167 | |
168 VAL @p_ppp - VAL_dns1@ | |
169 | |
170 VAR dns2 "secondary DNS server address" L | |
171 | |
172 VAL @p_ppp - VAL_dns2@ | |
173 | |
174 VAR mode "working mode" B | |
175 | |
176 VAL @p_ppp - VAL_mode@ | |
177 | |
178 VAR lower_layer "status of lower layer" B | |
179 | |
180 VAL @p_ppp - VAL_lower_layer@ | |
181 | |
182 VAR peer_direction "Direction for the Peer Layer" B | |
183 | |
184 | |
185 VAR prot_direction "Direction for the Protocol Layer" B | |
186 | |
187 | |
188 VAR peer_link_id "Link Id to Peer Layer" L | |
189 | |
190 | |
191 VAR prot_link_id "Link Id to Protocol Layer" L | |
192 | |
193 | |
194 VAR connected_direction "DTI direction" B | |
195 | |
196 VAL @p_ppp - VAL_connected_direction@ | |
197 | |
198 | |
199 | |
200 | |
201 COMP sdu "list of protocol configuration options" | |
202 { | |
203 l_buf ; length of content in bit | |
204 o_buf ; offset of content in bit | |
205 Buf [1] ; protocol configuration options | |
206 } | |
207 | |
208 | |
209 | |
210 COMP peer_channel "PPP-peer communication channel name" | |
211 { | |
212 peer_entity [6] ; PPP-peer communication channel name value | |
213 } | |
214 | |
215 | |
216 | |
217 COMP protocol_channel "network protocol communication channel name" | |
218 { | |
219 protocol_entity [6] ; network protocol communication channel name value | |
220 } | |
221 | |
222 | |
223 | |
224 COMP login "authentication values" | |
225 { | |
226 name_len ; length of name | |
227 name [PPP_LOGIN_NAME_LENGTH] ; login name | |
228 password_len ; length of password | |
229 password [PPP_PASSWORD_LENGTH] ; login password | |
230 } | |
231 | |
232 | |
233 | |
234 | |
235 | |
236 | |
237 ; PPP_ESTABLISH_REQ 0x7500 | |
238 ; PPP_ESTABLISH_CNF 0x3500 | |
239 ; PPP_TERMINATE_REQ 0x7501 | |
240 ; PPP_TERMINATE_IND 0x3501 | |
241 ; PPP_PDP_ACTIVATE_IND 0x3502 | |
242 ; PPP_PDP_ACTIVATE_RES 0x7502 | |
243 ; PPP_PDP_ACTIVATE_REJ 0x7503 | |
244 ; PPP_MODIFICATION_REQ 0x7504 | |
245 ; PPP_MODIFICATION_CNF 0x3503 | |
246 ; PPP_DTI_CONNECTED_IND 0x3504 | |
247 ; NEW_POWER_STATUS 0x7505 | |
248 | |
249 | |
250 | |
251 PRIM PPP_ESTABLISH_REQ 0x7500 | |
252 { | |
253 mode ; working mode | |
254 mru ; maximum receive unit | |
255 ap ; authentication protocol | |
256 login ; authentication values | |
257 accm ; async control character map | |
258 rt ; restart timer | |
259 mc ; max configure | |
260 mt ; max terminate | |
261 mf ; max failure | |
262 ppp_hc ; header compression of PPP connection | |
263 ip ; Internet Protocol address | |
264 dns1 ; primary DNS server address | |
265 dns2 ; secondary DNS server address | |
266 peer_channel ; PPP-peer communication channel name | |
267 protocol_channel ; network protocol communication channel name | |
268 peer_direction ; direction of PPP peer communication channel | |
269 prot_direction ; direction of PPP protocol communication channel | |
270 peer_link_id ; link id for peer channel | |
271 prot_link_id ; link id for protocol channel | |
272 } | |
273 | |
274 | |
275 | |
276 | |
277 | |
278 | |
279 PRIM PPP_ESTABLISH_CNF 0x3500 | |
280 { | |
281 mru ; maximum receive unit | |
282 ppp_hc ; header compression of PPP connection | |
283 msid ; max slot identifier | |
284 ip ; Internet Protocol address | |
285 dns1 ; primary DNS server address | |
286 dns2 ; secondary DNS server address | |
287 } | |
288 | |
289 | |
290 | |
291 | |
292 | |
293 | |
294 PRIM PPP_TERMINATE_REQ 0x7501 | |
295 { | |
296 lower_layer ; status of lower layer | |
297 } | |
298 | |
299 | |
300 | |
301 | |
302 | |
303 | |
304 PRIM PPP_TERMINATE_IND 0x3501 | |
305 { | |
306 ppp_cause ; PPP error cause | |
307 } | |
308 | |
309 | |
310 | |
311 | |
312 | |
313 | |
314 PRIM PPP_PDP_ACTIVATE_IND 0x3502 | |
315 { | |
316 ppp_hc ; header compression of PPP connection | |
317 msid ; max slot identifier | |
318 sdu ; list of protocol configuration options | |
319 } | |
320 | |
321 | |
322 | |
323 | |
324 | |
325 | |
326 PRIM PPP_PDP_ACTIVATE_RES 0x7502 | |
327 { | |
328 ppp_hc ; header compression of PPP connection | |
329 msid ; max slot identifier | |
330 ip ; Internet Protocol address | |
331 sdu ; list of protocol configuration options | |
332 } | |
333 | |
334 | |
335 | |
336 | |
337 | |
338 | |
339 PRIM PPP_PDP_ACTIVATE_REJ 0x7503 | |
340 { | |
341 ppp_cause ; PPP error cause | |
342 } | |
343 | |
344 | |
345 | |
346 | |
347 | |
348 | |
349 PRIM PPP_MODIFICATION_REQ 0x7504 | |
350 { | |
351 ppp_hc ; header compression of PPP connection | |
352 msid ; max slot identifier | |
353 } | |
354 | |
355 | |
356 | |
357 | |
358 | |
359 | |
360 PRIM PPP_MODIFICATION_CNF 0x3503 | |
361 { | |
362 ppp_hc ; header compression of PPP connection | |
363 msid ; max slot identifier | |
364 } | |
365 | |
366 | |
367 | |
368 | |
369 | |
370 | |
371 PRIM PPP_DTI_CONNECTED_IND 0x3504 | |
372 { | |
373 connected_direction ; connection DTI channel direction | |
374 } | |
375 | |
376 | |
377 | |
378 | |
379 | |
380 | |
381 PRIM NEW_POWER_STATUS 0x7505 | |
382 { | |
383 } | |
384 | |
385 | |
386 | |
387 | |
388 | |
389 | |
390 | |
391 | |
392 |