apengine/apeng/inc/APItemCdmaData.h
changeset 61 8b0c979bbe8c
parent 59 2709c04a4af5
child 70 ac5daea24fb0
equal deleted inserted replaced
59:2709c04a4af5 61:8b0c979bbe8c
     1 /*
       
     2 * Copyright (c) 2002 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:  Declaration of class CApItemCdmaData 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CAPITEMCDMADATA_H
       
    20 #define CAPITEMCDMADATA_H
       
    21 
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * CDMA2000-specific data extension for CApAccessPointItem.
       
    32 * Access Point data which is common to all AP-s (ISP...), are not stored
       
    33 * here.
       
    34 */
       
    35 class CApItemCdmaData :public CBase
       
    36     {
       
    37     public:
       
    38         /**
       
    39         * Two-phased constructor. Leaves on failure
       
    40         * @return The constructed CApItemCdmaData.
       
    41         */
       
    42         static CApItemCdmaData* NewL();
       
    43 
       
    44         /**
       
    45         * Destructor.
       
    46         */
       
    47         virtual ~CApItemCdmaData();
       
    48 
       
    49         /**
       
    50         * C++ default constructor.
       
    51         */
       
    52         CApItemCdmaData();
       
    53 
       
    54         /**
       
    55         * Second-phase constructor.
       
    56         */
       
    57         void ConstructL();
       
    58 
       
    59     public:
       
    60         HBufC*  iIwfName;           ///< IWF name.
       
    61         TUint32 iServiceOption;     ///< Service option.
       
    62         TUint32 iPdpType;           ///< PDP type.
       
    63         HBufC*  iPdpAddress;        ///< PDP address.
       
    64         TUint32 iReqFwdPriority;    ///< Requested forward priority.
       
    65         TUint32 iReqRevPriority;    ///< Requested reverse priority.
       
    66         TUint32 iReqFwdBitrate;     ///< Requested forward bitrate.
       
    67         TUint32 iReqRevBitrate;     ///< Requested reverse bitrate.
       
    68         TUint32 iReqFwdLoss;        ///< Req. forward frame loss rate.
       
    69         TUint32 iReqRevLoss;        ///< Req. reverse frame loss rate.
       
    70         TUint32 iReqFwdMaxDelay;    ///< Requested forward delay.
       
    71         TUint32 iReqRevMaxDelay;    ///< Requested reverse delay.
       
    72         TUint32 iMinFwdBitrate;     ///< Min. acceptable fwd bitrate.
       
    73         TUint32 iMinRevBitrate;     ///< Min. acceptable rev bitrate.
       
    74         TUint32 iAccptFwdLoss;      ///< Max. acc. fwd frame loss rate.
       
    75         TUint32 iAccptRevLoss;      ///< Max. acc. rev frame loss rate.
       
    76         TUint32 iAccptFwdMaxDelay;  ///< Max. acceptable forward delay.
       
    77         TUint32 iAccptRevMaxDelay;  ///< Max. acceptable reverse delay.
       
    78         TUint32 iQosWarningTimeout; ///< Notify user if the requested QOS
       
    79                                     ///< cannot be satisfied for this time in
       
    80                                     ///< microseconds
       
    81         TUint32 iRlpMode;           ///< Transparent or non-transparent
       
    82                                     ///< radio link protocol.
       
    83         // CDMA2000 deprecated Mobile IP fields
       
    84         TBool   iMip;               ///< Attempt to use mobile IP.
       
    85         HBufC*  iHomeAgentAddress;  ///< Home Agent address.
       
    86         TUint32 iMipTimeout;        ///< A normal reconnect (informing the
       
    87                                     ///< user) takes place if both the PPP link
       
    88                                     ///< drops and a change in SID or NID is
       
    89                                     ///< received within this time in
       
    90                                     ///< milliseconds.
       
    91         // CDMA2000 specific CDMA parameters provisioned through OTA and
       
    92         // defined in TIA-683B section 3.5.8
       
    93         // These fields replace the old Mobile IP fields (above).
       
    94         TUint32 iNaiType;               ///< Type of NAI.
       
    95         TUint32 iSimpleIpAuthAlgorithm; ///< SimpleIP auth.algorithm.
       
    96         TUint32 iSimpleIpPapSsHandle;   ///< SimpleIP PAP shared secret handle
       
    97         TUint32 iSimpleIpChapSsHandle;  ///< SimpleIP CHAP shared secret handle
       
    98         TUint32 iMipTBit;               ///< Reverse-tunneling reqd flag.
       
    99         HBufC*  iMipHomeAddress;        ///< Home address.
       
   100         HBufC*  iMipPrimaryHomeAgent;   ///< IP address of mobile node's
       
   101                                         ///< primary home agent.
       
   102         HBufC*  iMipSecondaryHomeAgent; ///< IP address of mobile node's
       
   103                                         ///< secondary home agent.
       
   104         TUint32 iMipMnAaaAuthAlgorithm; ///< MN-AAA auth algorithm.
       
   105         TUint32 iMipMnAaaSpi;           ///< MN-AAA security param index.
       
   106         TUint32 iMipMnAaaSsHandle;      ///< MN-AAA shared secret handle.
       
   107         TUint32 iMipMnHaAuthAlgorithm;  ///< MN-HA auth algorithm.
       
   108         TUint32 iMipMnHaSpi;            ///< MN-HA security param index.
       
   109         TUint32 iMipMnHaSsHandle;       ///< MN-HA shared secret handle.
       
   110 
       
   111     };
       
   112 
       
   113 #endif      // CAPITEMCDMADATA_H
       
   114 
       
   115 // End of File