|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: packet data specific enums |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CMPLUGINPACKETDATADEF_H |
|
19 #define CMPLUGINPACKETDATADEF_H |
|
20 |
|
21 /** ECOM interface UID */ |
|
22 const TUint KUidPacketDataBearerType = 0x10207378; |
|
23 |
|
24 namespace CMManager |
|
25 { |
|
26 /** Packet Data specific connection method attributes */ |
|
27 enum TConnectionMethodPacketDataSpecificAttributes |
|
28 { |
|
29 EPacketDataSpecificAttributes = 10000, /**< |
|
30 * Marks the beginning of packet |
|
31 * data specific attributes. |
|
32 */ |
|
33 |
|
34 EPacketDataOutGoing, /**< |
|
35 * Indicates the direction of this connection method. |
|
36 * Value ETrue means outgoing, EFalse is incoming. |
|
37 * Can be changed dynamically, |
|
38 * but every packet data specific data is lost then. |
|
39 * (TBool - default: ETrue) |
|
40 */ |
|
41 |
|
42 EPacketDataAPName = 10100, /**< |
|
43 * Access point name. |
|
44 * (String - default: None) |
|
45 */ |
|
46 |
|
47 EPacketDataPDPType, /**< |
|
48 * PDP type. Values can be one |
|
49 * (RPacketContext::TProtocolType): |
|
50 * - EPdpTypeIPv4 or |
|
51 * - EPdpTypeIPv6 |
|
52 * (TUint32 - default: EPdpTypeIPv4 |
|
53 * if IPv4 only |
|
54 * EPdpTypeIPv6 |
|
55 * if IPv6 supported ) |
|
56 */ |
|
57 |
|
58 EPacketDataPDPAddress, /**< |
|
59 * PDP address of phone. |
|
60 * ( String - default: None) |
|
61 */ |
|
62 |
|
63 EPacketDataReqPrecedence, /**< |
|
64 * Requested quality of service precedence class. |
|
65 * ( TUint32 - default: None) |
|
66 */ |
|
67 |
|
68 EPacketDataReqDelay, /**< |
|
69 * Requested quality of service delay class. |
|
70 * ( TUint32 - default: None) |
|
71 */ |
|
72 |
|
73 EPacketDataReliability, /**< |
|
74 * Requested quality of service reliability class. |
|
75 * ( TUint32 - default: None) |
|
76 */ |
|
77 |
|
78 EPacketDataPeakThroughput, /**< |
|
79 * Requested quality of service peak throughput class. |
|
80 * ( TUint32 - default: None) |
|
81 */ |
|
82 |
|
83 EPacketDataMeanThroughput, /**< |
|
84 * Requested quality of service mean throughput class. |
|
85 * ( TUint32 - default: None) |
|
86 */ |
|
87 |
|
88 EPacketDataMinPrecedence, /**< |
|
89 * Minimum quality of service precedence class. |
|
90 * ( TUint32 - default: None) |
|
91 */ |
|
92 |
|
93 EPacketDataMinDelay, /**< |
|
94 * Minimum quality of service delay class. |
|
95 * ( TUint32 - default: None) |
|
96 */ |
|
97 |
|
98 EPacketDataMinReliability, /**< |
|
99 * Minimum quality of service reliability class. |
|
100 * ( TUint32 - default: None) |
|
101 */ |
|
102 |
|
103 EPacketDataMinPeakThroughput, /**< |
|
104 * Minimum quality of service peak throughput class. |
|
105 * ( TUint32 - default: None) |
|
106 */ |
|
107 |
|
108 EPacketDataMinMeanThroughput, /**< |
|
109 * Minimum quality of service mean throughput class. |
|
110 * ( TUint32 - default: None) |
|
111 */ |
|
112 |
|
113 EPacketDataDataCompression, /**< |
|
114 * Data compression on? |
|
115 * ( TBool - default: None) |
|
116 */ |
|
117 |
|
118 EPacketDataHeaderCompression, /**< |
|
119 * IP header compression on? |
|
120 * ( TBool - default: None) |
|
121 */ |
|
122 |
|
123 EPacketDataUseEdge, /**< |
|
124 * EDGE parameter. |
|
125 * ( TBool - default: None) |
|
126 */ |
|
127 |
|
128 EPacketDataAnonymousAccess, /**< |
|
129 * Use anonymous access on? |
|
130 * ( TBool - default: None) |
|
131 */ |
|
132 |
|
133 EPacketDataIFParams, /**< |
|
134 * Interface parameter string. |
|
135 * ( String - default: None) |
|
136 */ |
|
137 |
|
138 EPacketDataIFNetworks, /**< |
|
139 * Comma separated list of network protocols, |
|
140 * e.g. "PPP". |
|
141 * ( String - default: None) |
|
142 */ |
|
143 |
|
144 EPacketDataIFPromptForAuth, /**< |
|
145 * Prompt user for authentication |
|
146 * username and password? |
|
147 * ( TBool - default: None) |
|
148 */ |
|
149 |
|
150 EPacketDataIFAuthName, /**< |
|
151 * Authentication username used by PPP. |
|
152 * ( String - default: None) |
|
153 */ |
|
154 |
|
155 EPacketDataIFAuthPass, /**< |
|
156 * Authentication password used by PPP. |
|
157 * ( String - default: None) |
|
158 */ |
|
159 |
|
160 EPacketDataIFAuthRetries, /**< |
|
161 * Number of times to retry authentication if it fails. |
|
162 * ( TUint32 - default: None) |
|
163 */ |
|
164 |
|
165 EPacketDataIPNetmask, /**< |
|
166 * IP net mask of interface. |
|
167 * ( String - default: None) |
|
168 */ |
|
169 |
|
170 EPacketDataIPGateway, /**< |
|
171 * IP address of gateway |
|
172 * ( String - default: None) |
|
173 */ |
|
174 |
|
175 EPacketDataIPAddrFromServer, /**< |
|
176 * Get IP addresses (for EPOC) from server? |
|
177 * ( TBool - default: None) |
|
178 */ |
|
179 |
|
180 EPacketDataIPAddr, /**< |
|
181 * IP address of EPOC. |
|
182 * ( String - default: None) |
|
183 */ |
|
184 |
|
185 EPacketDataIPDNSAddrFromServer, /**< |
|
186 * Get DNS addresses from server? |
|
187 * ( TBool - default: None) |
|
188 */ |
|
189 |
|
190 EPacketDataIPNameServer1, /**< |
|
191 * IP Address of primary name server. |
|
192 * ( String - default: None) |
|
193 */ |
|
194 |
|
195 EPacketDataIPNameServer2, /**< |
|
196 * IP Address of secondary name server. |
|
197 * ( String - default: None) |
|
198 */ |
|
199 |
|
200 EPacketDataIPIP6DNSAddrFromServer, /**< |
|
201 * Get IP6 DNS addresses from server? |
|
202 * ( TBool - default: None) |
|
203 */ |
|
204 |
|
205 EPacketDataIPIP6NameServer1, /**< |
|
206 * IP6 Address of primary name server. |
|
207 * ( String - default: None) |
|
208 */ |
|
209 |
|
210 EPacketDataIPIP6NameServer2, /**< |
|
211 * IP6 Address of secondary name server. |
|
212 * ( String - default: None) |
|
213 */ |
|
214 |
|
215 EPacketDataIPAddrLeaseValidFrom,/**< |
|
216 * IP address valid from this time, used to store |
|
217 * dynamically assigned address lease info. |
|
218 * ( String - default: None) |
|
219 */ |
|
220 |
|
221 EPacketDataIPAddrLeaseValidTo, /**< |
|
222 * IP address valid for use until this time, |
|
223 * used to store. |
|
224 * ( String - default: None) |
|
225 */ |
|
226 |
|
227 EPacketDataConfigDaemonManagerName, /**< |
|
228 * IP address valid for use until this time, |
|
229 * used to store dynamically assigned address |
|
230 * lease info. |
|
231 * ( String - default: None) |
|
232 */ |
|
233 |
|
234 EPacketDataConfigDaemonName, /**< |
|
235 * Name of the ECOM configuration daemon manager |
|
236 * component. This component interfaces with the |
|
237 * server identified in ISP_CONFIG_DAEMON_NAME. |
|
238 * If specified, ISP_CONFIG_DAEMON_NAME |
|
239 * should also be specified. |
|
240 * Name of the configuration daemon server. |
|
241 * This server is used to provide further |
|
242 * configuration for a connection, |
|
243 * e.g. dynamic IP address assignment. |
|
244 * If specified, ISP_CONFIG_DAEMON_MANAGER_NAME |
|
245 * should also be specified. |
|
246 * ( String - default: None) |
|
247 */ |
|
248 |
|
249 EPacketDataEnableLcpExtension, /**< |
|
250 * Enable LCP extensions? |
|
251 * ( TBool - default: None) |
|
252 */ |
|
253 |
|
254 EPacketDataDisablePlainTextAuth,/**< |
|
255 * Disable plain text authentication? |
|
256 * ( TBool - default: None) |
|
257 */ |
|
258 |
|
259 EPacketDataApType, /**< |
|
260 * Service supports Internet only, WAP only or both. |
|
261 * Values can be any of TPacketDataType. |
|
262 * ( TUint32 - default: None) |
|
263 */ |
|
264 |
|
265 EPacketDataQoSWarningTimeOut, /**< |
|
266 * If the requested QOS can not be satisfied warn |
|
267 * the user after this time in microseconds. |
|
268 * Set to 0xffffffff to disable. |
|
269 * ( TUint32 - default: None) |
|
270 */ |
|
271 |
|
272 EPacketDataServiceEnableLLMNR, /**< |
|
273 * Enable LLMNR? |
|
274 * ( TBool - default: None) |
|
275 */ |
|
276 |
|
277 EGPRSReqTrafficClass = 10200, /**< |
|
278 * Requested traffic class |
|
279 * Defined in etelqos.h in RPacketQoS::TTrafficClass. |
|
280 * (TUint32 - default: ETrafficClassUnspecified) |
|
281 */ |
|
282 |
|
283 EGPRSMinTrafficClass, /**< |
|
284 * Minimum acceptable traffic class. |
|
285 * Defined in etelqos.h in RPacketQoS::TTrafficClass. |
|
286 * (TUint32 - default: ETrafficClassUnspecified) |
|
287 */ |
|
288 |
|
289 EGPRSReqDeliveryOrder, /**< |
|
290 * Requested value for sequential SDU delivery. |
|
291 * Defined in etelqos.h in RPacketQoS::TDeliveryOrder. |
|
292 * (TUint32 - default: EDeliveryOrderUnspecified) |
|
293 */ |
|
294 |
|
295 GPRSMinDeliveryOrder, /**< |
|
296 * Minimum acceptable value for sequential SDU delivery. |
|
297 * Defined in etelqos.h in RPacketQoS::TDeliveryOrder. |
|
298 * (TUint32 - default: EDeliveryOrderUnspecified) |
|
299 */ |
|
300 |
|
301 EGPRSReqDeliverErroneousSDU, /**< |
|
302 * Requested value for erroneous SDU delivery. |
|
303 * Defined in etelqos.h in RPacketQoS::TErroneousSDUDelivery. |
|
304 * (TUint32 - default: EErroneousSDUDeliveryUnspecified) |
|
305 */ |
|
306 |
|
307 EGPRSMinDeliverErroneousSDU, /**< |
|
308 * Minimum acceptable value for erroneous SDU delivery. |
|
309 * Defined in etelqos.h in RPacketQoS::TErroneousSDUDelivery. |
|
310 * (TUint32 - default: EErroneousSDUDeliveryUnspecified) |
|
311 */ |
|
312 |
|
313 EGPRSReqMaxSDUSize, /**< |
|
314 * Request maximum SDU size. |
|
315 * (TInt32 - default: 0) |
|
316 */ |
|
317 |
|
318 EGPRSMinAcceptableMaxSDUSize, /**< |
|
319 * Minimum acceptable SDU size. |
|
320 * (TInt32 - default: 0) |
|
321 */ |
|
322 |
|
323 EGPRSReqMaxUplinkRate, /**< |
|
324 * Requested maximum bit rates on uplink. |
|
325 * (TInt32 - default: 0) |
|
326 */ |
|
327 |
|
328 EGPRSReqMinUplinkRate, /**< |
|
329 * Requested minimum bit rates on uplink. |
|
330 * (TInt32 - default: 0) |
|
331 */ |
|
332 |
|
333 EGPRSReqMaxDownlinkRate, /**< |
|
334 * Requested maximum bit rates on downlink. |
|
335 * (TInt32 - default: 0) |
|
336 */ |
|
337 |
|
338 EGPRSReqMinDownlinkRate, /**< |
|
339 * Requested minimum bit rates on downlink. |
|
340 * (TInt32 - default: 0) |
|
341 */ |
|
342 |
|
343 EGPRSReqBER, /**< |
|
344 * Requested target BER. |
|
345 * Defined in etelqos.h in RPacketQoS::TBitErrorRatio. |
|
346 * (TUint32 - default: EBERUnspecified) |
|
347 */ |
|
348 |
|
349 EGPRSMaxBER, /**< |
|
350 * Maximum acceptable target BER. |
|
351 * Defined in etelqos.h in RPacketQoS::TBitErrorRatio. |
|
352 * (TUint32 - default: EBERUnspecified) |
|
353 */ |
|
354 |
|
355 EGPRSReqSDUErrorRatio, /**< |
|
356 * Requested target SDU error ratio. |
|
357 * Defined in etelqos.h in RPacketQoS::TSDUErrorRatio. |
|
358 * (TUint32 - default: ESDUErrorRatioUnspecified) |
|
359 */ |
|
360 |
|
361 EGPRSMaxSDUErrorRatio, /**< |
|
362 * Maximum acceptable target SDU error ratio. |
|
363 * Defined in etelqos.h in RPacketQoS::TSDUErrorRatio. |
|
364 * (TUint32 - default: ESDUErrorRatioUnspecified) |
|
365 */ |
|
366 |
|
367 EGPRSReqTrafficHandlingPriority, /**< |
|
368 * Requested traffic handling priority. |
|
369 * Defined in etelqos.h in RPacketQoS::TTrafficHandlingPriority. |
|
370 * (TUint32 - default: ETrafficPriorityUnspecified) |
|
371 */ |
|
372 |
|
373 EGPRSMinTrafficHandlingPriority, /**< |
|
374 * Minimum acceptable traffic handling priority. |
|
375 * Defined in etelqos.h in RPacketQoS::TTrafficHandlingPriority. |
|
376 * (TUint32 - default: ETrafficPriorityUnspecified) |
|
377 */ |
|
378 |
|
379 EGPRSReqTransferDelay, /**< |
|
380 * Requested transfer delay(in milliseconds). |
|
381 * (TInt32 - default: 0) |
|
382 */ |
|
383 |
|
384 EGPRSMaxTransferDelay, /**< |
|
385 * Maximum acceptable transfer delay(in milliseconds). |
|
386 * (TInt32 - default: 0) |
|
387 */ |
|
388 |
|
389 EGPRSReqGuaranteedUplinkRate, /**< |
|
390 * Requested guaranteed bit rates on uplink. |
|
391 * (TInt32 - default: 0) |
|
392 */ |
|
393 |
|
394 EGPRSMinGuaranteedUplinkRate, /**< |
|
395 * Minimum acceptable guaranteed bit rates on uplink. |
|
396 * (TInt32 - default: 0) |
|
397 */ |
|
398 |
|
399 EGPRSReqGuaranteedDownlinkRate, /**< |
|
400 * Requested guaranteed bit rates on downlink. |
|
401 * (TInt32 - default: 0) |
|
402 */ |
|
403 |
|
404 EGPRSMinGuaranteedDownlinkRate, /**< |
|
405 * Minimum acceptable guaranteed bit rates on downlink. |
|
406 * (TInt32 - default: 0) |
|
407 */ |
|
408 |
|
409 EGPRSSignallingIndication, /**< |
|
410 * Signalling indication. |
|
411 * (TBool - default: EFalse) |
|
412 */ |
|
413 |
|
414 EGPRS_ImCnSignallingIndication, /**< |
|
415 * IP Multimeida System (IMS) Core Network (CN) Signalling Indicator. |
|
416 * (TBool - default: EFalse) |
|
417 */ |
|
418 |
|
419 EGPRSSourceStatisticsDescriptor, /**< |
|
420 * Static source descriptor. |
|
421 * Defined in etelqos.h in RPacketQoS::TSourceStatisticsDescriptor. |
|
422 * (TUint32 - default: ESourceStatisticsDescriptorUnknown) |
|
423 */ |
|
424 |
|
425 |
|
426 EPacketDataRangeMax = 19999 /**< |
|
427 * Marks the end of packet data specific |
|
428 * attributes. |
|
429 */ |
|
430 }; |
|
431 |
|
432 /** Enumeration for packet data AP types */ |
|
433 enum TPacketDataApType |
|
434 { |
|
435 EPacketDataInternetOnly, ///< Internet-only connection method |
|
436 EPacketDataWAPOnly, ///< WAP-only connection method |
|
437 EPacketDataBoth ///< Connection method supports both WAP and |
|
438 ///< Internet |
|
439 }; |
|
440 } // namespace CMManager |
|
441 |
|
442 #endif // CMPLUGINPACKETDATADEF_H |