CMmPacketContextGsmWcdmaExt Class Reference

class CMmPacketContextGsmWcdmaExt : public CBase

CMmPacketContextGsmWcdmaExt contains mode specific packet context functionality for GSM/WCDMA Packet Data.

Inherits from

  • CMmPacketContextGsmWcdmaExt
Public Member Functions
~CMmPacketContextGsmWcdmaExt()
TInt ActivateL()
TInt AddMediaAuthorizationL(RPacketContext::CTFTMediaAuthorizationV3 *const , TBool &)
TInt AddPacketFilterL(TDes8 *)
voidCompleteActivate(CMmDataPackage *, const TInt)
voidCompleteActivatePhase2(CMmDataPackage *, const TInt)
voidCompleteDeactivate(const TInt)
voidCompleteDelete(const TInt)
voidCompleteGetDataVolumeTransferred(const CMmDataPackage *, const TInt)
voidCompleteInitialiseContext(const TInt)
voidCompleteModifyActiveContext(CMmDataPackage *, const TInt)
voidCompleteNotifyConfigChanged()
voidCompleteNotifyStatusChange(const CMmDataPackage *, const TInt)
voidCompleteSetConfig(const TInt)
RPacketContext::TContextConfigGPRS *ContextConfig()
TBool ContextType()
TInt DeactivateL()
TInt DeleteL()
TInt EnumeratePacketFilters(TInt *)
TInt GetConfig(TPacketDataConfigBase *const )
TInt GetConfigurationData(TInfoName &, RPacketContext::TProtocolType &, TBool &, TInfoName &)
TInt GetDataVolumeTransferredL()
TInt GetDnsInfoEtel(TDes8 *const )
TInt GetPacketFilterInfo(const TInt, TPacketBase *)
TInt InitialiseContextL(RPacketContext::TDataChannelV2 *)
TBool IsContextActivationAllowed()
TInt ModifyActiveContextL()
CMmPacketContextGsmWcdmaExt *NewL(CMmPacketContextTsy *const , CMmPacketServiceTsy *const )
TInt NotifyConfigChanged(TPacketDataConfigBase &)
TInt RemoveMediaAuthorization(RPacketContext::TAuthorizationToken *const )
TInt RemovePacketFilter(const TInt)
TInt SetConfigL(TPacketDataConfigBase *const )
voidSetContextStatusBeforeDeactivation(const RPacketContext::TContextStatus)
Private Member Functions
CMmPacketContextGsmWcdmaExt()
voidActivatePhase2L()
voidConstructL()
voidInitInternalAttributesL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTAddPacketFilterStatusStates { EAddPacketFilterStatusAdd, EAddPacketFilterStatusModify, EAddPacketFilterStatusRemove, EAddPacketFilterStatusUnknown }
Private Attributes
RPacketContext::TContextConfigGPRS *iConfig
TUint iConnectionSpeed
TContextConfiguration iContextConfiguration
TInt iContextConfigurationType
RPacketContext::TContextStatus iContextStatusBeforeDeactivation
RPacketContext::TDataChannelV2 *iDataChannel
CArrayFixFlat< RPacketContext::TPacketFilterV2 > *iFilterArray
TInt iFilterIdTemporaryArray
TAddPacketFilterStatusStates iFilterStatus
CArrayFixFlat< RPacketContext::TPacketFilterV2 > *iFilterTemporaryArray
TBool iIsActivateAllowed
TBool iIsInitialiseAllowed
CMmPacketContextTsy *iMmPacketContextTsy
CMmPacketServiceTsy *iMmPacketServiceTsy
RPacketContext::TContextConfigGPRS iNotifyConfig
RPacketContext::TContextConfigR99_R4 iNotifyConfigR99_R4
TAddPacketFilterStatusStates iPrevFilterStatus
RPacketContext::TContextConfigGPRS *iTempConfig
CArrayFixFlat< RPacketContext::CTFTMediaAuthorizationV3 > *iTempMediaAuthorizationArray
TBool isAddMediaAuthorizationCalledFirstTime

