RPcmNetCardIf Class Reference

class RPcmNetCardIf : public RBusLogicalChannel

User mode interface for ethernet transfer over WLAN

Since
S60 v3.1

Inherits from

Public Member Functions
TBool AddTxFrame(TDataBuffer *)
TDataBuffer *AllocTxBuffer(TUint)
TInt GetConfig(TDes8 &)
TInt InitialiseBuffers(RFrameXferBlockProtocolStack *&)
TInt Open()
voidReadCancel()
TInt ReleaseBuffers()
voidRequestFrame(TRequestStatus &)
voidResumeTx(TRequestStatus &)
voidResumeTxCancel()
TVersion VersionRequired()
Inherited Functions
RBusLogicalChannel::DoCancel(TUint)
RBusLogicalChannel::DoControl(TInt)
RBusLogicalChannel::DoControl(TInt,TAny *)
RBusLogicalChannel::DoControl(TInt,TAny *,TAny *)
RBusLogicalChannel::DoCreate(const TDesC &,const TVersion &,TInt,const TDesC *,const TDesC8 *,TOwnerType,TBool)
RBusLogicalChannel::DoRequest(TInt,TRequestStatus &)
RBusLogicalChannel::DoRequest(TInt,TRequestStatus &,TAny *)
RBusLogicalChannel::DoRequest(TInt,TRequestStatus &,TAny *,TAny *)
RBusLogicalChannel::DoSvControl(TInt)
RBusLogicalChannel::DoSvControl(TInt,TAny *)
RBusLogicalChannel::DoSvControl(TInt,TAny *,TAny *)
RBusLogicalChannel::Open(RMessagePtr2,TInt,TOwnerType)
RBusLogicalChannel::Open(TInt,TOwnerType)
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RHandleBase::SetReturnedHandle(TInt)
RHandleBase::SetReturnedHandle(TInt,RHandleBase &)
Public Member Enumerations
enumTControl { EControlGetConfig, EControlReadCancel, EControlResumeTxCancel, ESvControlInitBuffers, ESvControlFreeBuffers }
enumTControlFast { EControlFastAllocTxBuffer = 0x0F000000, EControlFastAddTxFrame }
enumTRequest { ERequestRead, EResumeTx }
Inherited Enumerations
RHandleBase:TAttributes
Private Attributes
RChunk iSharedMemoryChunk
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

AddTxFrame(TDataBuffer *)

TBool AddTxFrame(TDataBuffer *aPacket)[inline]

Add the specified Tx frame (contained in the buffer allocated from the shared memory) to the relevant Tx queue according to the frame's AC (i.e. priority). The frame will automatically get transmitted in its turn.

Since
S60 5.2

Parameters

TDataBuffer * aPacketThe frame to add

AllocTxBuffer(TUint)

TDataBuffer *AllocTxBuffer(TUintaLength)[inline]

Allocate a Tx buffer from the shared memory.

Since
S60 5.2

Parameters

TUint aLengthLength of the requested Tx buffer in bytes

GetConfig(TDes8 &)

TInt GetConfig(TDes8 &aConfig)[inline]

Retrieve configuration information

Since
S60 3.1

Parameters

TDes8 & aConfigbuffer for configuration info

InitialiseBuffers(RFrameXferBlockProtocolStack *&)

TInt InitialiseBuffers(RFrameXferBlockProtocolStack *&aFrameXferBlock)[inline]

Allocate memory for FrameXferBlock to be used in data frame Tx- and Rx-operations. Does necessary memory allocation and maps the physical memory to calling process's address space so that the calling process is able to access the memory.

Since
S60 3.1

Parameters

RFrameXferBlockProtocolStack *& aFrameXferBlockFrameXferBlock to be initialized by the device driver

Open()

TInt Open()[inline]

Open a channel

Since
S60 3.1

ReadCancel()

voidReadCancel()[inline]

Cancel read request.

Since
S60 3.1

ReleaseBuffers()

TInt ReleaseBuffers()[inline]

Unmap memory mapped by InitiliazeBuffers method from the client process's address space and deallocate it. Every call to InitialiseBuffers must be matched by a call to ReleaseBuffers.

Since
S60 3.1

RequestFrame(TRequestStatus &)

voidRequestFrame(TRequestStatus &aStatus)[inline]

Asynchronous frame read function

Since
S60 3.1

Parameters

TRequestStatus & aStatusa TRequestStatus

ResumeTx(TRequestStatus &)

voidResumeTx(TRequestStatus &aStatus)[inline]

Asynchronous request to get notified once Tx from the client is once again allowed.

Since
S60 5.2

Parameters

TRequestStatus & aStatusa TRequestStatus

ResumeTxCancel()

voidResumeTxCancel()[inline]

Cancel Resume Tx request.

Since
S60 5.2

VersionRequired()

TVersion VersionRequired()const [inline]

Get version numbering information.

Since
S60 3.1

Member Enumerations Documentation

Enum TControl

The synchronous call types

Enumerators

EControlGetConfig
EControlReadCancel
EControlResumeTxCancel
ESvControlInitBuffers
ESvControlFreeBuffers

Enum TControlFast

Calls executed in the context of the client's thread, but in supervisor mode

Enumerators

EControlFastAllocTxBuffer = 0x0F000000
EControlFastAddTxFrame

Enum TRequest

The asynchronous call types

Enumerators

ERequestRead
EResumeTx

Member Data Documentation

RChunk iSharedMemoryChunk

RChunk iSharedMemoryChunk[private]

handle to kernel side shared memory chunk