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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.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 EPacketDataRangeMax = 19999 /**<
278 * Marks the end of packet data specific
283 /** Enumeration for packet data AP types */
284 enum TPacketDataApType
286 EPacketDataInternetOnly, ///< Internet-only connection method
287 EPacketDataWAPOnly, ///< WAP-only connection method
288 EPacketDataBoth ///< Connection method supports both WAP and
291 } // namespace CMManager
293 #endif // CMPLUGINPACKETDATADEF_H