1.1 --- a/epoc32/include/mw/cmpluginpacketdatadef.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/cmpluginpacketdatadef.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,293 @@
1.4 -cmpluginpacketdatadef.h
1.5 +/*
1.6 +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: packet data specific enums
1.19 +*
1.20 +*/
1.21 +
1.22 +#ifndef CMPLUGINPACKETDATADEF_H
1.23 +#define CMPLUGINPACKETDATADEF_H
1.24 +
1.25 +/** ECOM interface UID */
1.26 +const TUint KUidPacketDataBearerType = 0x10207378;
1.27 +
1.28 +namespace CMManager
1.29 + {
1.30 + /** Packet Data specific connection method attributes */
1.31 +enum TConnectionMethodPacketDataSpecificAttributes
1.32 + {
1.33 + EPacketDataSpecificAttributes = 10000, /**<
1.34 + * Marks the beginning of packet
1.35 + * data specific attributes.
1.36 + */
1.37 +
1.38 + EPacketDataOutGoing, /**<
1.39 + * Indicates the direction of this connection method.
1.40 + * Value ETrue means outgoing, EFalse is incoming.
1.41 + * Can be changed dynamically,
1.42 + * but every packet data specific data is lost then.
1.43 + * (TBool - default: ETrue)
1.44 + */
1.45 +
1.46 + EPacketDataAPName = 10100, /**<
1.47 + * Access point name.
1.48 + * (String - default: None)
1.49 + */
1.50 +
1.51 + EPacketDataPDPType, /**<
1.52 + * PDP type. Values can be one
1.53 + * (RPacketContext::TProtocolType):
1.54 + * - EPdpTypeIPv4 or
1.55 + * - EPdpTypeIPv6
1.56 + * (TUint32 - default: EPdpTypeIPv4
1.57 + * if IPv4 only
1.58 + * EPdpTypeIPv6
1.59 + * if IPv6 supported )
1.60 + */
1.61 +
1.62 + EPacketDataPDPAddress, /**<
1.63 + * PDP address of phone.
1.64 + * ( String - default: None)
1.65 + */
1.66 +
1.67 + EPacketDataReqPrecedence, /**<
1.68 + * Requested quality of service precedence class.
1.69 + * ( TUint32 - default: None)
1.70 + */
1.71 +
1.72 + EPacketDataReqDelay, /**<
1.73 + * Requested quality of service delay class.
1.74 + * ( TUint32 - default: None)
1.75 + */
1.76 +
1.77 + EPacketDataReliability, /**<
1.78 + * Requested quality of service reliability class.
1.79 + * ( TUint32 - default: None)
1.80 + */
1.81 +
1.82 + EPacketDataPeakThroughput, /**<
1.83 + * Requested quality of service peak throughput class.
1.84 + * ( TUint32 - default: None)
1.85 + */
1.86 +
1.87 + EPacketDataMeanThroughput, /**<
1.88 + * Requested quality of service mean throughput class.
1.89 + * ( TUint32 - default: None)
1.90 + */
1.91 +
1.92 + EPacketDataMinPrecedence, /**<
1.93 + * Minimum quality of service precedence class.
1.94 + * ( TUint32 - default: None)
1.95 + */
1.96 +
1.97 + EPacketDataMinDelay, /**<
1.98 + * Minimum quality of service delay class.
1.99 + * ( TUint32 - default: None)
1.100 + */
1.101 +
1.102 + EPacketDataMinReliability, /**<
1.103 + * Minimum quality of service reliability class.
1.104 + * ( TUint32 - default: None)
1.105 + */
1.106 +
1.107 + EPacketDataMinPeakThroughput, /**<
1.108 + * Minimum quality of service peak throughput class.
1.109 + * ( TUint32 - default: None)
1.110 + */
1.111 +
1.112 + EPacketDataMinMeanThroughput, /**<
1.113 + * Minimum quality of service mean throughput class.
1.114 + * ( TUint32 - default: None)
1.115 + */
1.116 +
1.117 + EPacketDataDataCompression, /**<
1.118 + * Data compression on?
1.119 + * ( TBool - default: None)
1.120 + */
1.121 +
1.122 + EPacketDataHeaderCompression, /**<
1.123 + * IP header compression on?
1.124 + * ( TBool - default: None)
1.125 + */
1.126 +
1.127 + EPacketDataUseEdge, /**<
1.128 + * EDGE parameter.
1.129 + * ( TBool - default: None)
1.130 + */
1.131 +
1.132 + EPacketDataAnonymousAccess, /**<
1.133 + * Use anonymous access on?
1.134 + * ( TBool - default: None)
1.135 + */
1.136 +
1.137 + EPacketDataIFParams, /**<
1.138 + * Interface parameter string.
1.139 + * ( String - default: None)
1.140 + */
1.141 +
1.142 + EPacketDataIFNetworks, /**<
1.143 + * Comma separated list of network protocols,
1.144 + * e.g. "PPP".
1.145 + * ( String - default: None)
1.146 + */
1.147 +
1.148 + EPacketDataIFPromptForAuth, /**<
1.149 + * Prompt user for authentication
1.150 + * username and password?
1.151 + * ( TBool - default: None)
1.152 + */
1.153 +
1.154 + EPacketDataIFAuthName, /**<
1.155 + * Authentication username used by PPP.
1.156 + * ( String - default: None)
1.157 + */
1.158 +
1.159 + EPacketDataIFAuthPass, /**<
1.160 + * Authentication password used by PPP.
1.161 + * ( String - default: None)
1.162 + */
1.163 +
1.164 + EPacketDataIFAuthRetries, /**<
1.165 + * Number of times to retry authentication if it fails.
1.166 + * ( TUint32 - default: None)
1.167 + */
1.168 +
1.169 + EPacketDataIPNetmask, /**<
1.170 + * IP net mask of interface.
1.171 + * ( String - default: None)
1.172 + */
1.173 +
1.174 + EPacketDataIPGateway, /**<
1.175 + * IP address of gateway
1.176 + * ( String - default: None)
1.177 + */
1.178 +
1.179 + EPacketDataIPAddrFromServer, /**<
1.180 + * Get IP addresses (for EPOC) from server?
1.181 + * ( TBool - default: None)
1.182 + */
1.183 +
1.184 + EPacketDataIPAddr, /**<
1.185 + * IP address of EPOC.
1.186 + * ( String - default: None)
1.187 + */
1.188 +
1.189 + EPacketDataIPDNSAddrFromServer, /**<
1.190 + * Get DNS addresses from server?
1.191 + * ( TBool - default: None)
1.192 + */
1.193 +
1.194 + EPacketDataIPNameServer1, /**<
1.195 + * IP Address of primary name server.
1.196 + * ( String - default: None)
1.197 + */
1.198 +
1.199 + EPacketDataIPNameServer2, /**<
1.200 + * IP Address of secondary name server.
1.201 + * ( String - default: None)
1.202 + */
1.203 +
1.204 + EPacketDataIPIP6DNSAddrFromServer, /**<
1.205 + * Get IP6 DNS addresses from server?
1.206 + * ( TBool - default: None)
1.207 + */
1.208 +
1.209 + EPacketDataIPIP6NameServer1, /**<
1.210 + * IP6 Address of primary name server.
1.211 + * ( String - default: None)
1.212 + */
1.213 +
1.214 + EPacketDataIPIP6NameServer2, /**<
1.215 + * IP6 Address of secondary name server.
1.216 + * ( String - default: None)
1.217 + */
1.218 +
1.219 + EPacketDataIPAddrLeaseValidFrom,/**<
1.220 + * IP address valid from this time, used to store
1.221 + * dynamically assigned address lease info.
1.222 + * ( String - default: None)
1.223 + */
1.224 +
1.225 + EPacketDataIPAddrLeaseValidTo, /**<
1.226 + * IP address valid for use until this time,
1.227 + * used to store.
1.228 + * ( String - default: None)
1.229 + */
1.230 +
1.231 + EPacketDataConfigDaemonManagerName, /**<
1.232 + * IP address valid for use until this time,
1.233 + * used to store dynamically assigned address
1.234 + * lease info.
1.235 + * ( String - default: None)
1.236 + */
1.237 +
1.238 + EPacketDataConfigDaemonName, /**<
1.239 + * Name of the ECOM configuration daemon manager
1.240 + * component. This component interfaces with the
1.241 + * server identified in ISP_CONFIG_DAEMON_NAME.
1.242 + * If specified, ISP_CONFIG_DAEMON_NAME
1.243 + * should also be specified.
1.244 + * Name of the configuration daemon server.
1.245 + * This server is used to provide further
1.246 + * configuration for a connection,
1.247 + * e.g. dynamic IP address assignment.
1.248 + * If specified, ISP_CONFIG_DAEMON_MANAGER_NAME
1.249 + * should also be specified.
1.250 + * ( String - default: None)
1.251 + */
1.252 +
1.253 + EPacketDataEnableLcpExtension, /**<
1.254 + * Enable LCP extensions?
1.255 + * ( TBool - default: None)
1.256 + */
1.257 +
1.258 + EPacketDataDisablePlainTextAuth,/**<
1.259 + * Disable plain text authentication?
1.260 + * ( TBool - default: None)
1.261 + */
1.262 +
1.263 + EPacketDataApType, /**<
1.264 + * Service supports Internet only, WAP only or both.
1.265 + * Values can be any of TPacketDataType.
1.266 + * ( TUint32 - default: None)
1.267 + */
1.268 +
1.269 + EPacketDataQoSWarningTimeOut, /**<
1.270 + * If the requested QOS can not be satisfied warn
1.271 + * the user after this time in microseconds.
1.272 + * Set to 0xffffffff to disable.
1.273 + * ( TUint32 - default: None)
1.274 + */
1.275 +
1.276 + EPacketDataServiceEnableLLMNR, /**<
1.277 + * Enable LLMNR?
1.278 + * ( TBool - default: None)
1.279 + */
1.280 +
1.281 + EPacketDataRangeMax = 19999 /**<
1.282 + * Marks the end of packet data specific
1.283 + * attributes.
1.284 + */
1.285 + };
1.286 +
1.287 +/** Enumeration for packet data AP types */
1.288 +enum TPacketDataApType
1.289 + {
1.290 + EPacketDataInternetOnly, ///< Internet-only connection method
1.291 + EPacketDataWAPOnly, ///< WAP-only connection method
1.292 + EPacketDataBoth ///< Connection method supports both WAP and
1.293 + ///< Internet
1.294 + };
1.295 +} // namespace CMManager
1.296 +
1.297 +#endif // CMPLUGINPACKETDATADEF_H