CPcCardPktDrv Class Reference

class CPcCardPktDrv : public CPktDrvBase

Inherits from

Public Member Functions
CPcCardPktDrv ( CPktDrvFactory &)
~CPcCardPktDrv ()
TInt AccessType ()
void ConstructL ( CLANLinkCommon *)
TInt Control ( TUint , TUint , TDes8 &, TAny *)
TUint8 * GetInterfaceAddress ()
TInt GetMulticastList (const THWAddr *, TInt &)
TInt GetRxMode ()
TInt InterfacePowerDown ()
TInt InterfacePowerUp ()
TInt InterfaceResume ()
TInt InterfaceSleep ()
void LinkLayerUp ()
CLANLinkCommon * NifNotify ()
TInt Notification (enum TAgentToNifEventType , void *)
void ReadDataAvailable ( TDesC8 &)
TInt ReleaseType ()
TInt ResetInterface ()
void ResumeSending ()
TInt Send ( RMBufChain &)
TInt SetInterfaceAddress (const THWAddr &)
TInt SetMulticastList (const THWAddr *, TInt )
TInt SetRxMode ( TRxMode )
TInt StartInterface ()
TInt StopInterface ()
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()
CPktDrvBase::CPktDrvBase(CPktDrvFactory &)
CPktDrvBase::GetInterfaceStats()const
CPktDrvBase::SenseInterfacePower()const
CPktDrvBase::SetNameL(const TDesC &)
CPktDrvBase::~CPktDrvBase()
Inherited Enumerations
CPktDrvBase:TDriverPowerState
CPktDrvBase:TDriverResetState
CPktDrvBase:TRxMode
Private Attributes
CPcCardControlEngine * iControl
Inherited Attributes
CPktDrvBase::iFactory
CPktDrvBase::iHWAddr
CPktDrvBase::iName
CPktDrvBase::iParent
CPktDrvBase::iPowerState
CPktDrvBase::iRefCount
CPktDrvBase::iResetState
CPktDrvBase::iRxMode
CPktDrvBase::iStats

Constructor & Destructor Documentation

CPcCardPktDrv(CPktDrvFactory &)

CPcCardPktDrv ( CPktDrvFactory & aFactory )

Constructor. Packet Driver object.

Parameters

CPktDrvFactory & aFactory

~CPcCardPktDrv()

~CPcCardPktDrv ( ) [virtual]

Only one object owned Destructor.

Member Functions Documentation

AccessType()

TInt AccessType ( ) [virtual]

Specifies the AccessType.

ConstructL(CLANLinkCommon *)

void ConstructL ( CLANLinkCommon * aParent ) [virtual]

Pure Virtual Construction of the CPktDrvBase object

Parameters

CLANLinkCommon * aParent Pointer to the CLANLinkCommon class.

Control(TUint, TUint, TDes8 &, TAny *)

TInt Control ( TUint aLevel,
TUint aName,
TDes8 & aOption,
TAny * aSource = 0
) [virtual]

Receive Control() calls from agent/nifman/connection

Parameters

TUint aLevel
TUint aName
TDes8 & aOption
TAny * aSource = 0

GetInterfaceAddress()

TUint8 * GetInterfaceAddress ( ) const [virtual]

Call to LDD or subordinate object to get the Hardware address of the LAN Device

GetMulticastList(const THWAddr *, TInt &)

TInt GetMulticastList ( const THWAddr * aAddr,
TInt & n
) const [virtual]

Call to LDD or subordinate object to retrieve the Multicast List from the LAN Device

Parameters

const THWAddr * aAddr Address of where the Multicast list should be written.
TInt & n Output Parameter , number of Addresses written

GetRxMode()

TInt GetRxMode ( ) const [virtual]

Call to LDD or subordinate object to Get the receive mode of the LAN Device

InterfacePowerDown()

TInt InterfacePowerDown ( ) [virtual]

Call to LDD or subordinate object to power down the LAN Device

InterfacePowerUp()

TInt InterfacePowerUp ( ) [virtual]

Call to LDD or subordinate object to power up the LAN Device.

InterfaceResume()

TInt InterfaceResume ( ) [virtual]

Call to LDD or subordinate object to resume the LAN Device.

InterfaceSleep()

TInt InterfaceSleep ( ) [virtual]

Call to LDD or subordinate object to suspend the LAN Device.

LinkLayerUp()

void LinkLayerUp ( )

Resume Sending is a notification call into NIF from the lower layer telling the NIF that the interface is now up and can accept and transmit data. NIF subsequently calls all the bearers' StartSending() methods directly.

NifNotify()

CLANLinkCommon * NifNotify ( )

Return the pointer to the ethernet nif. Purely for access to commdb reading functionality

Notification(enum TAgentToNifEventType, void *)

TInt Notification ( enum TAgentToNifEventType aEvent,
void * aInfo
) [virtual]

Receive notifications from agent

Parameters

enum TAgentToNifEventType aEvent
void * aInfo

ReadDataAvailable(TDesC8 &)

void ReadDataAvailable ( TDesC8 & aBuffer )

Read the Available data.

Parameters

TDesC8 & aBuffer A Reference to a buffer holding data.

ReleaseType()

TInt ReleaseType ( ) [virtual]

Specifies the ReleaseType.

ResetInterface()

TInt ResetInterface ( ) [virtual]

Call to LDD or subordinate object to reset/re-initialise the Physical device

ResumeSending()

void ResumeSending ( )

Resume Sending is a notification call into NIF from the lower layer telling the NIF that a previous sending congestion situation has been cleared and it can accept more downstack data.

Send(RMBufChain &)

TInt Send ( RMBufChain & aPkt ) [virtual]

Sender Class is generic and does not want to know about RMBuf's Copy to a Heap Buffer and Free the packet. EtherII MAC layer comments Say we should free the packet buffer RMBuf could contain a chain so get into a contiguous buffer

Parameters

RMBufChain & aPkt Reference to a chain of data buffers to be passed to the line.

SetInterfaceAddress(const THWAddr &)

TInt SetInterfaceAddress ( const THWAddr & ) [virtual]

Call to LDD or subordinate object to set the Hardware address of the LAN Device.

Parameters

const THWAddr &

SetMulticastList(const THWAddr *, TInt)

TInt SetMulticastList ( const THWAddr * aAddr,
TInt n
) [virtual]

Call to LDD or subordinate object to set the Multicast List for the LAN Device.

Parameters

const THWAddr * aAddr Address of where the Multicast list should be written.
TInt n Output Parameter , number of Addresses written

SetRxMode(TRxMode)

TInt SetRxMode ( TRxMode AMode ) [virtual]

Call to LDD or subordinate object to set the receive mode of the LAN Device

Parameters

TRxMode AMode

StartInterface()

TInt StartInterface ( ) [virtual]

Pure Virtual Downstack call. " Call to LDD or subordinate object to start/initialise the Physical device

StopInterface()

TInt StopInterface ( ) [virtual]

Call to LDD or subordinate object to stop/de-initialise the Physical device

Member Data Documentation

CPcCardControlEngine * iControl

CPcCardControlEngine * iControl [private]