Constructor & Destructor Documentation

CMmPacketContextGsmWcdmaExt()

CMmPacketContextGsmWcdmaExt()[private]

C++ default constructor.

~CMmPacketContextGsmWcdmaExt()

~CMmPacketContextGsmWcdmaExt()[virtual]

Destructor.

Member Functions Documentation

ActivateL()

TInt ActivateL()

Activate a context

ActivatePhase2L()

voidActivatePhase2L()[private]

This is the second phase of context activation.

AddMediaAuthorizationL(RPacketContext::CTFTMediaAuthorizationV3 *const, TBool &)

TInt AddMediaAuthorizationL(RPacketContext::CTFTMediaAuthorizationV3 *const aMediaAuthorization,
TBool &aHasMediaAuthorizationBeenCached
)

Parameters

RPacketContext::CTFTMediaAuthorizationV3 *const aMediaAuthorization
TBool & aHasMediaAuthorizationBeenCached

AddPacketFilterL(TDes8 *)

TInt AddPacketFilterL(TDes8 *aPacketFilter)

Prepare to set or modify packet filter(s) to context

Parameters

TDes8 * aPacketFilterCurrent context TFT filter data

CompleteActivate(CMmDataPackage *, const TInt)

voidCompleteActivate(CMmDataPackage *aDataPackage,
const TIntaResult
)

Complete the activate request

Parameters

CMmDataPackage * aDataPackagePackaged parameters
const TInt aResult

CompleteActivatePhase2(CMmDataPackage *, const TInt)

voidCompleteActivatePhase2(CMmDataPackage *aDataPackage,
const TIntaResult
)

Complete activate phase2

Parameters

CMmDataPackage * aDataPackagePackaged parameters
const TInt aResult

CompleteDeactivate(const TInt)

voidCompleteDeactivate(const TIntaResult)

Complete deactivation of the context.

Parameters

const TInt aResult

CompleteDelete(const TInt)

voidCompleteDelete(const TIntaResult)

Complete deletion of the context.

Parameters

const TInt aResult

CompleteGetDataVolumeTransferred(const CMmDataPackage *, const TInt)

voidCompleteGetDataVolumeTransferred(const CMmDataPackage *aDataPackage,
const TIntaResult
)

Complete the GetDataVolumeTransferred request.

Parameters

const CMmDataPackage * aDataPackagePackaged parameters
const TInt aResult

CompleteInitialiseContext(const TInt)

voidCompleteInitialiseContext(const TIntaResult)

Complete initialise of a context

Parameters

const TInt aResult

CompleteModifyActiveContext(CMmDataPackage *, const TInt)

voidCompleteModifyActiveContext(CMmDataPackage *aDataPackage,
const TIntaResult
)

Complete active context modify operation

Parameters

CMmDataPackage * aDataPackagePackaged parameters
const TInt aResult

CompleteNotifyConfigChanged()

voidCompleteNotifyConfigChanged()

Complete the config changed notification

CompleteNotifyStatusChange(const CMmDataPackage *, const TInt)

voidCompleteNotifyStatusChange(const CMmDataPackage *aDataPackage,
const TIntaResult
)

Complete the config changed notification

Parameters

const CMmDataPackage * aDataPackagePackaged parameters
const TInt aResult

CompleteSetConfig(const TInt)

voidCompleteSetConfig(const TIntaResult)

Complete SetConfig

Parameters

const TInt aResult

ConstructL()

voidConstructL()[private]

Second phase constructor of CMmPacketContextGsmWcdmaExt.

ContextConfig()

RPacketContext::TContextConfigGPRS *ContextConfig()const

Return pointer to context configuration GPRS

ContextType()

TBool ContextType()const

Return context type

DeactivateL()

