RWlanLogicalChannel Class Reference

class RWlanLogicalChannel : public RBusLogicalChannel

Inherits from

Public Member Functions
voidCancelRequestSignal()
voidCancelRxRequests()
voidCloseChannel()
TInt InitialiseBuffers(RFrameXferBlock *&)
TInt ManagementCommand(const TDesC8 &, TDes8 *, TRequestStatus *)
TInt Open(TWlanUnit, TOpenParam &)
TInt ReleaseBuffers()
voidRequestFrame(TRequestStatus &)
voidRequestSignal(TRequestStatus &, TIndication &)
TVersion VersionRequired()
voidWriteFrame(TRequestStatus &)
Private Member Functions
TInt InitWlanSystem(TOpenParam &)
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 &)
Inherited Enumerations
RHandleBase:TAttributes
Private Attributes
SOidMsgStorage iAsyncOidCommandMsg
SOutputBuffer iAsyncOidCommandOutput
TOpenParam iOpenParam
RChunk iSharedMemoryChunk
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

CancelRequestSignal()

voidCancelRequestSignal()[inline]

Cancels notification request.

Since
S60 3.1

CancelRxRequests()

voidCancelRxRequests()[inline]

Cancels WLAN Mgmt client frame receive request.

Since
S60 3.1 Buffers can be released after this call returns

CloseChannel()

voidCloseChannel()[inline]

Closes the device driver channel

Last method to be called prior driver unload

Since
S60 3.1

InitWlanSystem(TOpenParam &)

TInt InitWlanSystem(TOpenParam &aOpenParam)[private, inline]

Parameters

TOpenParam & aOpenParam

InitialiseBuffers(RFrameXferBlock *&)

TInt InitialiseBuffers(RFrameXferBlock *&aFrameXferBlock)[inline]

Allocates frame transfer memory for WLAN Mgmt client use.

Does the necessary memory allocation and maps the physical memory to the address space of the calling process, so that also it can access the memory. Note! The channel must be open and the Configure management commmand must have been issued before calling this method.

Since
S60 3.1

Parameters

RFrameXferBlock *& aFrameXferBlockFrameXferBlock to be initialised by the device driver.

ManagementCommand(const TDesC8 &, TDes8 *, TRequestStatus *)

TInt ManagementCommand(const TDesC8 &aInBuffer,
TDes8 *aOutputBuffer = NULL,
TRequestStatus *aStatus = NULL
)[inline]

Submits a management command to the device driver.

The command is executed either synchronously or asynchronously, depending on the parameters.

Since
S60 3.1

Parameters

const TDesC8 & aInBufferReference to input buffer descriptor for the command
TDes8 * aOutputBuffer = NULL
TRequestStatus * aStatus = NULLPointer to the status object. If aStatus is NULL, the command is executed synchronously, otherwise asynchronously.

Open(TWlanUnit, TOpenParam &)

TInt Open(TWlanUnitaUnit,
TOpenParam &aOpenParam
)[inline]

Opens a channel to the WLAN device driver.

Since
S60 3.1

Parameters

TWlanUnit aUnitThis parameter tells which kind of channel is opened, i.e. in practice identifies the client who wishes to open a channel.
TOpenParam & aOpenParamBasic initialization parameters which WLAN LDD passes to WLAN PDD

ReleaseBuffers()

TInt ReleaseBuffers()[inline]

Unmaps memory mapped by InitialiseBuffers method from the address space of the calling process and deallocates 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 receive request

Since
S60 3.1

Parameters

TRequestStatus & aStatusa TRequestStatus

RequestSignal(TRequestStatus &, TIndication &)

voidRequestSignal(TRequestStatus &aStatus,
TIndication &aBuffer
)[inline]

Requests generic notifications from device driver.

Since
S60 3.1

Parameters

TRequestStatus & aStatusStatus parameter for request completion
TIndication & aBufferReference to indication buffer. When an indication appears the request completes and the buffer contains the indication information.

VersionRequired()

TVersion VersionRequired()const [inline]

Returns the version required by the WLAN device driver.

Since
S60 3.1

WriteFrame(TRequestStatus &)

voidWriteFrame(TRequestStatus &aStatus)[inline]

Asynchronous frame transmit request

Since
S60 3.1

Parameters

TRequestStatus & aStatusa TRequestStatus

Member Data Documentation

SOidMsgStorage iAsyncOidCommandMsg

SOidMsgStorage iAsyncOidCommandMsg[private]

If a WLAN Management Command is executed asynchronously, this data member is used to store the Management Command message - thus keeping it valid until the asynchronous request is actually scheduled. Note that only a single WLAN Management Command can be under processing at a time.

SOutputBuffer iAsyncOidCommandOutput

SOutputBuffer iAsyncOidCommandOutput[private]

If a WLAN Management Command is executed asynchronously, this data member is used to store the Management Command output buffer context - thus keeping it valid until the asynchronous request is actually scheduled. Note that only a single WLAN Management Command can be under processing at a time.

TOpenParam iOpenParam

TOpenParam iOpenParam[private]

Used to store the channel open parameters

RChunk iSharedMemoryChunk

RChunk iSharedMemoryChunk[private]

handle to kernel side shared memory chunk