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 Enumerations |
---|
enum | TWlanParameter { 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 } |
Constructor & Destructor Documentation
TWlanTrafficStreamParameters(TUint8)
TWlanTrafficStreamParameters | ( | TUint8 | aUserPriority | ) | [inline] |
Parameters
TUint8 aUserPriority | User Priority (0 - 7) admission is requested for. |
Member Functions Documentation
SetAutomaticRetry(TBool)
void | SetAutomaticRetry | ( | TBool | aIsAllowed | ) | [inline] |
Set the whether re-creation of traffic streams is allowed.
Parameters
TBool aIsAllowed | Whether re-creation of traffic streams that have been deleted or refused by the current WLAN access point can be automatically retried. |
SetDelayBound(TUint32)
void | SetDelayBound | ( | TUint32 | aDelay | ) | [inline] |
Set the maximum transport delay used.
Parameters
TUint32 aDelay | The maximum amount of microseconds allowed to transport a packet belonging to this traffic stream. |
SetDirection(TWlanTrafficStreamDirection)
Set the traffic stream direction used.
SetId(TUint8)
Set the traffic stream ID used.
Parameters
TUint8 aId | Traffic Stream ID (0 - 7). |
SetInactivityInterval(TUint32)
void | SetInactivityInterval | ( | TUint32 | aInactivityInterval | ) | [inline] |
Set the inactivity interval used.
Parameters
TUint32 aInactivityInterval | The 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)
void | SetMaximumBurstSize | ( | TUint32 | aBurstSize | ) | [inline] |
Set the maximum burst size used.
Parameters
TUint32 aBurstSize | The maximum burst in bytes that can arrive or be transmitted at the peak data rate. |
SetMaximumMsduSize(TUint16)
void | SetMaximumMsduSize | ( | TUint16 | aMsduSize | ) | [inline] |
Set the maximum MSDU size used.
Parameters
TUint16 aMsduSize | The maximum size of packets in bytes (0 - 0xFFFF). |
SetMaximumServiceInterval(TUint32)
void | SetMaximumServiceInterval | ( | TUint32 | aServiceInterval | ) | [inline] |
Set the maximum service interval used.
Parameters
TUint32 aServiceInterval | The maximum interval between packets in microseconds. |
SetMeanDataRate(TUint32)
void | SetMeanDataRate | ( | TUint32 | aRate | ) | [inline] |
Set the average data rate used.
Parameters
TUint32 aRate | The average data rate in bits per second used for packets belonging to this traffic stream. |
SetMinimumDataRate(TUint32)
void | SetMinimumDataRate | ( | TUint32 | aRate | ) | [inline] |
Set the minimum data rate used.
Parameters
TUint32 aRate | The lowest data rate in bits per second used for packets belonging to this traffic stream. |
SetMinimumPhyRate(TWlanRate)
void | SetMinimumPhyRate | ( | TWlanRate | aRate | ) | [inline] |
Set the minimum WLAN data rate used.
Parameters
TWlanRate aRate | The minimum WLAN data rate in bits per second used for this traffic stream. |
SetMinimumServiceInterval(TUint32)
void | SetMinimumServiceInterval | ( | TUint32 | aServiceInterval | ) | [inline] |
Set the minimum service interval used.
Parameters
TUint32 aServiceInterval | The minimum interval between packets in microseconds. |
SetNominalMsduSize(TUint16, TBool)
void | SetNominalMsduSize | ( | TUint16 | aMsduSize, |
| TBool | aIsMsduSizeFixed |
| ) | [inline] |
Set the nominal MSDU size used.
Parameters
TUint16 aMsduSize | The nominal size of packets in bytes (0 - 0x7FFF). |
TBool aIsMsduSizeFixed | Whether the size of packets is fixed. |
SetNominalPhyRate(TWlanRate)
void | SetNominalPhyRate | ( | TWlanRate | aRate | ) | [inline] |
Set the nominal WLAN data rate used.
Parameters
TWlanRate aRate | The nominal WLAN data rate in bits per second used for this traffic stream. |
SetPeakDataRate(TUint32)
void | SetPeakDataRate | ( | TUint32 | aRate | ) | [inline] |
Set the maximum data rate used.
Parameters
TUint32 aRate | The maximum data rate in bits per second used for packets belonging to this traffic stream. |
SetSba(TUint16)
Parameters
TUint16 aRatio | The excess ratio of actual over-the-air bandwidth to ideal bandwidth used for transporting packets belonging to this traffic stream. |
SetServiceStartTime(TUint32)
void | SetServiceStartTime | ( | TUint32 | aServiceStartTime | ) | [inline] |
Set the service start time used.
Parameters
TUint32 aServiceStartTime | The time in microseconds when the service period starts. |
SetSuspensionInterval(TUint32)
void | SetSuspensionInterval | ( | TUint32 | aSuspensionInterval | ) | [inline] |
Set the suspension interval used.
Parameters
TUint32 aSuspensionInterval | The 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)
Set the traffic 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
Maximum transport delay used.
TWlanTrafficStreamDirection
iDirection
Traffic stream direction used.
TUint32
iInactivityInterval
Inactivity interval used.
TBool
iIsAutomaticRetryAllowed
TBool
| iIsAutomaticRetryAllowed |
Whether re-creation of traffic streams is allowed.
TBool
iIsMsduSizeFixed
Whether the size of packets is fixed.
TUint32
iMaximumBurstSize
TUint32
iMaximumServiceInterval
Maximum service interval used.
TWlanRate
iMinimumPhyRate
Minimum WLAN data rate used.
TUint32
iMinimumServiceInterval
Minimum service interval used.
TWlanRate
iNominalPhyRate
Nominal WLAN data rate used.
TUint32
iParameterBitmap
Bitmap of parameters that have been set.
TUint32
iServiceStartTime
TUint32
iSuspensionInterval
Suspension interval used.
TWlanTrafficStreamTrafficType
iType
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.