TInt DeactivateL()

Deactivate a context

DeleteL()

TInt DeleteL()

Delete a context.

EnumeratePacketFilters(TInt *)

TInt EnumeratePacketFilters(TInt *aCount)

Count packet filters from context.

Parameters

TInt * aCount

GetConfig(TPacketDataConfigBase *const)

TInt GetConfig(TPacketDataConfigBase *const aConfig)

Get the context configuration info.

Parameters

TPacketDataConfigBase *const aConfig

GetConfigurationData(TInfoName &, RPacketContext::TProtocolType &, TBool &, TInfoName &)

TInt GetConfigurationData(TInfoName &aContextName,
RPacketContext::TProtocolType &aPdpType,
TBool &aContextType,
TInfoName &aPrimaryContextName
)

Get the context configuration data. This function is called from QoS when the client has called the SetProfileParameters

Parameters

TInfoName & aContextName
RPacketContext::TProtocolType & aPdpType
TBool & aContextType
TInfoName & aPrimaryContextName

GetDataVolumeTransferredL()

TInt GetDataVolumeTransferredL()

Get the data volume transferred

GetDnsInfoEtel(TDes8 *const)

TInt GetDnsInfoEtel(TDes8 *const aDnsInfo)

This method get the DNS info

Parameters

TDes8 *const aDnsInfoContains DNS information in return

GetPacketFilterInfo(const TInt, TPacketBase *)

TInt GetPacketFilterInfo(const TIntaIndex,
TPacketBase *aPacketFilterInfo
)

Gets packet filter info by index

Parameters

const TInt aIndexIndex of the wanted packet filter
TPacketBase * aPacketFilterInfo

InitInternalAttributesL()

voidInitInternalAttributesL()[private]

Initialise miscellaneous internal attributes.

InitialiseContextL(RPacketContext::TDataChannelV2 *)

TInt InitialiseContextL(RPacketContext::TDataChannelV2 *aDataChannel)

Initialise a context

Parameters

RPacketContext::TDataChannelV2 * aDataChannelPointer to packet context channelId information

IsContextActivationAllowed()

TBool IsContextActivationAllowed()const

Tells if context activation is allowed

ModifyActiveContextL()

TInt ModifyActiveContextL()

Add, remove or modify packetfilter(s) and qos to active context.

NewL(CMmPacketContextTsy *const, CMmPacketServiceTsy *const)

CMmPacketContextGsmWcdmaExt *NewL(CMmPacketContextTsy *const aMmPacketContextTsy,
CMmPacketServiceTsy *const aMmPacketServiceTsy
)[static]

Two-phased constructor.

Parameters

CMmPacketContextTsy *const aMmPacketContextTsyPointer to the created object
CMmPacketServiceTsy *const aMmPacketServiceTsyPointer to Servicetsy

NotifyConfigChanged(TPacketDataConfigBase &)

TInt NotifyConfigChanged(TPacketDataConfigBase &aConfig)

Notify when context configuration info has been changed

Parameters

TPacketDataConfigBase & aConfigCurrent configuration mode

RemoveMediaAuthorization(RPacketContext::TAuthorizationToken *const)

TInt RemoveMediaAuthorization(RPacketContext::TAuthorizationToken *const aAuthorizationToken)

Parameters

RPacketContext::TAuthorizationToken *const aAuthorizationToken

RemovePacketFilter(const TInt)

TInt RemovePacketFilter(const TIntaId)

Prepare to remove packet filter(s) from context.

Parameters

const TInt aIdID of the TFT filter to be removed

SetConfigL(TPacketDataConfigBase *const)

TInt SetConfigL(TPacketDataConfigBase *const aConfig)

Configure a context

Parameters

TPacketDataConfigBase *const aConfigCurrent context configuration data

SetContextStatusBeforeDeactivation(const RPacketContext::TContextStatus)

