TWlanTrafficStreamParameters Class Reference

class TWlanTrafficStreamParameters

Parameter storage for a virtual traffic stream.

This class is used to store the parameters of a virtual traffic stream. When instantiated, it sets all the parameters to the default values so the client application only needs to set the parameters it specifically wants to alter.

Any parameter left to its default value means that the WLAN subsystem is free to select a suitable value.

Public Member Functions
TWlanTrafficStreamParameters(TUint8)
voidSetAutomaticRetry(TBool)
voidSetDelayBound(TUint32)
voidSetDirection(TWlanTrafficStreamDirection)
voidSetId(TUint8)
voidSetInactivityInterval(TUint32)
voidSetMaximumBurstSize(TUint32)
voidSetMaximumMsduSize(TUint16)
voidSetMaximumServiceInterval(TUint32)
voidSetMeanDataRate(TUint32)
voidSetMinimumDataRate(TUint32)
voidSetMinimumPhyRate(TWlanRate)
voidSetMinimumServiceInterval(TUint32)
voidSetNominalMsduSize(TUint16, TBool)
voidSetNominalPhyRate(TWlanRate)
voidSetPeakDataRate(TUint32)
voidSetSba(TUint16)
voidSetServiceStartTime(TUint32)
voidSetSuspensionInterval(TUint32)
voidSetTrafficType(TWlanTrafficStreamTrafficType)
Public Member Enumerations
enumTWlanParameter {
EWlanParameterNone = 0x00000000, EWlanParameterType = 0x00000001, EWlanParameterId = 0x00000002, EWlanParameterDirection = 0x00000004, EWlanParameterNominalMsduSize = 0x00000008, EWlanParameterMaximumMsduSize = 0x00000010, EWlanParameterMinimumServiceInterval = 0x00000020, EWlanParameterMaximumServiceInterval = 0x00000040, EWlanParameterInactivityInterval = 0x00000080, EWlanParameterSuspensionInterval = 0x00000100, EWlanParameterServiceStartTime = 0x00000200, EWlanParameterMinimumDataRate = 0x00000400, EWlanParameterMeanDataRate = 0x00000800, EWlanParameterPeakDataRate = 0x00001000, EWlanParameterMaximumBurstSize = 0x00002000, EWlanParameterDelayBound = 0x00004000, EWlanParameterMinimumPhyRate = 0x00008000, EWlanParameterNominalPhyRate = 0x00010000, EWlanParameterSba = 0x00020000, EWlanParameterIsRetryAllowed = 0x00040000
}
Public Attributes
TUint32 iDelayBound
TWlanTrafficStreamDirection iDirection
TUint8 iId
TUint32 iInactivityInterval
TBool iIsAutomaticRetryAllowed
TBool iIsMsduSizeFixed
TUint32 iMaximumBurstSize
TUint16 iMaximumMsduSize
TUint32 iMaximumServiceInterval
TUint32 iMeanDataRate
TUint32 iMinimumDataRate
TWlanRate iMinimumPhyRate
TUint32 iMinimumServiceInterval
TUint16 iNominalMsduSize
TWlanRate iNominalPhyRate
TUint32 iParameterBitmap
TUint32 iPeakDataRate
TUint16 iSba
TUint32 iServiceStartTime
TUint32 iSuspensionInterval
TWlanTrafficStreamTrafficType iType
TUint8 iUserPriority

Constructor & Destructor Documentation

TWlanTrafficStreamParameters(TUint8)

TWlanTrafficStreamParameters(TUint8aUserPriority)[inline]

Constructor.

Parameters

TUint8 aUserPriorityUser Priority (0 - 7) admission is requested for.

Member Functions Documentation

SetAutomaticRetry(TBool)

voidSetAutomaticRetry(TBoolaIsAllowed)[inline]

Set the whether re-creation of traffic streams is allowed.

Parameters

TBool aIsAllowedWhether re-creation of traffic streams that have been deleted or refused by the current WLAN access point can be automatically retried.

SetDelayBound(TUint32)

voidSetDelayBound(TUint32aDelay)[inline]

