1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
15 #ifndef __ETELDEFAULTQOS_H__
16 #define __ETELDEFAULTQOS_H__
22 // The enums TTrafficClass, TDeliveryOrder,TErroneousSDUDelivery, TBitErrorRatio,
23 // TSDUErrorRatio, TTrafficHandlingPriority have been assigned values because
24 // the same enums are used both in the TQoSR99_R4Requested / Negotiated classes and
25 // in the TQoSCapsR99_R4 class. The Caps class has to indicate which, for instance,
26 // traffic classes are supported in a bitfield, so the enums have been defined as
27 // different bits in a bit field.
31 ETrafficClassUnspecified = 0x01, //< Traffic class - Unspecified
32 ETrafficClassConversational = 0x02, //< Traffic class - Conversational
33 ETrafficClassStreaming = 0x04, //< Traffic class - Streaming
34 ETrafficClassInteractive = 0x08, //< Traffic class - Interactive
35 ETrafficClassBackground = 0x10 //< Traffic class - Background
40 EDeliveryOrderUnspecified = 0x01, //< SDU Delivery order - Unspecified
41 EDeliveryOrderRequired = 0x02, //< SDU Delivery order - Required to be in sequence
42 EDeliveryOrderNotRequired = 0x04 //< SDU Delivery order - Not Required to be in sequence
45 enum TErroneousSDUDelivery // Erroneous SDU Delivery
47 EErroneousSDUDeliveryUnspecified = 0x01, //< Unspecified
48 EErroneousSDUNoDetection = 0x02, //< Erroneous SDUs delivered - Error detection not considered.
49 EErroneousSDUDeliveryRequired = 0x04, //< Erroneous SDUs delivered + error indication - Error detection employed.
50 EErroneousSDUDeliveryNotRequired = 0x08 //< Erroneous SDUs discarded - Error detection is employed.
53 enum TBitErrorRatio // Residual Bit Error Rate
55 EBERUnspecified = 0x01, //< Target residual undetected BER - Unspecified
56 EBERFivePerHundred = 0x02, //< Target residual BER - 0.05
57 EBEROnePerHundred = 0x04, //< Target residual BER - 0.01
58 EBERFivePerThousand = 0x08, //< Target residual BER - 0.005
59 EBERFourPerThousand = 0x10, //< Target residual BER - 0.004
60 EBEROnePerThousand = 0x20, //< Target residual BER - 0.001
61 EBEROnePerTenThousand = 0x40, //< Target residual BER - 0.0001
62 EBEROnePerHundredThousand = 0x80, //< Target residual BER - 0.00001
63 EBEROnePerMillion = 0x100, //< Target residual BER - 0.000001
64 EBERSixPerHundredMillion = 0x200 //< Target residual BER - 0.00000006
67 enum TSDUErrorRatio // SDU Error Ratio
69 ESDUErrorRatioUnspecified = 0x01, //< Target value of Erroneous SDUs - Unspecified
70 ESDUErrorRatioOnePerTen = 0x02, //< Target SDU error ratio - 0.1
71 ESDUErrorRatioOnePerHundred = 0x04, //< Target SDU error ratio - 0.01
72 ESDUErrorRatioSevenPerThousand = 0x08, //< Target SDU error ratio - 0.007
73 ESDUErrorRatioOnePerThousand = 0x10, //< Target SDU error ratio - 0.001
74 ESDUErrorRatioOnePerTenThousand = 0x20, //< Target SDU error ratio - 0.0001
75 ESDUErrorRatioOnePerHundredThousand = 0x40, //< Target SDU error ratio - 0.00001
76 ESDUErrorRatioOnePerMillion = 0x80 //< Target SDU error ratio - 0.000001
79 enum TTrafficHandlingPriority // Traffic handling priority
81 ETrafficPriorityUnspecified = 0x01, //< Unspecified Priority level
82 ETrafficPriority1 = 0x02, //< Priority level 1
83 ETrafficPriority2 = 0x04, //< Priority level 2
84 ETrafficPriority3 = 0x08 //< Priority level 3
87 Source statistics descriptor - as defined in 3GPP TS 23.107 and TS 24.008.
92 enum TSourceStatisticsDescriptor
94 /** Unknown source statistics descriptor. */
95 ESourceStatisticsDescriptorUnknown = 0x0,
96 /** Speech source statistics descriptor. */
97 ESourceStatisticsDescriptorSpeech = 0x01,
101 #endif//#ifndef__ETELQOS_H__
103 #endif//#ifndef__ETELDEFAULTQOS_H__