voidSetContextStatusBeforeDeactivation(const RPacketContext::TContextStatusaContextStatusBeforeDeactivation)

Sets iContextStatusBeforeActivation parameter

Parameters

const RPacketContext::TContextStatus aContextStatusBeforeDeactivationContains status of the current context

Member Enumerations Documentation

Enum TAddPacketFilterStatusStates

packet context packet f lter operation states

Enumerators

EAddPacketFilterStatusAdd
EAddPacketFilterStatusModify
EAddPacketFilterStatusRemove
EAddPacketFilterStatusUnknown

Member Data Documentation

RPacketContext::TContextConfigGPRS * iConfig

RPacketContext::TContextConfigGPRS *iConfig[private]

Context configuration data GPRS Own.

TUint iConnectionSpeed

TUint iConnectionSpeed[private]

Connection speed

TContextConfiguration iContextConfiguration

TContextConfiguration iContextConfiguration[private]

Includes Qos, configuration and packet filter data

TInt iContextConfigurationType

TInt iContextConfigurationType[private]

Includes context configuration information

RPacketContext::TContextStatus iContextStatusBeforeDeactivation

RPacketContext::TContextStatus iContextStatusBeforeDeactivation[private]

Context status before deactivation

RPacketContext::TDataChannelV2 * iDataChannel

RPacketContext::TDataChannelV2 *iDataChannel[private]

DataChannel for a packet context

CArrayFixFlat< RPacketContext::TPacketFilterV2 > * iFilterArray

CArrayFixFlat< RPacketContext::TPacketFilterV2 > *iFilterArray[private]

Container to context packet filters Own.

TInt iFilterIdTemporaryArray

TInt iFilterIdTemporaryArray[private]

Temporary container to remove packet filter Id's

TAddPacketFilterStatusStates iFilterStatus

TAddPacketFilterStatusStates iFilterStatus[private]

Filter operation

CArrayFixFlat< RPacketContext::TPacketFilterV2 > * iFilterTemporaryArray

CArrayFixFlat< RPacketContext::TPacketFilterV2 > *iFilterTemporaryArray[private]

Temporary container to context packet filter(s) Own.

TBool iIsActivateAllowed

TBool iIsActivateAllowed[private]

Context activation allowed

TBool iIsInitialiseAllowed

TBool iIsInitialiseAllowed[private]

Context initialization allowed

CMmPacketContextTsy * iMmPacketContextTsy

CMmPacketContextTsy *iMmPacketContextTsy[private]

Pointer to the packet context tsy Not own.

CMmPacketServiceTsy * iMmPacketServiceTsy

CMmPacketServiceTsy *iMmPacketServiceTsy[private]

Pointer to the Packet Service TSY Not own.

RPacketContext::TContextConfigGPRS iNotifyConfig

RPacketContext::TContextConfigGPRS iNotifyConfig[private]

Configuration data for NotifyConfigChanged to GPRS

RPacketContext::TContextConfigR99_R4 iNotifyConfigR99_R4

RPacketContext::TContextConfigR99_R4 iNotifyConfigR99_R4[private]

Configuration data for NotifyConfigChanged to R99_R4

TAddPacketFilterStatusStates iPrevFilterStatus

TAddPacketFilterStatusStates iPrevFilterStatus[private]

Previous filter operation

RPacketContext::TContextConfigGPRS * iTempConfig

RPacketContext::TContextConfigGPRS *iTempConfig[private]

Temporary context configuration data to GPRS

CArrayFixFlat< RPacketContext::CTFTMediaAuthorizationV3 > * iTempMediaAuthorizationArray

CArrayFixFlat< RPacketContext::CTFTMediaAuthorizationV3 > *iTempMediaAuthorizationArray[private]

Temporary container for authorization class Rel5 Own.

TBool isAddMediaAuthorizationCalledFirstTime

TBool isAddMediaAuthorizationCalledFirstTime[private]

Indicator