Set the maximum transport delay used.

Parameters

TUint32 aDelayThe maximum amount of microseconds allowed to transport a packet belonging to this traffic stream.

SetDirection(TWlanTrafficStreamDirection)

voidSetDirection(TWlanTrafficStreamDirectionaDirection)[inline]

Set the traffic stream direction used.

Parameters

TWlanTrafficStreamDirection aDirectionTraffic stream direction.

SetId(TUint8)

voidSetId(TUint8aId)[inline]

Set the traffic stream ID used.

Parameters

TUint8 aIdTraffic Stream ID (0 - 7).

SetInactivityInterval(TUint32)

voidSetInactivityInterval(TUint32aInactivityInterval)[inline]

Set the inactivity interval used.

Parameters

TUint32 aInactivityIntervalThe minimum amount of microseconds that may elapse without arrival or transfer of packets belonging to this traffic stream before the traffic stream is deleted.

SetMaximumBurstSize(TUint32)

voidSetMaximumBurstSize(TUint32aBurstSize)[inline]

Set the maximum burst size used.

Parameters

TUint32 aBurstSizeThe maximum burst in bytes that can arrive or be transmitted at the peak data rate.

SetMaximumMsduSize(TUint16)

voidSetMaximumMsduSize(TUint16aMsduSize)[inline]

Set the maximum MSDU size used.

Parameters

TUint16 aMsduSizeThe maximum size of packets in bytes (0 - 0xFFFF).

SetMaximumServiceInterval(TUint32)

voidSetMaximumServiceInterval(TUint32aServiceInterval)[inline]

Set the maximum service interval used.

Parameters

TUint32 aServiceIntervalThe maximum interval between packets in microseconds.

SetMeanDataRate(TUint32)

voidSetMeanDataRate(TUint32aRate)[inline]

Set the average data rate used.

Parameters

TUint32 aRateThe average data rate in bits per second used for packets belonging to this traffic stream.

SetMinimumDataRate(TUint32)

voidSetMinimumDataRate(TUint32aRate)[inline]

Set the minimum data rate used.

Parameters

TUint32 aRateThe lowest data rate in bits per second used for packets belonging to this traffic stream.

SetMinimumPhyRate(TWlanRate)

voidSetMinimumPhyRate(TWlanRateaRate)[inline]

Set the minimum WLAN data rate used.

Parameters

TWlanRate aRateThe minimum WLAN data rate in bits per second used for this traffic stream.

SetMinimumServiceInterval(TUint32)

voidSetMinimumServiceInterval(TUint32aServiceInterval)[inline]

Set the minimum service interval used.

Parameters

TUint32 aServiceIntervalThe minimum interval between packets in microseconds.

SetNominalMsduSize(TUint16, TBool)

voidSetNominalMsduSize(TUint16aMsduSize,
TBoolaIsMsduSizeFixed
)[inline]

Set the nominal MSDU size used.

Parameters

TUint16 aMsduSizeThe nominal size of packets in bytes (0 - 0x7FFF).
TBool aIsMsduSizeFixedWhether the size of packets is fixed.

SetNominalPhyRate(TWlanRate)

voidSetNominalPhyRate(TWlanRateaRate)[inline]

Set the nominal WLAN data rate used.

Parameters

TWlanRate aRateThe nominal WLAN data rate in bits per second used for this traffic stream.

SetPeakDataRate(TUint32)

voidSetPeakDataRate(TUint32aRate)[inline]

Set the maximum data rate used.

Parameters

TUint32 aRateThe maximum data rate in bits per second used for packets belonging to this traffic stream.

SetSba(TUint16)

voidSetSba(TUint16aRatio)[inline]

Set the SBA ratio used.

Parameters

TUint16 aRatioThe excess ratio of actual over-the-air bandwidth to ideal bandwidth used for transporting packets belonging to this traffic stream.

SetServiceStartTime(TUint32)

voidSetServiceStartTime(TUint32aServiceStartTime)[inline]

Set the service start time used.

Parameters

TUint32 aServiceStartTimeThe time in microseconds when the service period starts.

