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 ()
void ReadCancel ()
TInt ReleaseBuffers ()
void RequestFrame ( TRequestStatus &)
void ResumeTx ( TRequestStatus &)
void ResumeTxCancel ()
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
enum TControl { EControlGetConfig , EControlReadCancel , EControlResumeTxCancel , ESvControlInitBuffers , ESvControlFreeBuffers }
enum TControlFast { EControlFastAllocTxBuffer  = 0x0F000000, EControlFastAddTxFrame }
enum TRequest { 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 * aPacket The frame to add

AllocTxBuffer(TUint)

TDataBuffer * AllocTxBuffer ( TUint aLength ) [inline]

Allocate a Tx buffer from the shared memory.

Since
S60 5.2

Parameters

TUint aLength Length of the requested Tx buffer in bytes

GetConfig(TDes8 &)

TInt GetConfig ( TDes8 & aConfig ) [inline]

Retrieve configuration information

Since
S60 3.1

Parameters

TDes8 & aConfig buffer 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 *& aFrameXferBlock FrameXferBlock to be initialized by the device driver

Open()

TInt Open ( ) [inline]

Open a channel

Since
S60 3.1

ReadCancel()

void ReadCancel ( ) [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 &)

void RequestFrame ( TRequestStatus & aStatus ) [inline]

Asynchronous frame read function

Since
S60 3.1

Parameters

TRequestStatus & aStatus a TRequestStatus

ResumeTx(TRequestStatus &)

void ResumeTx ( TRequestStatus & aStatus ) [inline]

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

Since
S60 5.2

Parameters

TRequestStatus & aStatus a TRequestStatus

ResumeTxCancel()

void ResumeTxCancel ( ) [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