comparison cdg211/prim/ppp.pdf @ 4:56abf6cf8a0b

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