SetSuspensionInterval(TUint32)

voidSetSuspensionInterval(TUint32aSuspensionInterval)[inline]

Set the suspension interval used.

Parameters

TUint32 aSuspensionIntervalThe minimum amount of microseconds that may elapse without arrival or transfer of packets belonging to this traffic stream before polling for the traffic stream is stopped.

SetTrafficType(TWlanTrafficStreamTrafficType)

voidSetTrafficType(TWlanTrafficStreamTrafficTypeaType)[inline]

Set the traffic pattern used.

Parameters

TWlanTrafficStreamTrafficType aTypeTraffic pattern used.

Member Enumerations Documentation

Enum TWlanParameter

Bit definitions for parameters.

Enumerators

EWlanParameterNone = 0x00000000
EWlanParameterType = 0x00000001
EWlanParameterId = 0x00000002
EWlanParameterDirection = 0x00000004
EWlanParameterNominalMsduSize = 0x00000008
EWlanParameterMaximumMsduSize = 0x00000010
EWlanParameterMinimumServiceInterval = 0x00000020
EWlanParameterMaximumServiceInterval = 0x00000040
EWlanParameterInactivityInterval = 0x00000080
EWlanParameterSuspensionInterval = 0x00000100
EWlanParameterServiceStartTime = 0x00000200
EWlanParameterMinimumDataRate = 0x00000400
EWlanParameterMeanDataRate = 0x00000800
EWlanParameterPeakDataRate = 0x00001000
EWlanParameterMaximumBurstSize = 0x00002000
EWlanParameterDelayBound = 0x00004000
EWlanParameterMinimumPhyRate = 0x00008000
EWlanParameterNominalPhyRate = 0x00010000
EWlanParameterSba = 0x00020000
EWlanParameterIsRetryAllowed = 0x00040000

Member Data Documentation

TUint32 iDelayBound

TUint32 iDelayBound

Maximum transport delay used.

TWlanTrafficStreamDirection iDirection

TWlanTrafficStreamDirection iDirection

Traffic stream direction used.

TUint8 iId

TUint8 iId

Traffic stream ID used.

TUint32 iInactivityInterval

TUint32 iInactivityInterval

Inactivity interval used.

TBool iIsAutomaticRetryAllowed

TBool iIsAutomaticRetryAllowed

Whether re-creation of traffic streams is allowed.

TBool iIsMsduSizeFixed

TBool iIsMsduSizeFixed

Whether the size of packets is fixed.

TUint32 iMaximumBurstSize

TUint32 iMaximumBurstSize

Maximum burst size used.

TUint16 iMaximumMsduSize

TUint16 iMaximumMsduSize

Maximum MSDU size used.

TUint32 iMaximumServiceInterval

TUint32 iMaximumServiceInterval

Maximum service interval used.

TUint32 iMeanDataRate

TUint32 iMeanDataRate

Average data rate used.

TUint32 iMinimumDataRate

TUint32 iMinimumDataRate

Minimum data rate used.

TWlanRate iMinimumPhyRate

TWlanRate iMinimumPhyRate

Minimum WLAN data rate used.

TUint32 iMinimumServiceInterval

TUint32 iMinimumServiceInterval

Minimum service interval used.

TUint16 iNominalMsduSize

TUint16 iNominalMsduSize

Nominal MSDU size used.

TWlanRate iNominalPhyRate

TWlanRate iNominalPhyRate

Nominal WLAN data rate used.

TUint32 iParameterBitmap

TUint32 iParameterBitmap

Bitmap of parameters that have been set.

TUint32 iPeakDataRate

TUint32 iPeakDataRate

Maximum data rate used.

TUint16 iSba

TUint16 iSba

SBA ratio used.

TUint32 iServiceStartTime

TUint32 iServiceStartTime

Service start time used.

TUint32 iSuspensionInterval

TUint32 iSuspensionInterval

Suspension interval used.

TWlanTrafficStreamTrafficType iType

TWlanTrafficStreamTrafficType iType

Traffic pattern used.

TUint8 iUserPriority

TUint8 iUserPriority

User Priority used.