epoc32/include/eteldefaultqos.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     2
// All rights reserved.
williamr@4
     3
// This component and the accompanying materials are made available
williamr@4
     4
// under the terms of "Eclipse Public License v1.0"
williamr@4
     5
// which accompanies this distribution, and is available
williamr@4
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     7
//
williamr@4
     8
// Initial Contributors:
williamr@4
     9
// Nokia Corporation - initial contribution.
williamr@4
    10
//
williamr@4
    11
// Contributors:
williamr@4
    12
//
williamr@4
    13
// Description:
williamr@4
    14
//
williamr@4
    15
#ifndef __ETELDEFAULTQOS_H__
williamr@4
    16
#define __ETELDEFAULTQOS_H__
williamr@4
    17
williamr@4
    18
#ifndef __ETELQOS_H__
williamr@4
    19
williamr@4
    20
class RPacketQoS
williamr@4
    21
    {
williamr@4
    22
    // The enums TTrafficClass, TDeliveryOrder,TErroneousSDUDelivery, TBitErrorRatio,
williamr@4
    23
     // TSDUErrorRatio, TTrafficHandlingPriority have been assigned values because
williamr@4
    24
     // the same enums are used both in the TQoSR99_R4Requested / Negotiated classes and 
williamr@4
    25
     // in the TQoSCapsR99_R4 class. The Caps class has to indicate which, for instance, 
williamr@4
    26
     // traffic classes are supported in a bitfield, so the enums have been defined as 
williamr@4
    27
     // different bits in a bit field.
williamr@4
    28
public: 
williamr@4
    29
    enum TTrafficClass          
williamr@4
    30
         {
williamr@4
    31
         ETrafficClassUnspecified    = 0x01,     //< Traffic class - Unspecified
williamr@4
    32
         ETrafficClassConversational = 0x02,     //< Traffic class - Conversational
williamr@4
    33
         ETrafficClassStreaming      = 0x04,     //< Traffic class - Streaming
williamr@4
    34
         ETrafficClassInteractive    = 0x08,     //< Traffic class - Interactive
williamr@4
    35
         ETrafficClassBackground     = 0x10      //< Traffic class - Background
williamr@4
    36
         };
williamr@4
    37
williamr@4
    38
     enum TDeliveryOrder     
williamr@4
    39
         {
williamr@4
    40
         EDeliveryOrderUnspecified   = 0x01,     //< SDU Delivery order - Unspecified
williamr@4
    41
         EDeliveryOrderRequired      = 0x02,     //< SDU Delivery order - Required to be in sequence
williamr@4
    42
         EDeliveryOrderNotRequired   = 0x04      //< SDU Delivery order - Not Required to be in sequence
williamr@4
    43
         };
williamr@4
    44
williamr@4
    45
     enum TErroneousSDUDelivery      // Erroneous SDU Delivery
williamr@4
    46
         {
williamr@4
    47
         EErroneousSDUDeliveryUnspecified    = 0x01, //< Unspecified
williamr@4
    48
         EErroneousSDUNoDetection            = 0x02, //< Erroneous SDUs delivered - Error detection not considered.
williamr@4
    49
         EErroneousSDUDeliveryRequired       = 0x04, //< Erroneous SDUs delivered + error indication - Error detection employed.
williamr@4
    50
         EErroneousSDUDeliveryNotRequired    = 0x08  //< Erroneous SDUs discarded - Error detection is employed.
williamr@4
    51
         };
williamr@4
    52
williamr@4
    53
     enum TBitErrorRatio             // Residual Bit Error Rate
williamr@4
    54
         {
williamr@4
    55
         EBERUnspecified             = 0x01,     //< Target residual undetected BER - Unspecified
williamr@4
    56
         EBERFivePerHundred          = 0x02,     //< Target residual BER - 0.05
williamr@4
    57
         EBEROnePerHundred           = 0x04,     //< Target residual BER - 0.01
williamr@4
    58
         EBERFivePerThousand         = 0x08,     //< Target residual BER - 0.005
williamr@4
    59
         EBERFourPerThousand         = 0x10,     //< Target residual BER - 0.004
williamr@4
    60
         EBEROnePerThousand          = 0x20,     //< Target residual BER - 0.001
williamr@4
    61
         EBEROnePerTenThousand       = 0x40,     //< Target residual BER - 0.0001
williamr@4
    62
         EBEROnePerHundredThousand   = 0x80,     //< Target residual BER - 0.00001
williamr@4
    63
         EBEROnePerMillion           = 0x100,    //< Target residual BER - 0.000001
williamr@4
    64
         EBERSixPerHundredMillion    = 0x200     //< Target residual BER - 0.00000006
williamr@4
    65
         };
williamr@4
    66
williamr@4
    67
     enum TSDUErrorRatio             // SDU Error Ratio
williamr@4
    68
         {
williamr@4
    69
         ESDUErrorRatioUnspecified           = 0x01, //< Target value of Erroneous SDUs - Unspecified
williamr@4
    70
         ESDUErrorRatioOnePerTen             = 0x02, //< Target SDU error ratio - 0.1
williamr@4
    71
         ESDUErrorRatioOnePerHundred         = 0x04, //< Target SDU error ratio - 0.01
williamr@4
    72
         ESDUErrorRatioSevenPerThousand      = 0x08, //< Target SDU error ratio - 0.007
williamr@4
    73
         ESDUErrorRatioOnePerThousand        = 0x10, //< Target SDU error ratio - 0.001
williamr@4
    74
         ESDUErrorRatioOnePerTenThousand     = 0x20, //< Target SDU error ratio - 0.0001
williamr@4
    75
         ESDUErrorRatioOnePerHundredThousand = 0x40, //< Target SDU error ratio - 0.00001
williamr@4
    76
         ESDUErrorRatioOnePerMillion         = 0x80  //< Target SDU error ratio - 0.000001
williamr@4
    77
         };
williamr@4
    78
williamr@4
    79
     enum TTrafficHandlingPriority   // Traffic handling priority
williamr@4
    80
         {
williamr@4
    81
         ETrafficPriorityUnspecified = 0x01,     //< Unspecified Priority level
williamr@4
    82
         ETrafficPriority1           = 0x02,     //< Priority level 1
williamr@4
    83
         ETrafficPriority2           = 0x04,     //< Priority level 2
williamr@4
    84
         ETrafficPriority3           = 0x08      //< Priority level 3
williamr@4
    85
         };
williamr@4
    86
     /**
williamr@4
    87
      Source statistics descriptor - as defined in 3GPP TS 23.107 and TS 24.008.
williamr@4
    88
      
williamr@4
    89
      @publishedPartner
williamr@4
    90
      @released
williamr@4
    91
      */
williamr@4
    92
      enum TSourceStatisticsDescriptor    
williamr@4
    93
          {
williamr@4
    94
          /** Unknown source statistics descriptor. */
williamr@4
    95
          ESourceStatisticsDescriptorUnknown  = 0x0,      
williamr@4
    96
          /** Speech source statistics descriptor. */
williamr@4
    97
          ESourceStatisticsDescriptorSpeech   = 0x01,      
williamr@4
    98
          };
williamr@4
    99
    };
williamr@4
   100
williamr@4
   101
#endif//#ifndef__ETELQOS_H__
williamr@4
   102
williamr@4
   103
#endif//#ifndef__ETELDEFAULTQOS_H__