1 // Copyright (c) 2002-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // ETel Multimode Packet Data API - Quality of Service (QoS) support
15 // GPRS Rel97/98, CDMAOne, CDMA2000, Release 99 and Release 4.
20 #if!defined(__ETELQOS_H__)
26 class CPacketQoSPtrHolder;
29 class RPacketQoS : public RTelSubSessionBase
31 Encapsulates functionality to set the Requested and Minimum Quality of Service
32 options for a particular context (or "service configuration" in CDMA parlance),
33 as represented by the RPacketContext class.
35 Methods are available to set and get the QoS options, query the QoS capabilities
36 of the network service and notify the client if a change in the negotiated QoS
39 A client must first create an instance of RPacketContext before opening a new
40 RPacketQoS, since when creating a new RPacketQoS, the client must call the
41 RPacketQoS::OpenNewQoS() function and pass in a reference to an RPacketContext
50 // Nested enums and classes
52 /** Defines the QoS reliability settings for GRPS networks. */
53 enum TQoSReliability // GPRS Release 97/98
55 /** Best effort or subscribed value. */
56 EUnspecifiedReliabilityClass = 0x01,
57 /** Reliability Class 1. */
58 EReliabilityClass1 = 0x02,
59 /** Reliability Class 2. */
60 EReliabilityClass2 = 0x04,
61 /** Reliability Class 3. */
62 EReliabilityClass3 = 0x08,
63 /** Reliability Class 4. */
64 EReliabilityClass4 = 0x10,
65 /** Reliability Class 5. */
66 EReliabilityClass5 = 0x20
69 /** Defines the QoS precedence for GRPS networks. */
70 enum TQoSPrecedence // GPRS Release 97/98
72 /** Best effort or subscribed value */
73 EUnspecifiedPrecedence = 0x01,
74 /** High priority precedence. */
75 EPriorityHighPrecedence = 0x02,
76 /** Medium priority precedence. */
77 EPriorityMediumPrecedence = 0x04,
78 /** Low priority precedence. */
79 EPriorityLowPrecedence = 0x08
82 /** Defines the QoS delay for GPRS and CDMA200 networks.
84 enum TQoSDelay // GPRS Release 97/98, CDMA2000
86 /** Best effort or subscribed value. */
87 EUnspecifiedDelayClass = 0x01,
96 /** Delay 40 milli seconds.
100 /** Delay 120 milli seconds.
104 /** Delay 360 milli seconds.
110 /** Defines the QoS peak throughput rates for GRPS networks. */
111 enum TQoSPeakThroughput // GPRS Release 97/98
113 /** Best effort or subscribed value. */
114 EUnspecifiedPeakThroughput = 0x001,
115 /** Peak throughput of 1,000. */
116 EPeakThroughput1000 = 0x002,
117 /** Peak throughput of 2,000. */
118 EPeakThroughput2000 = 0x004,
119 /** Peak throughput of 4,000. */
120 EPeakThroughput4000 = 0x008,
121 /** Peak throughput of 8,000. */
122 EPeakThroughput8000 = 0x010,
123 /** Peak throughput of 16,000. */
124 EPeakThroughput16000 = 0x020,
125 /** Peak throughput of 32,000. */
126 EPeakThroughput32000 = 0x040,
127 /** Peak throughput of 64,000. */
128 EPeakThroughput64000 = 0x080,
129 /** Peak throughput of 128,000. */
130 EPeakThroughput128000 = 0x100,
131 /** Peak throughput of 256,000. */
132 EPeakThroughput256000 = 0x200
135 /** Defines the mean throughput for GRPS networks. */
136 enum TQoSMeanThroughput // GPRS Release 97/98
138 /** Unsubscribed value. */
139 EUnspecifiedMeanThroughput = 0x00001,
140 /** Mean throughput of 100. */
141 EMeanThroughput100 = 0x00002,
142 /** Mean throughput of 200. */
143 EMeanThroughput200 = 0x00004,
144 /** Mean throughput of 500. */
145 EMeanThroughput500 = 0x00008,
146 /** Mean throughput of 1,000. */
147 EMeanThroughput1000 = 0x00010,
148 /** Mean throughput of 2,000. */
149 EMeanThroughput2000 = 0x00020,
150 /** Mean throughput of 5,000. */
151 EMeanThroughput5000 = 0x00040,
152 /** Mean throughput of 10,000. */
153 EMeanThroughput10000 = 0x00080,
154 /** Mean throughput of 20,000. */
155 EMeanThroughput20000 = 0x00100,
156 /** Mean throughput of 50,000. */
157 EMeanThroughput50000 = 0x00200,
158 /** Mean throughput of 100,000. */
159 EMeanThroughput100000 = 0x00400,
160 /** Mean throughput of 200,000. */
161 EMeanThroughput200000 = 0x00800,
162 /** Mean throughput of 500,000. */
163 EMeanThroughput500000 = 0x01000,
164 /** Mean throughput of 1,000,000. */
165 EMeanThroughput1000000 = 0x02000,
166 /** Mean throughput of 2,000,000. */
167 EMeanThroughput2000000 = 0x04000,
168 /** Mean throughput of 5,000,000. */
169 EMeanThroughput5000000 = 0x08000,
170 /** Mean throughput of 10,000,000. */
171 EMeanThroughput10000000 = 0x10000,
172 /** Mean throughput of 20,000,000. */
173 EMeanThroughput20000000 = 0x20000,
174 /** Mean throughput of 50,000,000. */
175 EMeanThroughput50000000 = 0x40000,
177 EMeanThroughputBestEffort = 0x80000
180 /** Defines the QoS link priority for CMDA2000 networks. */
181 enum TQoSLinkPriority
183 /** No link priority. */
184 ELinkPriority00 = 0x0001,
185 /** 1/13th's of user's subscription priority. */
186 ELinkPriority01 = 0x0002,
187 /** 2/13th's of user's subscription priority. */
188 ELinkPriority02 = 0x0004,
189 /** 3/13th's of user's subscription priority. */
190 ELinkPriority03 = 0x0008,
191 /** 4/13th's of user's subscription priority. */
192 ELinkPriority04 = 0x0010,
193 /** 5/13th's of user's subscription priority. */
194 ELinkPriority05 = 0x0020,
195 /** 6/13th's of user's subscription priority. */
196 ELinkPriority06 = 0x0040,
197 /** 7/13th's of user's subscription priority. */
198 ELinkPriority07 = 0x0080,
199 /** 8/13th's of user's subscription priority. */
200 ELinkPriority08 = 0x0100,
201 /** 9/13th's of user's subscription priority. */
202 ELinkPriority09 = 0x0200,
203 /** 10/13th's of user's subscription priority. */
204 ELinkPriority10 = 0x0400,
205 /** 11/13th's of user's subscription priority. */
206 ELinkPriority11 = 0x0800,
207 /** 12/13th's of user's subscription priority. */
208 ELinkPriority12 = 0x1000,
209 /** Subscription priority (13/13th's). */
210 ELinkPriority13 = 0x2000
213 /** Defines the QoS data loss rate. */
216 /** 1% data loss rate. */
218 /** 2% data loss rate. */
220 /** 5% data loss rate. */
222 /** 10% data loss rate. */
226 /** Defines the QoS data rate. */
229 /** A data rate of 8 kb/s. */
230 EDataRate8kbps = 0x01,
231 /** A data rate of 32 kb/s. */
232 EDataRate32kbps = 0x02,
233 /** A data rate of 64 kb/s. */
234 EDataRate64kbps = 0x04,
235 /** A data rate of 144 kb/s. */
236 EDataRate144kbps = 0x08,
237 /** A data rate of 384 kb/s */
238 EDataRate384kbps = 0x10
242 // TRLPMode - allows the client to specify (if desired) one of the following:
243 // transparent only, tranparent preferred, non-transparent only or non-transparent
244 // preferred Radio Link Protocol Mode
246 /** Defines the Radio Link Protocol (RPL) mode. */
249 /** RPL mode unknown. */
251 /** Transparent mode only. */
252 KRLPTransparent = 0x02,
253 /** Non-transparent mode only. */
254 KRLPNonTransparent = 0x04,
255 /** Transparent mode preferred. */
256 KRLPTransparentPref = 0x08,
257 /** Non-transparent mode preferred. */
258 KRLPNonTransparentPref = 0x10
261 // The enums TTrafficClass, TDeliveryOrder,TErroneousSDUDelivery, TBitErrorRatio,
262 // TSDUErrorRatio, TTrafficHandlingPriority have been assigned values because
263 // the same enums are used both in the TQoSR99_R4Requested / Negotiated classes and
264 // in the TQoSCapsR99_R4 class. The Caps class has to indicate which, for instance,
265 // traffic classes are supported in a bitfield, so the enums have been defined as
266 // different bits in a bit field.
269 ETrafficClassUnspecified = 0x01, ///< Traffic class - Unspecified
270 ETrafficClassConversational = 0x02, ///< Traffic class - Conversational
271 ETrafficClassStreaming = 0x04, ///< Traffic class - Streaming
272 ETrafficClassInteractive = 0x08, ///< Traffic class - Interactive
273 ETrafficClassBackground = 0x10 ///< Traffic class - Background
278 EDeliveryOrderUnspecified = 0x01, ///< SDU Delivery order - Unspecified
279 EDeliveryOrderRequired = 0x02, ///< SDU Delivery order - Required to be in sequence
280 EDeliveryOrderNotRequired = 0x04 ///< SDU Delivery order - Not Required to be in sequence
283 enum TErroneousSDUDelivery // Erroneous SDU Delivery
285 EErroneousSDUDeliveryUnspecified = 0x01, ///< Unspecified
286 EErroneousSDUNoDetection = 0x02, ///< Erroneous SDUs delivered - Error detection not considered.
287 EErroneousSDUDeliveryRequired = 0x04, ///< Erroneous SDUs delivered + error indication - Error detection employed.
288 EErroneousSDUDeliveryNotRequired = 0x08 ///< Erroneous SDUs discarded - Error detection is employed.
291 enum TBitErrorRatio // Residual Bit Error Rate
293 EBERUnspecified = 0x01, ///< Target residual undetected BER - Unspecified
294 EBERFivePerHundred = 0x02, ///< Target residual BER - 0.05
295 EBEROnePerHundred = 0x04, ///< Target residual BER - 0.01
296 EBERFivePerThousand = 0x08, ///< Target residual BER - 0.005
297 EBERFourPerThousand = 0x10, ///< Target residual BER - 0.004
298 EBEROnePerThousand = 0x20, ///< Target residual BER - 0.001
299 EBEROnePerTenThousand = 0x40, ///< Target residual BER - 0.0001
300 EBEROnePerHundredThousand = 0x80, ///< Target residual BER - 0.00001
301 EBEROnePerMillion = 0x100, ///< Target residual BER - 0.000001
302 EBERSixPerHundredMillion = 0x200 ///< Target residual BER - 0.00000006
305 enum TSDUErrorRatio // SDU Error Ratio
307 ESDUErrorRatioUnspecified = 0x01, ///< Target value of Erroneous SDUs - Unspecified
308 ESDUErrorRatioOnePerTen = 0x02, ///< Target SDU error ratio - 0.1
309 ESDUErrorRatioOnePerHundred = 0x04, ///< Target SDU error ratio - 0.01
310 ESDUErrorRatioSevenPerThousand = 0x08, ///< Target SDU error ratio - 0.007
311 ESDUErrorRatioOnePerThousand = 0x10, ///< Target SDU error ratio - 0.001
312 ESDUErrorRatioOnePerTenThousand = 0x20, ///< Target SDU error ratio - 0.0001
313 ESDUErrorRatioOnePerHundredThousand = 0x40, ///< Target SDU error ratio - 0.00001
314 ESDUErrorRatioOnePerMillion = 0x80 ///< Target SDU error ratio - 0.000001
317 enum TTrafficHandlingPriority // Traffic handling priority
319 ETrafficPriorityUnspecified = 0x01, ///< Unspecified Priority level
320 ETrafficPriority1 = 0x02, ///< Priority level 1
321 ETrafficPriority2 = 0x04, ///< Priority level 2
322 ETrafficPriority3 = 0x08 ///< Priority level 3
325 struct TBitRate // Bit rates for uplink and downlink
327 TInt iUplinkRate; ///< Uplink bitrate in kbps. Range 0 - 16000
328 TInt iDownlinkRate; ///< Downlink bitrate in kbps. Range 0 - 16000
332 Source statistics descriptor - as defined in 3GPP TS 23.107 and TS 24.008.
337 enum TSourceStatisticsDescriptor
339 /** Unknown source statistics descriptor. */
340 ESourceStatisticsDescriptorUnknown = 0x0,
341 /** Speech source statistics descriptor. */
342 ESourceStatisticsDescriptorSpeech = 0x01,
346 // QoS capabilities classes
348 class TQoSCapsGPRS : public TPacketDataConfigBase
350 Supported GPRS QoS capabilities.
352 @deprecated v9.3 Use TQoSCapsR99_R4 or TQoSCapsR5 instead.
356 IMPORT_C TQoSCapsGPRS(); // iExtensionId = KConfigGPRS
358 /** Bit-wise sum of the TQoSPrecedence attributes.
360 The default value is EUnspecifiedPrecedence. */
362 /** Bit-wise sum of the TQoSDelay attributes.
364 The default value is EUnspecifiedDelay. */
366 /** Bit-wise sum of the TQoSReliability attributes.
368 The default value is EUnspecifiedReliability. */
370 /** Bit-wise sum of the TQoSPeakThroughput attributes.
372 The default value is EUnspecifiedPeakThroughput. */
374 /** Bit-wise sum of the TQoSMeanThroughput attributes.
376 The default value is EUnspecifiedMeanThroughput. */
380 class TQoSCapsCDMA2000 : public TPacketDataConfigBase
382 Supported CDMA2000 QoS capabilities.
389 IMPORT_C TQoSCapsCDMA2000(); // iExtensionId = KConfigCDMA
391 /** Bit-wise sum of the TQoSLinkPriority attributes. */
393 /** Bit-wise sum of the TQoSDataRate attributes for the uplink. */
395 /** Bit-wise sum of the TQoSDataRate attributes for the downlink. */
397 /** Bit-wise sum of the TQoSDataLoss attributes. */
399 /** Bit-wise sum of the TQoSDataLoss attributes. */
401 /** Bit-wise sum of the TQoSDelay attributes. */
403 /** Bit-wise sum of the TQoSDelay attributes. */
408 class TQoSCapsR99_R4 : public TPacketDataConfigBase
410 GPRS/UMTS Rel99 and UMTS Rel4 QoS capabilities class.
417 IMPORT_C TQoSCapsR99_R4();
419 TUint iTrafficClass; ///< Supported traffic class of the MT
420 TUint iDeliveryOrderReqd; ///< SDU sequential delivery
421 TUint iDeliverErroneousSDU; ///< Delivery of erroneous SDUs
422 TUint iBER; ///< Target Bit Error Ratio (BER)
423 TUint iSDUErrorRatio; ///< Target SDU Error Ratio
424 TUint iTrafficHandlingPriority; ///< Traffic handling priority
427 class TQoSCapsR5 : public TQoSCapsR99_R4
429 UMTS Rel5 QoS capabilities class.
436 IMPORT_C TQoSCapsR5();
438 TUint iSignallingIndication; ///< Requested signalling indication
439 TUint iSourceStatisticsDescriptor; ///< Requested source statistics descriptor
443 // QoS configuration classes
445 class TQoSGPRSRequested : public TPacketDataConfigBase // GPRS Rel97/98
447 The GPRS QoS that is requested.
449 @deprecated v9.3 Use TQoSR99_R4Requested or TQoSR5Requested instead.
453 IMPORT_C TQoSGPRSRequested();
455 /** Precedence requested. The default is EUnspecifiedPrecedence.
457 @see TQoSPrecedence */
458 TQoSPrecedence iReqPrecedence;
459 /** Minimum precedence. The default is EUnspecifiedPrecedence.
461 @see TQoSPrecedence */
462 TQoSPrecedence iMinPrecedence;
463 /** Requested QoS Delay. The default is EUnspecifiedDelayClass.
467 /** Minimum delay requested. The default is EUnspecifiedDelayClass.
471 /** Requested reliability. The default is EUnspecifiedReliabilityClass.
473 @see TQoSReliability */
474 TQoSReliability iReqReliability;
475 /** Requested minimum reliability . The default is EUnspecifiedReliabilityClass.
477 @see TQoSReliability */
478 TQoSReliability iMinReliability;
479 /** Requested peak throughput . The default is EUnspecifiedPeakThroughput.
481 @see TQoSPeakThroughput */
482 TQoSPeakThroughput iReqPeakThroughput;
483 /** Requested minimum peak throughput. The default is EUnspecifiedPeakThroughput.
485 @see TQoSPeakThroughput */
486 TQoSPeakThroughput iMinPeakThroughput;
487 /** Requested QoS mean throughput. The default is EUnspecifiedMeanThroughput.
489 @see TQoSMeanThroughput */
490 TQoSMeanThroughput iReqMeanThroughput;
491 /** Requested minimum QoS mean throughput. The default is EUnspecifiedMeanThroughput.
493 @see TQoSMeanThroughput */
494 TQoSMeanThroughput iMinMeanThroughput;
497 class TQoSGPRSNegotiated : public TPacketDataConfigBase // GPRS Rel97/98
498 /** Contains the negotiated QoS values - returned by the GPRS network
499 after activating a connection and determining the QoS profile.
501 @deprecated v9.3 Use TQoSR99_R4Negotiated or TQoSR5Negotiated instead.
505 IMPORT_C TQoSGPRSNegotiated();
507 /** Negotiated QoS precedence. The default is EUnspecifiedPrecedence.
509 @see TQoSPrecedence */
510 TQoSPrecedence iPrecedence;
511 /** Negotiated QoS delay. The default is EUnspecifiedPeakThroughput.
515 /** Negotiated QoS reliability. The default is EUnspecifiedReliabilityClass.
517 @see TQoSReliability */
518 TQoSReliability iReliability;
519 /** Negotiated QoS peak throughput. The default is EUnspecifiedPeakThroughput.
521 @see TQoSPeakThroughput */
522 TQoSPeakThroughput iPeakThroughput;
523 /** Negotiated QoS mean throughput. The default is EUnspecifiedMeanThroughput.
525 @see TQoSMeanThroughput */
526 TQoSMeanThroughput iMeanThroughput;
529 class TQoSCDMA2000Requested : public TPacketDataConfigBase // CDMA2000
531 The CDMA2000 QoS requested from the network.
538 IMPORT_C TQoSCDMA2000Requested();
540 /** The request assured mode. */
541 TBool iAssuredMode; // assured vs. non-assured mode
542 /** The RPL mode requested.
546 /** The link priority requested.
548 @see TQoSLinkPriority */
549 TQoSLinkPriority iPriority;
550 /** The uplink rate requested.
553 TQoSDataRate iReqUplinkRate;
554 /** The minimum uplink rate requested.
557 TQoSDataRate iMinUplinkRate;
558 /** The downlink rate requested
561 TQoSDataRate iReqDownlinkRate;
562 /** The minimum downlink rate requested.
565 TQoSDataRate iMinDownlinkRate;
566 /** The forward loss rate requested. */
567 TQoSDataLoss iFwdRequestedLossRate;
568 TQoSDataLoss iRevRequestedLossRate;
569 /** The forward accepted loss rate. */
570 TQoSDataLoss iFwdAcceptedLossRate;
571 /** The reverse accepted loss rate. */
572 TQoSDataLoss iRevAcceptedLossRate;
573 /** The forward maximum requested delay. */
574 TQoSDelay iFwdMaxRequestedDelay;
575 /** The reverse maximum requested delay. */
576 TQoSDelay iRevMaxRequestedDelay;
577 /** The forward maximum accepted delay. */
578 TQoSDelay iFwdMaxAcceptedDelay;
579 /** The reverse maximum accepted delay. */
580 TQoSDelay iRevMaxAcceptedDelay;
583 class TQoSCDMA2000Negotiated : public TPacketDataConfigBase // CDMA2000
585 The negotiated CDMA200 QoS parameters.
592 IMPORT_C TQoSCDMA2000Negotiated();
594 /** Negotiated assured mode. */
595 TBool iAssuredMode; // assured vs. non-assured mode.
596 /** Negotiated Radio Link Protocol mode.
600 /** Negotiated QoS link priority.
602 @see TQoSLinkPriority */
603 TQoSLinkPriority iPriority;
604 /** Negotiated uplink rate.
607 TQoSDataRate iUplinkRate;
608 /** Negotiated downlink rate.
611 TQoSDataRate iDownlinkRate;
612 /** Negotiated forward data loss rate.
615 TQoSDataLoss iFwdDataLossRate;
616 /** Negotiated reverse data loss rate.
619 TQoSDataLoss iRevDataLossRate;
620 /** Negotiated forward maximum delay.
623 TQoSDelay iFwdMaxDelay;
624 /** Negotiated reverse maximum delay.
627 TQoSDelay iRevMaxDelay;
631 class TQoSR99_R4Requested : public TPacketDataConfigBase
633 Contains the requested and minimum values for the
634 GPRS/UMTS Rel99 and UMTS Rel4 QoS profile attributes.
641 IMPORT_C TQoSR99_R4Requested();
643 TTrafficClass iReqTrafficClass; ///< Requested traffic class
644 TTrafficClass iMinTrafficClass; ///< Minimum acceptable traffic class
645 TDeliveryOrder iReqDeliveryOrderReqd; ///< Requested value for sequential SDU delivery
646 TDeliveryOrder iMinDeliveryOrderReqd; ///< Minimum acceptable value for sequential SDU delivery
647 TErroneousSDUDelivery iReqDeliverErroneousSDU; ///< Requested value for erroneous SDU delivery
648 TErroneousSDUDelivery iMinDeliverErroneousSDU; ///< Minimum acceptable value for erroneous SDU delivery
649 TInt iReqMaxSDUSize; ///< Request maximum SDU size
650 TInt iMinAcceptableMaxSDUSize; ///< Minimum acceptable SDU size
651 TBitRate iReqMaxRate; ///< Requested maximum bit rates on uplink and downlink
652 TBitRate iMinAcceptableMaxRate; ///< Minimum acceptable bit rates on uplink and downlink
653 TBitErrorRatio iReqBER; ///< Requested target BER
654 TBitErrorRatio iMaxBER; ///< Maximum acceptable target BER
655 TSDUErrorRatio iReqSDUErrorRatio; ///< Requested target SDU error ratio
656 TSDUErrorRatio iMaxSDUErrorRatio; ///< Maximum acceptable target SDU error ratio
657 TTrafficHandlingPriority iReqTrafficHandlingPriority;///< Requested traffic handling priority
658 TTrafficHandlingPriority iMinTrafficHandlingPriority;///< Minimum acceptable traffic handling priority
659 TInt iReqTransferDelay; ///< Requested transfer delay (in milliseconds)
660 TInt iMaxTransferDelay; ///< Maximum acceptable transfer delay (in milliseconds)
661 TBitRate iReqGuaranteedRate; ///< Requested guaranteed bit rates on uplink and downlink
662 TBitRate iMinGuaranteedRate; ///< Minimum acceptable guaranteed bit rates on uplink and downlink
665 class TQoSR99_R4Negotiated : public TPacketDataConfigBase
667 Contains the negotiated values for the GPRS/UMTS Rel99
668 and UMTS Rel4 QoS profile.
675 IMPORT_C TQoSR99_R4Negotiated();
677 TTrafficClass iTrafficClass; ///< Negotiated traffic class
678 TDeliveryOrder iDeliveryOrderReqd; ///< Negotiated value for sequential SDU delivery
679 TErroneousSDUDelivery iDeliverErroneousSDU; ///< Negotiated value for erroneous SDU delivery
680 TInt iMaxSDUSize; ///< Negotiated maximum SDU size (in octets)
681 TBitRate iMaxRate; ///< Negotiated maximum bit rates on the uplink and downlink
682 TBitErrorRatio iBER; ///< Negotiated target BER
683 TSDUErrorRatio iSDUErrorRatio; ///< Negotiated target SDU error ratio
684 TTrafficHandlingPriority iTrafficHandlingPriority; ///< Negotiated traffic handling priority
685 TInt iTransferDelay; ///< Negotiated transfer delay (in milliseconds)
686 TBitRate iGuaranteedRate; ///< Negotiated guaranteed bit rates on the uplink and downlink
690 class TQoSR5Requested : public TQoSR99_R4Requested
692 Contains the requested and minimum values for the
693 UMTS/IMS 3GPP Rel5 QoS profile attributes.
700 IMPORT_C TQoSR5Requested();
702 /** Requested signalling indication. */
703 TBool iSignallingIndication;
704 /** Requested source statistics descriptor. */
705 TSourceStatisticsDescriptor iSourceStatisticsDescriptor;
710 class TQoSR5Negotiated : public TQoSR99_R4Negotiated
712 Contains the negotiated values for the UMTS/IMS 3GPP Rel5 QoS profile.
719 IMPORT_C TQoSR5Negotiated();
721 /** Negotiated signalling indication. */
722 TBool iSignallingIndication;
723 /** Negotiated source statistics descriptor. */
724 TSourceStatisticsDescriptor iSourceStatisticsDescriptor;
727 IMPORT_C RPacketQoS();
728 IMPORT_C TInt OpenNewQoS(RPacketContext& aPacketContext, TDes& aProfileName);
729 IMPORT_C TInt OpenExistingQoS(RPacketContext& aPacketContext, const TDesC& aProfileName);
730 IMPORT_C void Close();
732 IMPORT_C void SetProfileParameters(TRequestStatus& aStatus, TDes8& aProfile) const;
733 IMPORT_C void GetProfileParameters(TRequestStatus& aStatus, TDes8& aProfile) const;
734 IMPORT_C void GetProfileCapabilities(TRequestStatus& aStatus, TDes8& aProfileCaps) const;
735 IMPORT_C void NotifyProfileChanged(TRequestStatus& aStatus, TDes8& aProfile) const;
737 IMPORT_C virtual void ConstructL();
738 IMPORT_C virtual void Destruct();
740 CPacketQoSPtrHolder* iEtelPacketQoSPtrHolder;