TDataBuffer Class Reference
Meta header for Rx and Tx frames
Constructor & Destructor Documentation
TDataBuffer()
TDataBuffer
|
(
|
)
|
[private, inline]
|
TDataBuffer(const TDataBuffer &)
Prohibit copy constructor
Member Functions Documentation
AppendBuffer(const TUint8 *, TUint32)
Appends data to Tx Buffer
Parameters
const
TUint8
* aData
|
data to be apended
|
TUint32
aLength
|
length of data in bytes
|
AppendBuffer(const TUint8 *, TUint32, TUint32)
void
|
AppendBuffer
|
(
|
const
TUint8
*
|
aData,
|
|
TUint32
|
aLength,
|
|
TUint32
|
aOffsetToFrameBeginning
|
|
)
|
[private, inline]
|
Parameters
const
TUint8
* aData
|
data to be apended
|
TUint32
aLength
|
length of data in BYTEs
|
TUint32
aOffsetToFrameBeginning
|
Amount of empty space to leave in the beginning of the buffer, i.e. before the frame beginning
|
FrameType()
Gets the frame type in the buffer
FrameType(TFrameType)
Sets the frame type in the buffer
GetBuffer()
const
TUint8
*
|
GetBuffer
|
(
|
)
|
const [inline]
|
Gets the begin of the buffer
GetBuffer()
TUint8
*
|
GetBuffer
|
(
|
)
|
[inline]
|
Gets the beginning of the buffer
GetLength()
TUint32
|
GetLength
|
(
|
)
|
const [inline]
|
Gets length of the data in the buffer
IncrementLength(TUint32)
void
|
IncrementLength
|
(
|
TUint32
|
aValue
|
)
|
[private, inline]
|
Adds a value to the length field
KeClearFlags(TFlag)
void
|
KeClearFlags
|
(
|
TFlag
|
aFlags
|
)
|
[inline]
|
Clears the specified flag(s) NOTE: to be used only by the device driver
KeFlags()
TFlag
|
KeFlags
|
(
|
)
|
const [inline]
|
Returns the flags set in this object NOTE: to be used only by the device driver
KeGetBufferStart()
TUint8
*
|
KeGetBufferStart
|
(
|
)
|
const [inline]
|
Gets the beginning of the data buffer NOTE: to be used only by the device driver
KeSetFlags(TFlag)
void
|
KeSetFlags
|
(
|
TFlag
|
aFlags
|
)
|
[inline]
|
Sets the specified flag(s) NOTE: to be used only by the device driver
Rcpi()
TUint8
|
Rcpi
|
(
|
)
|
const [inline]
|
Gets the RCPI value of a received frame
SetBufLength(TUint16)
void
|
SetBufLength
|
(
|
TUint16
|
aBufLength
|
)
|
[private, inline]
|
Sets the length of the attached data buffer
Parameters
TUint16
aBufLength
|
length to be set
|
SetDestinationAddress(const TMacAddress &)
void
|
SetDestinationAddress
|
(
|
const
TMacAddress
&
|
aDa
|
)
|
[private, inline]
|
Sets the Destination Address of the frame to be transmitted
SetLength(TUint32)
void
|
SetLength
|
(
|
TUint32
|
aLength
|
)
|
[private, inline]
|
SetUserPriority(TUint8)
void
|
SetUserPriority
|
(
|
TUint8
|
aUp
|
)
|
[inline]
|
Sets the 802.1D
User
Priority of the frame
UserPriority()
TUint8
|
UserPriority
|
(
|
)
|
const [inline]
|
Gets the 802.1D
User
Priority of the frame
operator=(const TDataBuffer &)
Prohibit assigment operator
Member Type Definitions Documentation
Member Data Documentation
const TFlag KDontReleaseBuffer
const
TFlag
|
KDontReleaseBuffer
|
[static]
|
flag indicating that the associated Rx buffer shall not be released when releasing this meta header
const TFrameType KDot11Frame
const TFrameType KEthernetFrame
const TFrameType KEthernetTestFrame
ethernet II frame used to test an AP
const TFrameType KFrameTypeMax
upper bound, so not a real type
const TFrameType KSnapFrame
frame beginning with a SNAP header
const TFlag KTxFrameMustNotBeEncrypted
const
TFlag
|
KTxFrameMustNotBeEncrypted
|
[static]
|
flag indicating that the Tx frame in the associated buffer shall not be encrypted even if a valid encryption key existed. If not set, the frame may be encrypted if a valid key exists
TUint16
iBufLength
Length of the attached data buffer. Currently used only for Protocol Stack Side client Tx frames
TInt32
iBufferOffsetAddr
TInt32
|
iBufferOffsetAddr
|
[private]
|
the offset from the start address of this object to the start address of the data buffer. May be positive or negative.
TMacAddress
iDestinationAddress
Destination address of the frame to be transmitted. Used only when the address cannot be determined from the frame content
TFlag
iFlags
may contain a combination of the flags defined for this class
TFrameType
iFrameType
type of the frame in buffer
TUint32
iLength
length of the data in buffer
TUint32
iOffsetToFrameBeginning
TUint32
|
iOffsetToFrameBeginning
|
[private]
|
the offset to actual frame beginning within the data buffer
TUint32
iRcpi
RCPI of the received frame; range: [0..250] stored as a 32-bit value to keep the length of this object 32-bit aligned
TUint32
iUp
802.1D
User
Priority of the frame stored as a 32-bit value to keep the length of this object 32-bit aligned
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.