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 ) | |
void | SetAutomaticRetry ( TBool ) |
void | SetDelayBound ( TUint32 ) |
void | SetDirection ( TWlanTrafficStreamDirection ) |
void | SetId ( TUint8 ) |
void | SetInactivityInterval ( TUint32 ) |
void | SetMaximumBurstSize ( TUint32 ) |
void | SetMaximumMsduSize ( TUint16 ) |
void | SetMaximumServiceInterval ( TUint32 ) |
void | SetMeanDataRate ( TUint32 ) |
void | SetMinimumDataRate ( TUint32 ) |
void | SetMinimumPhyRate ( TWlanRate ) |
void | SetMinimumServiceInterval ( TUint32 ) |
void | SetNominalMsduSize ( TUint16 , TBool ) |
void | SetNominalPhyRate ( TWlanRate ) |
void | SetPeakDataRate ( TUint32 ) |
void | SetSba ( TUint16 ) |
void | SetServiceStartTime ( TUint32 ) |
void | SetSuspensionInterval ( TUint32 ) |
void | SetTrafficType ( TWlanTrafficStreamTrafficType ) |
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 } |
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 |
TWlanTrafficStreamParameters | ( | TUint8 | aUserPriority | ) | [inline] |
Constructor.
TUint8 aUserPriority | User Priority (0 - 7) admission is requested for. |
void | SetAutomaticRetry | ( | TBool | aIsAllowed | ) | [inline] |
Set the whether re-creation of traffic streams is allowed.
TBool aIsAllowed | Whether re-creation of traffic streams that have been deleted or refused by the current WLAN access point can be automatically retried. |
void | SetDelayBound | ( | TUint32 | aDelay | ) | [inline] |
Set the maximum transport delay used.
TUint32 aDelay | The maximum amount of microseconds allowed to transport a packet belonging to this traffic stream. |
void | SetDirection | ( | TWlanTrafficStreamDirection | aDirection | ) | [inline] |
Set the traffic stream direction used.
TWlanTrafficStreamDirection aDirection | Traffic stream direction. |
void | SetId | ( | TUint8 | aId | ) | [inline] |
Set the traffic stream ID used.
TUint8 aId | Traffic Stream ID (0 - 7). |
void | SetInactivityInterval | ( | TUint32 | aInactivityInterval | ) | [inline] |
Set the inactivity interval used.
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. |
void | SetMaximumBurstSize | ( | TUint32 | aBurstSize | ) | [inline] |
Set the maximum burst size used.
TUint32 aBurstSize | The maximum burst in bytes that can arrive or be transmitted at the peak data rate. |
void | SetMaximumMsduSize | ( | TUint16 | aMsduSize | ) | [inline] |
Set the maximum MSDU size used.
TUint16 aMsduSize | The maximum size of packets in bytes (0 - 0xFFFF). |
void | SetMaximumServiceInterval | ( | TUint32 | aServiceInterval | ) | [inline] |
Set the maximum service interval used.
TUint32 aServiceInterval | The maximum interval between packets in microseconds. |
void | SetMeanDataRate | ( | TUint32 | aRate | ) | [inline] |
Set the average data rate used.
TUint32 aRate | The average data rate in bits per second used for packets belonging to this traffic stream. |
void | SetMinimumDataRate | ( | TUint32 | aRate | ) | [inline] |
Set the minimum data rate used.
TUint32 aRate | The lowest data rate in bits per second used for packets belonging to this traffic stream. |
void | SetMinimumPhyRate | ( | TWlanRate | aRate | ) | [inline] |
Set the minimum WLAN data rate used.
TWlanRate aRate | The minimum WLAN data rate in bits per second used for this traffic stream. |
void | SetMinimumServiceInterval | ( | TUint32 | aServiceInterval | ) | [inline] |
Set the minimum service interval used.
TUint32 aServiceInterval | The minimum interval between packets in microseconds. |
void | SetNominalMsduSize | ( | TUint16 | aMsduSize, |
TBool | aIsMsduSizeFixed | |||
) | [inline] |
Set the nominal MSDU size used.
void | SetNominalPhyRate | ( | TWlanRate | aRate | ) | [inline] |
Set the nominal WLAN data rate used.
TWlanRate aRate | The nominal WLAN data rate in bits per second used for this traffic stream. |
void | SetPeakDataRate | ( | TUint32 | aRate | ) | [inline] |
Set the maximum data rate used.
TUint32 aRate | The maximum data rate in bits per second used for packets belonging to this traffic stream. |
void | SetSba | ( | TUint16 | aRatio | ) | [inline] |
Set the SBA ratio used.
TUint16 aRatio | The excess ratio of actual over-the-air bandwidth to ideal bandwidth used for transporting packets belonging to this traffic stream. |
void | SetServiceStartTime | ( | TUint32 | aServiceStartTime | ) | [inline] |
Set the service start time used.
TUint32 aServiceStartTime | The time in microseconds when the service period starts. |
void | SetSuspensionInterval | ( | TUint32 | aSuspensionInterval | ) | [inline] |
Set the suspension interval used.
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. |
void | SetTrafficType | ( | TWlanTrafficStreamTrafficType | aType | ) | [inline] |
Set the traffic pattern used.
TWlanTrafficStreamTrafficType aType | Traffic pattern used. |
Bit definitions for parameters.
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 |
TWlanTrafficStreamDirection | iDirection |
Traffic stream direction used.
TBool | iIsAutomaticRetryAllowed |
Whether re-creation of traffic streams is allowed.
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.