2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: packet data specific enums
18 #ifndef CMPLUGINPACKETDATADEF_H
19 #define CMPLUGINPACKETDATADEF_H
21 /** ECOM interface UID */
22 const TUint KUidPacketDataBearerType = 0x10207378;
26 /** Packet Data specific connection method attributes */
27 enum TConnectionMethodPacketDataSpecificAttributes
29 EPacketDataSpecificAttributes = 10000, /**<
30 * Marks the beginning of packet
31 * data specific attributes.
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)
42 EPacketDataAPName = 10100, /**<
44 * (String - default: None)
47 EPacketDataPDPType, /**<
48 * PDP type. Values can be one
49 * (RPacketContext::TProtocolType):
52 * (TUint32 - default: EPdpTypeIPv4
58 EPacketDataPDPAddress, /**<
59 * PDP address of phone.
60 * ( String - default: None)
63 EPacketDataReqPrecedence, /**<
64 * Requested quality of service precedence class.
65 * ( TUint32 - default: None)
68 EPacketDataReqDelay, /**<
69 * Requested quality of service delay class.
70 * ( TUint32 - default: None)
73 EPacketDataReliability, /**<
74 * Requested quality of service reliability class.
75 * ( TUint32 - default: None)
78 EPacketDataPeakThroughput, /**<
79 * Requested quality of service peak throughput class.
80 * ( TUint32 - default: None)
83 EPacketDataMeanThroughput, /**<
84 * Requested quality of service mean throughput class.
85 * ( TUint32 - default: None)
88 EPacketDataMinPrecedence, /**<
89 * Minimum quality of service precedence class.
90 * ( TUint32 - default: None)
93 EPacketDataMinDelay, /**<
94 * Minimum quality of service delay class.
95 * ( TUint32 - default: None)
98 EPacketDataMinReliability, /**<
99 * Minimum quality of service reliability class.
100 * ( TUint32 - default: None)
103 EPacketDataMinPeakThroughput, /**<
104 * Minimum quality of service peak throughput class.
105 * ( TUint32 - default: None)
108 EPacketDataMinMeanThroughput, /**<
109 * Minimum quality of service mean throughput class.
110 * ( TUint32 - default: None)
113 EPacketDataDataCompression, /**<
114 * Data compression on?
115 * ( TBool - default: None)
118 EPacketDataHeaderCompression, /**<
119 * IP header compression on?
120 * ( TBool - default: None)
123 EPacketDataUseEdge, /**<
125 * ( TBool - default: None)
128 EPacketDataAnonymousAccess, /**<
129 * Use anonymous access on?
130 * ( TBool - default: None)
133 EPacketDataIFParams, /**<
134 * Interface parameter string.
135 * ( String - default: None)
138 EPacketDataIFNetworks, /**<
139 * Comma separated list of network protocols,
141 * ( String - default: None)
144 EPacketDataIFPromptForAuth, /**<
145 * Prompt user for authentication
146 * username and password?
147 * ( TBool - default: None)
150 EPacketDataIFAuthName, /**<
151 * Authentication username used by PPP.
152 * ( String - default: None)
155 EPacketDataIFAuthPass, /**<
156 * Authentication password used by PPP.
157 * ( String - default: None)
160 EPacketDataIFAuthRetries, /**<
161 * Number of times to retry authentication if it fails.
162 * ( TUint32 - default: None)
165 EPacketDataIPNetmask, /**<
166 * IP net mask of interface.
167 * ( String - default: None)
170 EPacketDataIPGateway, /**<
171 * IP address of gateway
172 * ( String - default: None)
175 EPacketDataIPAddrFromServer, /**<
176 * Get IP addresses (for EPOC) from server?
177 * ( TBool - default: None)
180 EPacketDataIPAddr, /**<
181 * IP address of EPOC.
182 * ( String - default: None)
185 EPacketDataIPDNSAddrFromServer, /**<
186 * Get DNS addresses from server?
187 * ( TBool - default: None)
190 EPacketDataIPNameServer1, /**<
191 * IP Address of primary name server.
192 * ( String - default: None)
195 EPacketDataIPNameServer2, /**<
196 * IP Address of secondary name server.
197 * ( String - default: None)
200 EPacketDataIPIP6DNSAddrFromServer, /**<
201 * Get IP6 DNS addresses from server?
202 * ( TBool - default: None)
205 EPacketDataIPIP6NameServer1, /**<
206 * IP6 Address of primary name server.
207 * ( String - default: None)
210 EPacketDataIPIP6NameServer2, /**<
211 * IP6 Address of secondary name server.
212 * ( String - default: None)
215 EPacketDataIPAddrLeaseValidFrom,/**<
216 * IP address valid from this time, used to store
217 * dynamically assigned address lease info.
218 * ( String - default: None)
221 EPacketDataIPAddrLeaseValidTo, /**<
222 * IP address valid for use until this time,
224 * ( String - default: None)
227 EPacketDataConfigDaemonManagerName, /**<
228 * IP address valid for use until this time,
229 * used to store dynamically assigned address
231 * ( String - default: None)
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)
249 EPacketDataEnableLcpExtension, /**<
250 * Enable LCP extensions?
251 * ( TBool - default: None)
254 EPacketDataDisablePlainTextAuth,/**<
255 * Disable plain text authentication?
256 * ( TBool - default: None)
259 EPacketDataApType, /**<
260 * Service supports Internet only, WAP only or both.
261 * Values can be any of TPacketDataType.
262 * ( TUint32 - default: None)
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)
272 EPacketDataServiceEnableLLMNR, /**<
274 * ( TBool - default: None)
277 EGPRSReqTrafficClass = 10200, /**<
278 * Requested traffic class
279 * Defined in etelqos.h in RPacketQoS::TTrafficClass.
280 * (TUint32 - default: ETrafficClassUnspecified)
283 EGPRSMinTrafficClass, /**<
284 * Minimum acceptable traffic class.
285 * Defined in etelqos.h in RPacketQoS::TTrafficClass.
286 * (TUint32 - default: ETrafficClassUnspecified)
289 EGPRSReqDeliveryOrder, /**<
290 * Requested value for sequential SDU delivery.
291 * Defined in etelqos.h in RPacketQoS::TDeliveryOrder.
292 * (TUint32 - default: EDeliveryOrderUnspecified)
295 GPRSMinDeliveryOrder, /**<
296 * Minimum acceptable value for sequential SDU delivery.
297 * Defined in etelqos.h in RPacketQoS::TDeliveryOrder.
298 * (TUint32 - default: EDeliveryOrderUnspecified)
301 EGPRSReqDeliverErroneousSDU, /**<
302 * Requested value for erroneous SDU delivery.
303 * Defined in etelqos.h in RPacketQoS::TErroneousSDUDelivery.
304 * (TUint32 - default: EErroneousSDUDeliveryUnspecified)
307 EGPRSMinDeliverErroneousSDU, /**<
308 * Minimum acceptable value for erroneous SDU delivery.
309 * Defined in etelqos.h in RPacketQoS::TErroneousSDUDelivery.
310 * (TUint32 - default: EErroneousSDUDeliveryUnspecified)
313 EGPRSReqMaxSDUSize, /**<
314 * Request maximum SDU size.
315 * (TInt32 - default: 0)
318 EGPRSMinAcceptableMaxSDUSize, /**<
319 * Minimum acceptable SDU size.
320 * (TInt32 - default: 0)
323 EGPRSReqMaxUplinkRate, /**<
324 * Requested maximum bit rates on uplink.
325 * (TInt32 - default: 0)
328 EGPRSReqMinUplinkRate, /**<
329 * Requested minimum bit rates on uplink.
330 * (TInt32 - default: 0)
333 EGPRSReqMaxDownlinkRate, /**<
334 * Requested maximum bit rates on downlink.
335 * (TInt32 - default: 0)
338 EGPRSReqMinDownlinkRate, /**<
339 * Requested minimum bit rates on downlink.
340 * (TInt32 - default: 0)
344 * Requested target BER.
345 * Defined in etelqos.h in RPacketQoS::TBitErrorRatio.
346 * (TUint32 - default: EBERUnspecified)
350 * Maximum acceptable target BER.
351 * Defined in etelqos.h in RPacketQoS::TBitErrorRatio.
352 * (TUint32 - default: EBERUnspecified)
355 EGPRSReqSDUErrorRatio, /**<
356 * Requested target SDU error ratio.
357 * Defined in etelqos.h in RPacketQoS::TSDUErrorRatio.
358 * (TUint32 - default: ESDUErrorRatioUnspecified)
361 EGPRSMaxSDUErrorRatio, /**<
362 * Maximum acceptable target SDU error ratio.
363 * Defined in etelqos.h in RPacketQoS::TSDUErrorRatio.
364 * (TUint32 - default: ESDUErrorRatioUnspecified)
367 EGPRSReqTrafficHandlingPriority, /**<
368 * Requested traffic handling priority.
369 * Defined in etelqos.h in RPacketQoS::TTrafficHandlingPriority.
370 * (TUint32 - default: ETrafficPriorityUnspecified)
373 EGPRSMinTrafficHandlingPriority, /**<
374 * Minimum acceptable traffic handling priority.
375 * Defined in etelqos.h in RPacketQoS::TTrafficHandlingPriority.
376 * (TUint32 - default: ETrafficPriorityUnspecified)
379 EGPRSReqTransferDelay, /**<
380 * Requested transfer delay(in milliseconds).
381 * (TInt32 - default: 0)
384 EGPRSMaxTransferDelay, /**<
385 * Maximum acceptable transfer delay(in milliseconds).
386 * (TInt32 - default: 0)
389 EGPRSReqGuaranteedUplinkRate, /**<
390 * Requested guaranteed bit rates on uplink.
391 * (TInt32 - default: 0)
394 EGPRSMinGuaranteedUplinkRate, /**<
395 * Minimum acceptable guaranteed bit rates on uplink.
396 * (TInt32 - default: 0)
399 EGPRSReqGuaranteedDownlinkRate, /**<
400 * Requested guaranteed bit rates on downlink.
401 * (TInt32 - default: 0)
404 EGPRSMinGuaranteedDownlinkRate, /**<
405 * Minimum acceptable guaranteed bit rates on downlink.
406 * (TInt32 - default: 0)
409 EGPRSSignallingIndication, /**<
410 * Signalling indication.
411 * (TBool - default: EFalse)
414 EGPRS_ImCnSignallingIndication, /**<
415 * IP Multimeida System (IMS) Core Network (CN) Signalling Indicator.
416 * (TBool - default: EFalse)
419 EGPRSSourceStatisticsDescriptor, /**<
420 * Static source descriptor.
421 * Defined in etelqos.h in RPacketQoS::TSourceStatisticsDescriptor.
422 * (TUint32 - default: ESourceStatisticsDescriptorUnknown)
426 EPacketDataRangeMax = 19999 /**<
427 * Marks the end of packet data specific
432 /** Enumeration for packet data AP types */
433 enum TPacketDataApType
435 EPacketDataInternetOnly, ///< Internet-only connection method
436 EPacketDataWAPOnly, ///< WAP-only connection method
437 EPacketDataBoth ///< Connection method supports both WAP and
440 } // namespace CMManager
442 #endif // CMPLUGINPACKETDATADEF_H