24
|
1 |
// Copyright (c) 2008-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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// This file contains all the interfaces classes that can be implemented by
|
|
15 |
// the Licensee LTSY relating to PacketServices related features.
|
|
16 |
//
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
/**
|
|
22 |
@file
|
|
23 |
@publishedPartner
|
|
24 |
@released
|
|
25 |
*/
|
|
26 |
|
|
27 |
|
|
28 |
#ifndef MLTSYDISPATCHPACKETSERVICESINTERFACE_H_
|
|
29 |
#define MLTSYDISPATCHPACKETSERVICESINTERFACE_H_
|
|
30 |
|
|
31 |
#include <ctsy/ltsy/mltsydispatchinterface.h>
|
|
32 |
#include <etelpckt.h>
|
|
33 |
#include <etelqos.h>
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
class MLtsyDispatchPacketServicesPacketAttach : public MLtsyDispatchInterface
|
|
39 |
{
|
|
40 |
public:
|
|
41 |
|
|
42 |
static const TInt KLtsyDispatchPacketServicesPacketAttachApiId = KDispatchPacketServicesFuncUnitId + 1;
|
|
43 |
|
|
44 |
/**
|
|
45 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketAttach
|
|
46 |
* request from the CTSY.
|
|
47 |
*
|
|
48 |
* It is a request call that is completed by invoking
|
|
49 |
* CCtsyDispatcherCallback::CallbackPacketServicesPacketAttachComp()
|
|
50 |
*
|
|
51 |
* Implementation of this interface should issue an attach request to the LTSY.
|
|
52 |
*
|
|
53 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
54 |
* failure.
|
|
55 |
*/
|
|
56 |
virtual TInt HandlePacketAttachReqL() = 0;
|
|
57 |
|
|
58 |
}; // class MLtsyDispatchPacketServicesPacketAttach
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
class MLtsyDispatchPacketServicesGetPacketAttachMode : public MLtsyDispatchInterface
|
|
63 |
{
|
|
64 |
public:
|
|
65 |
|
|
66 |
static const TInt KLtsyDispatchPacketServicesGetPacketAttachModeApiId = KDispatchPacketServicesFuncUnitId + 2;
|
|
67 |
|
|
68 |
/**
|
|
69 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketGetAttachMode
|
|
70 |
* request from the CTSY.
|
|
71 |
*
|
|
72 |
* It is a request call that is completed by invoking
|
|
73 |
* CCtsyDispatcherCallback::CallbackPacketServicesGetPacketAttachModeComp()
|
|
74 |
*
|
|
75 |
* Implementation of this interface will return the attach mode. However if the call is
|
|
76 |
* being made during a packet service open process it will skip the get attach mode call.
|
|
77 |
*
|
|
78 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
79 |
* failure.
|
|
80 |
*/
|
|
81 |
virtual TInt HandleGetPacketAttachModeReqL() = 0;
|
|
82 |
|
|
83 |
}; // class MLtsyDispatchPacketServicesGetPacketAttachMode
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
class MLtsyDispatchPacketServicesGetPacketNetworkRegistrationStatus : public MLtsyDispatchInterface
|
|
88 |
{
|
|
89 |
public:
|
|
90 |
|
|
91 |
static const TInt KLtsyDispatchPacketServicesGetPacketNetworkRegistrationStatusApiId = KDispatchPacketServicesFuncUnitId + 3;
|
|
92 |
|
|
93 |
/**
|
|
94 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketGetNtwkRegStatus
|
|
95 |
* request from the CTSY.
|
|
96 |
*
|
|
97 |
* It is a request call that is completed by invoking
|
|
98 |
* CCtsyDispatcherCallback::CallbackPacketServicesGetPacketNetworkRegistrationStatusComp()
|
|
99 |
*
|
|
100 |
* Implementation of this interface should retrieve the packet network registration status
|
|
101 |
* from the baseband.
|
|
102 |
*
|
|
103 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
104 |
* failure.
|
|
105 |
*/
|
|
106 |
virtual TInt HandleGetPacketNetworkRegistrationStatusReqL() = 0;
|
|
107 |
|
|
108 |
}; // class MLtsyDispatchPacketServicesGetPacketNetworkRegistrationStatus
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
class MLtsyDispatchPacketServicesPacketDetach : public MLtsyDispatchInterface
|
|
113 |
{
|
|
114 |
public:
|
|
115 |
|
|
116 |
static const TInt KLtsyDispatchPacketServicesPacketDetachApiId = KDispatchPacketServicesFuncUnitId + 4;
|
|
117 |
|
|
118 |
/**
|
|
119 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketDetach
|
|
120 |
* request from the CTSY.
|
|
121 |
*
|
|
122 |
* It is a request call that is completed by invoking
|
|
123 |
* CCtsyDispatcherCallback::CallbackPacketServicesPacketDetachComp()
|
|
124 |
*
|
|
125 |
* Implementation of this interface should issue a detach request to the LTSY.
|
|
126 |
*
|
|
127 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
128 |
* failure.
|
|
129 |
*/
|
|
130 |
virtual TInt HandlePacketDetachReqL() = 0;
|
|
131 |
|
|
132 |
}; // class MLtsyDispatchPacketServicesPacketDetach
|
|
133 |
|
|
134 |
|
|
135 |
|
|
136 |
class MLtsyDispatchPacketServicesSetPdpContextConfig : public MLtsyDispatchInterface
|
|
137 |
{
|
|
138 |
public:
|
|
139 |
|
|
140 |
static const TInt KLtsyDispatchPacketServicesSetPdpContextConfigApiId = KDispatchPacketServicesFuncUnitId + 5;
|
|
141 |
|
|
142 |
/**
|
|
143 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextSetConfig
|
|
144 |
* request from the CTSY.
|
|
145 |
*
|
|
146 |
* It is a request call that is completed by invoking
|
|
147 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetPdpContextConfigComp()
|
|
148 |
* Implementation of this interface should pass LTSY the parameters it needs to set the
|
|
149 |
* context configuration
|
|
150 |
*
|
|
151 |
* @param aContextId the context name
|
|
152 |
* @param aAccessPointName the access name which identifies the GGSN to be used
|
|
153 |
* @param aPdpType the protocol type
|
|
154 |
* @param aPdpAddress the PDP address for this context
|
|
155 |
* @param aPcoBuffer the pco buffer
|
|
156 |
*
|
|
157 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
158 |
* failure.
|
|
159 |
*/
|
|
160 |
virtual TInt HandleSetPdpContextConfigReqL(const TDesC& aContextId,
|
|
161 |
const TDesC8& aAccessPointName,
|
|
162 |
const RPacketContext::TProtocolType aPdpType,
|
|
163 |
const TDesC8& aPdpAddress,
|
|
164 |
const TDesC8& aPcoBuffer) = 0;
|
|
165 |
|
|
166 |
}; // class MLtsyDispatchPacketServicesSetPdpContextConfig
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
class MLtsyDispatchPacketServicesModifyActivePdpContext : public MLtsyDispatchInterface
|
|
171 |
{
|
|
172 |
public:
|
|
173 |
|
|
174 |
static const TInt KLtsyDispatchPacketServicesModifyActivePdpContextApiId = KDispatchPacketServicesFuncUnitId + 6;
|
|
175 |
|
|
176 |
/**
|
|
177 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextModifyActiveContext
|
|
178 |
* request from the CTSY.
|
|
179 |
*
|
|
180 |
* It is a request call that is completed by invoking
|
|
181 |
* CCtsyDispatcherCallback::CallbackPacketServicesModifyActivePdpContextComp()
|
|
182 |
* Implementation of this interface should signal to the Licensee TSY that it can action the modification
|
|
183 |
* of an existing context, the changes being indicated via appropriate RPacketContext::SetConfig and
|
|
184 |
* RPacketContext::SetProfileParameters calls
|
|
185 |
*
|
|
186 |
* @param aContextName the context name.
|
|
187 |
*
|
|
188 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
189 |
* failure.
|
|
190 |
*/
|
|
191 |
virtual TInt HandleModifyActivePdpContextReqL(const TDesC& aContextName) = 0;
|
|
192 |
}; // class MLtsyDispatchPacketServicesModifyActivePdpContext
|
|
193 |
|
|
194 |
|
|
195 |
|
|
196 |
class MLtsyDispatchPacketServicesInitialisePdpContext : public MLtsyDispatchInterface
|
|
197 |
{
|
|
198 |
public:
|
|
199 |
|
|
200 |
static const TInt KLtsyDispatchPacketServicesInitialisePdpContextApiId = KDispatchPacketServicesFuncUnitId + 7;
|
|
201 |
|
|
202 |
/**
|
|
203 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextInitialiseContext
|
|
204 |
* request from the CTSY.
|
|
205 |
*
|
|
206 |
* It is a request call that is completed by invoking
|
|
207 |
* CCtsyDispatcherCallback::CallbackPacketServicesInitialisePdpContextComp()
|
|
208 |
* Implementation of this interface should initialise either primary or secondary contexts
|
|
209 |
*
|
|
210 |
*
|
|
211 |
* @param aPrimaryContextName Primary context name in the form of a character string,
|
|
212 |
* the maximum length of the descriptor should not exceed KMaxInfoName.
|
|
213 |
* @param aSecondaryContextName Optional secondary context name in the form of a character
|
|
214 |
* string, the maximum length of the descriptor should not exceed KMaxInfoName.
|
|
215 |
*
|
|
216 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
217 |
* failure.
|
|
218 |
*/
|
|
219 |
virtual TInt HandleInitialisePdpContextReqL(const TDesC& aPrimaryContextName, const TDesC& aSecondaryContextName) = 0;
|
|
220 |
}; // class MLtsyDispatchPacketServicesInitialisePdpContext
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
class MLtsyDispatchPacketServicesDeletePdpContext : public MLtsyDispatchInterface
|
|
225 |
{
|
|
226 |
public:
|
|
227 |
|
|
228 |
static const TInt KLtsyDispatchPacketServicesDeletePdpContextApiId = KDispatchPacketServicesFuncUnitId + 8;
|
|
229 |
|
|
230 |
/**
|
|
231 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextDelete
|
|
232 |
* request from the CTSY.
|
|
233 |
*
|
|
234 |
* It is a request call that is completed by invoking
|
|
235 |
* CCtsyDispatcherCallback::CallbackPacketServicesDeletePdpContextComp()
|
|
236 |
*
|
|
237 |
* Implementation of this interface should delete the context given.
|
|
238 |
*
|
|
239 |
* @param aContextName The name of the context to delete,
|
|
240 |
* the maximum length of the descriptor should not exceed KMaxInfoName.
|
|
241 |
*
|
|
242 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
243 |
* failure.
|
|
244 |
*/
|
|
245 |
virtual TInt HandleDeletePdpContextReqL(const TDesC& aContextName) = 0;
|
|
246 |
|
|
247 |
}; // class MLtsyDispatchPacketServicesDeletePdpContext
|
|
248 |
|
|
249 |
|
|
250 |
|
|
251 |
class MLtsyDispatchPacketServicesSetPacketAttachMode : public MLtsyDispatchInterface
|
|
252 |
{
|
|
253 |
public:
|
|
254 |
|
|
255 |
static const TInt KLtsyDispatchPacketServicesSetPacketAttachModeApiId = KDispatchPacketServicesFuncUnitId + 9;
|
|
256 |
|
|
257 |
/**
|
|
258 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketSetAttachMode
|
|
259 |
* request from the CTSY.
|
|
260 |
*
|
|
261 |
* It is a request call that is completed by invoking
|
|
262 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetPacketAttachModeComp()
|
|
263 |
*
|
|
264 |
* Implementation of this interface should set the packet service attach mode.
|
|
265 |
* @param aAttachMode the attach mode due to be set.
|
|
266 |
*
|
|
267 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
268 |
* failure.
|
|
269 |
*/
|
|
270 |
virtual TInt HandleSetPacketAttachModeReqL(RPacketService::TAttachMode aAttachMode) = 0;
|
|
271 |
|
|
272 |
}; // class MLtsyDispatchPacketServicesSetPacketAttachMode
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
class MLtsyDispatchPacketServicesNotifyPacketStatusChange : public MLtsyDispatchInterface
|
|
277 |
{
|
|
278 |
public:
|
|
279 |
|
|
280 |
static const TInt KLtsyDispatchPacketServicesNotifyPacketStatusChangeApiId = KDispatchPacketServicesFuncUnitId + 10;
|
|
281 |
|
|
282 |
/**
|
|
283 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketNotifyStatusChange
|
|
284 |
* request from the CTSY.
|
|
285 |
*
|
|
286 |
* It is a request call that is completed by invoking
|
|
287 |
* CCtsyDispatcherCallback::CallbackPacketServicesNotifyPacketStatusChangeComp()
|
|
288 |
*
|
|
289 |
* Implementation of this interface should notify when the status of the packet service was changed.
|
|
290 |
*
|
|
291 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
292 |
* failure.
|
|
293 |
*/
|
|
294 |
virtual TInt HandleNotifyPacketStatusChangeReqL() = 0;
|
|
295 |
|
|
296 |
}; // class MLtsyDispatchPacketServicesNotifyPacketStatusChange
|
|
297 |
|
|
298 |
|
|
299 |
|
|
300 |
class MLtsyDispatchPacketServicesSetDefaultPdpContextGprsParams : public MLtsyDispatchInterface
|
|
301 |
{
|
|
302 |
public:
|
|
303 |
|
|
304 |
static const TInt KLtsyDispatchPacketServicesSetDefaultPdpContextGprsParamsApiId = KDispatchPacketServicesFuncUnitId + 11;
|
|
305 |
|
|
306 |
/**
|
|
307 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketSetDefaultContextParams
|
|
308 |
* request from the CTSY.
|
|
309 |
*
|
|
310 |
* It is a request call that is completed by invoking
|
|
311 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetDefaultPdpContextParamsComp()
|
|
312 |
*
|
|
313 |
* Implementation of this interface should set default configuration for Packet Context using GPRS params.
|
|
314 |
*
|
|
315 |
* @param aContextConfigGprs GPRS configuration input parameters.
|
|
316 |
*
|
|
317 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
318 |
* failure.
|
|
319 |
*/
|
|
320 |
virtual TInt HandleSetDefaultPdpContextGprsParamsReqL(const RPacketContext::TContextConfigGPRS& aContextConfigGprs) = 0;
|
|
321 |
|
|
322 |
}; // class MLtsyDispatchPacketServicesSetDefaultPdpContextGprsParams
|
|
323 |
|
|
324 |
class MLtsyDispatchPacketServicesSetDefaultPdpContextR99R4Params : public MLtsyDispatchInterface
|
|
325 |
{
|
|
326 |
public:
|
|
327 |
|
|
328 |
static const TInt KLtsyDispatchPacketServicesSetDefaultPdpContextR99R4ParamsApiId = KDispatchPacketServicesFuncUnitId + 12;
|
|
329 |
|
|
330 |
/**
|
|
331 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketSetDefaultContextParams
|
|
332 |
* request from the CTSY.
|
|
333 |
*
|
|
334 |
* It is a request call that is completed by invoking
|
|
335 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetDefaultPdpContextParamsComp()
|
|
336 |
*
|
|
337 |
* Implementation of this interface should set default configuration for Packet Context using R99/R4 params.
|
|
338 |
*
|
|
339 |
* @param aContextConfigR99R4 R99/R4 configuration input parameters.
|
|
340 |
*
|
|
341 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
342 |
* failure.
|
|
343 |
*/
|
|
344 |
virtual TInt HandleSetDefaultPdpContextR99R4ParamsReqL(const RPacketContext::TContextConfigR99_R4& aContextConfigR99R4) = 0;
|
|
345 |
|
|
346 |
}; // class MLtsyDispatchPacketServicesSetDefaultPdpContextR99R4Params
|
|
347 |
|
|
348 |
|
|
349 |
class MLtsyDispatchPacketServicesActivatePdpContext : public MLtsyDispatchInterface
|
|
350 |
{
|
|
351 |
public:
|
|
352 |
|
|
353 |
static const TInt KLtsyDispatchPacketServicesActivatePdpContextApiId = KDispatchPacketServicesFuncUnitId + 13;
|
|
354 |
|
|
355 |
/**
|
|
356 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextActivate
|
|
357 |
* request from the CTSY.
|
|
358 |
*
|
|
359 |
* It is a request call that is completed by invoking
|
|
360 |
* CCtsyDispatcherCallback::CallbackPacketServicesActivatePdpContextComp()
|
|
361 |
*
|
|
362 |
* Implementation of this interface should activate the context given.
|
|
363 |
*
|
|
364 |
* @param aContextName The context name, the maximum length of the descriptor
|
|
365 |
* should not exceed KMaxInfoName.
|
|
366 |
*
|
|
367 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
368 |
* failure.
|
|
369 |
*/
|
|
370 |
virtual TInt HandleActivatePdpContextReqL(const TDesC& aContextName) = 0;
|
|
371 |
|
|
372 |
}; // class MLtsyDispatchPacketServicesActivatePdpContext
|
|
373 |
|
|
374 |
|
|
375 |
|
|
376 |
class MLtsyDispatchPacketServicesSetPdpContextQosGprs : public MLtsyDispatchInterface
|
|
377 |
{
|
|
378 |
public:
|
|
379 |
|
|
380 |
static const TInt KLtsyDispatchPacketServicesSetPdpContextQosGprsApiId = KDispatchPacketServicesFuncUnitId + 14;
|
|
381 |
|
|
382 |
/**
|
|
383 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketQoSSetProfileParams
|
|
384 |
* request from the CTSY.
|
|
385 |
*
|
|
386 |
* It is a request call that is completed by invoking
|
|
387 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetPdpContextQosComp()
|
|
388 |
*
|
|
389 |
* Implementation of this interface should set GPRS QoS parametes for the given context.
|
|
390 |
*
|
|
391 |
* @param aContextName The name of the context, the maximum length of the
|
|
392 |
* descriptor should not exceed KMaxInfoName.
|
|
393 |
* @param aQoSConfig The QoS configuration parameters.
|
|
394 |
*
|
|
395 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
396 |
* failure.
|
|
397 |
*/
|
|
398 |
virtual TInt HandleSetPdpContextQosGprsReqL(const TDesC& aContextName, const RPacketQoS::TQoSGPRSRequested& aQoSConfig) = 0;
|
|
399 |
|
|
400 |
}; // class MLtsyDispatchPacketServicesSetPdpContextQosGprs
|
|
401 |
|
|
402 |
class MLtsyDispatchPacketServicesSetPdpContextQosR99R4 : public MLtsyDispatchInterface
|
|
403 |
{
|
|
404 |
public:
|
|
405 |
|
|
406 |
static const TInt KLtsyDispatchPacketServicesSetPdpContextQosR99R4ApiId = KDispatchPacketServicesFuncUnitId + 15;
|
|
407 |
|
|
408 |
/**
|
|
409 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketQoSSetProfileParams
|
|
410 |
* request from the CTSY.
|
|
411 |
*
|
|
412 |
* It is a request call that is completed by invoking
|
|
413 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetPdpContextQosComp()
|
|
414 |
*
|
|
415 |
* Implementation of this interface should set R99R4 QoS parametes for the given context.
|
|
416 |
*
|
|
417 |
*
|
|
418 |
* @param aContextName the name of the context.
|
|
419 |
* @param aQoSConfig the QoS configuration parameters.
|
|
420 |
*
|
|
421 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
422 |
* failure.
|
|
423 |
*/
|
|
424 |
virtual TInt HandleSetPdpContextQosR99R4ReqL(const TDesC& aContextName, const RPacketQoS::TQoSR99_R4Requested& aQoSConfig) = 0;
|
|
425 |
|
|
426 |
}; // class MLtsyDispatchPacketServicesSetPdpContextQosR99R4
|
|
427 |
|
|
428 |
class MLtsyDispatchPacketServicesSetPdpContextQosR5 : public MLtsyDispatchInterface
|
|
429 |
{
|
|
430 |
public:
|
|
431 |
|
|
432 |
static const TInt KLtsyDispatchPacketServicesSetPdpContextQosR5ApiId = KDispatchPacketServicesFuncUnitId + 16;
|
|
433 |
|
|
434 |
/**
|
|
435 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketQoSSetProfileParams
|
|
436 |
* request from the CTSY.
|
|
437 |
*
|
|
438 |
* It is a request call that is completed by invoking
|
|
439 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetPdpContextQosComp()
|
|
440 |
*
|
|
441 |
* Implementation of this interface should set R5 QoS parametes for the given context.
|
|
442 |
*
|
|
443 |
*
|
|
444 |
* @param aContextName The name of the context, the maximum length of the
|
|
445 |
* descriptor should not exceed KMaxInfoName.
|
|
446 |
* @param aQoSConfig The QoS configuration parameters.
|
|
447 |
*
|
|
448 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
449 |
* failure.
|
|
450 |
*/
|
|
451 |
virtual TInt HandleSetPdpContextQosR5ReqL(const TDesC& aContextName, const RPacketQoS::TQoSR5Requested& aQoSConfig) = 0;
|
|
452 |
|
|
453 |
}; // class MLtsyDispatchPacketServicesSetPdpContextQosR5
|
|
454 |
|
|
455 |
|
|
456 |
|
|
457 |
|
|
458 |
class MLtsyDispatchPacketServicesRejectNetworkInitiatedContextActivationRequest : public MLtsyDispatchInterface
|
|
459 |
{
|
|
460 |
public:
|
|
461 |
|
|
462 |
static const TInt KLtsyDispatchPacketServicesRejectNetworkInitiatedContextActivationRequestApiId = KDispatchPacketServicesFuncUnitId + 17;
|
|
463 |
|
|
464 |
/**
|
|
465 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketRejectActivationRequest
|
|
466 |
* request from the CTSY.
|
|
467 |
*
|
|
468 |
* It is a request call that is completed by invoking
|
|
469 |
* CCtsyDispatcherCallback::CallbackPacketServicesRejectNetworkInitiatedContextActivationRequestComp()
|
|
470 |
*
|
|
471 |
* Implementation of this interface should reject the network initiated context activation request.
|
|
472 |
*
|
|
473 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
474 |
* failure.
|
|
475 |
*/
|
|
476 |
virtual TInt HandleRejectNetworkInitiatedContextActivationRequestReqL() = 0;
|
|
477 |
|
|
478 |
}; // class MLtsyDispatchPacketServicesRejectNetworkInitiatedContextActivationRequest
|
|
479 |
|
|
480 |
|
|
481 |
|
|
482 |
class MLtsyDispatchPacketServicesDeactivatePdpContext : public MLtsyDispatchInterface
|
|
483 |
{
|
|
484 |
public:
|
|
485 |
|
|
486 |
static const TInt KLtsyDispatchPacketServicesDeactivatePdpContextApiId = KDispatchPacketServicesFuncUnitId + 18;
|
|
487 |
|
|
488 |
/**
|
|
489 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextDeactivate
|
|
490 |
* request from the CTSY.
|
|
491 |
*
|
|
492 |
* It is a request call that is completed by invoking
|
|
493 |
* CCtsyDispatcherCallback::CallbackPacketServicesDeactivatePdpContextComp()
|
|
494 |
* Implementation of this interface should deactivate the context indicated by the context name.
|
|
495 |
*
|
|
496 |
*
|
|
497 |
* @param aContextName The context name that is to be deactivated,
|
|
498 |
* the maximum length of the descriptor should not exceed KMaxInfoName.
|
|
499 |
*
|
|
500 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
501 |
* failure.
|
|
502 |
*/
|
|
503 |
virtual TInt HandleDeactivatePdpContextReqL(const TDesC& aContextName) = 0;
|
|
504 |
|
|
505 |
}; // class MLtsyDispatchPacketServicesDeactivatePdpContext
|
|
506 |
|
|
507 |
|
|
508 |
|
|
509 |
class MLtsyDispatchPacketServicesAddPacketFilter : public MLtsyDispatchInterface
|
|
510 |
{
|
|
511 |
public:
|
|
512 |
|
|
513 |
static const TInt KLtsyDispatchPacketServicesAddPacketFilterApiId = KDispatchPacketServicesFuncUnitId + 19;
|
|
514 |
|
|
515 |
/**
|
|
516 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextAddPacketFilter
|
|
517 |
* request from the CTSY.
|
|
518 |
* Implementation of this interface should add a packet filter to the packet service.
|
|
519 |
*
|
|
520 |
* It is a request call that is completed by invoking
|
|
521 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetPdpContextConfigComp()
|
|
522 |
*
|
|
523 |
* @param aContextName The name of the context, the maximum length of the
|
|
524 |
* descriptor should not exceed KMaxInfoName.
|
|
525 |
* @param aContextFilter An array contains up to eight filters to be used
|
|
526 |
* for configuring the secondary context.
|
|
527 |
*
|
|
528 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
529 |
* failure.
|
|
530 |
*/
|
|
531 |
virtual TInt HandleAddPacketFilterSyncL(const TDesC& aContextName, CArrayFixFlat<RPacketContext::TPacketFilterV2>& aContextFilter) = 0;
|
|
532 |
|
|
533 |
}; // class MLtsyDispatchPacketServicesAddPacketFilter
|
|
534 |
|
|
535 |
class MLtsyDispatchPacketServicesGetStatus : public MLtsyDispatchInterface
|
|
536 |
{
|
|
537 |
public:
|
|
538 |
|
|
539 |
static const TInt KLtsyDispatchPacketServicesGetStatusApiId = KDispatchPacketServicesFuncUnitId + 20;
|
|
540 |
|
|
541 |
/**
|
|
542 |
* The CTSY Dispatcher shall invoke this function during the packet services bootup
|
|
543 |
* as part of EPacketNotifyStatusChange call.
|
|
544 |
*
|
|
545 |
* It is a request call that is completed by invoking
|
|
546 |
* CCtsyDispatcherCallback::CallbackPacketServicesGetStatusComp()
|
|
547 |
*
|
|
548 |
* Implemetation of this interface should retrieve the packet service status.
|
|
549 |
*
|
|
550 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
551 |
* failure.
|
|
552 |
*/
|
|
553 |
virtual TInt HandleGetStatusReqL() = 0;
|
|
554 |
|
|
555 |
}; // class MLtsyDispatchPacketServicesGetStatus
|
|
556 |
|
|
557 |
class MLtsyDispatchPacketServicesGetStaticCapabilities : public MLtsyDispatchInterface
|
|
558 |
{
|
|
559 |
public:
|
|
560 |
|
|
561 |
static const TInt KLtsyDispatchPacketServicesGetStaticCapabilitiesApiId = KDispatchPacketServicesFuncUnitId + 21;
|
|
562 |
|
|
563 |
/**
|
|
564 |
* The CTSY Dispatcher shall invoke this function during the packet services bootup
|
|
565 |
* as part of EPacketGetStaticCaps call.
|
|
566 |
*
|
|
567 |
* It is a request call that is completed by invoking
|
|
568 |
* CCtsyDispatcherCallback::CallbackPacketServicesGetStaticCapabilitiesComp()
|
|
569 |
*
|
|
570 |
* Implemetation of this interface should retrieve the packet service static capabilities.
|
|
571 |
*
|
|
572 |
* Calls to RPacketService::GetStaticCaps() will then return the static capabilities returned
|
|
573 |
* in the callback.
|
|
574 |
*
|
|
575 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
576 |
* failure.
|
|
577 |
*
|
|
578 |
* @see RPacketService::GetStaticCaps()
|
|
579 |
*/
|
|
580 |
virtual TInt HandleGetStaticCapabilitiesReqL() = 0;
|
|
581 |
|
|
582 |
}; // class MLtsyDispatchPacketServicesGetStaticCapabilities
|
|
583 |
|
|
584 |
class MLtsyDispatchPacketServicesGetMaxNoMonitoredServiceLists : public MLtsyDispatchInterface
|
|
585 |
{
|
|
586 |
public:
|
|
587 |
|
|
588 |
static const TInt KLtsyDispatchPacketServicesGetMaxNoMonitoredServiceListsApiId = KDispatchPacketServicesFuncUnitId + 22;
|
|
589 |
|
|
590 |
/**
|
|
591 |
* The CTSY Dispatcher shall invoke this function during the packet services bootup
|
|
592 |
* as part of EPacketEnumerateMbmsMonitorServiceList call.
|
|
593 |
*
|
|
594 |
* It is a request call that is completed by invoking
|
|
595 |
* CCtsyDispatcherCallback::CallbackPacketServicesGetMaxNoMonitoredServiceListsComp()
|
|
596 |
*
|
|
597 |
* Implemetation of this interface should retrieve the maximum number of monitored service lists.
|
|
598 |
*
|
|
599 |
* Calls to RPacketService::EnumerateMbmsMonitorServiceList() will then return the
|
|
600 |
* maximum number of monitored service lists in the aMaxAllowed field.
|
|
601 |
*
|
|
602 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
603 |
* failure.
|
|
604 |
*
|
|
605 |
* @see RPacketService::EnumerateMbmsMonitorServiceList()
|
|
606 |
*/
|
|
607 |
virtual TInt HandleGetMaxNoMonitoredServiceListsReqL() = 0;
|
|
608 |
|
|
609 |
}; // class MLtsyDispatchPacketServicesGetMaxNoMonitoredServiceLists
|
|
610 |
|
|
611 |
class MLtsyDispatchPacketServicesGetMaxNoActiveServices : public MLtsyDispatchInterface
|
|
612 |
{
|
|
613 |
public:
|
|
614 |
|
|
615 |
static const TInt KLtsyDispatchPacketServicesGetMaxNoActiveServicesApiId = KDispatchPacketServicesFuncUnitId + 23;
|
|
616 |
|
|
617 |
/**
|
|
618 |
* The CTSY Dispatcher shall invoke this function during the packet services bootup
|
|
619 |
* as part of EPacketEnumerateMbmsActiveServiceList call.
|
|
620 |
*
|
|
621 |
* It is a request call that is completed by invoking
|
|
622 |
* CCtsyDispatcherCallback::CallbackPacketServicesGetMaxNoActiveServicesComp()
|
|
623 |
*
|
|
624 |
* Implemetation of this interface should retrieve the maximum number of active services allowed
|
|
625 |
* (hence the maximum number of contexts allowed).
|
|
626 |
*
|
|
627 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
628 |
* failure.
|
|
629 |
*
|
|
630 |
*/
|
|
631 |
virtual TInt HandleGetMaxNoActiveServicesReqL() = 0;
|
|
632 |
|
|
633 |
}; // class MLtsyDispatchPacketServicesGetMaxNoActiveServices
|
|
634 |
|
|
635 |
class MLtsyDispatchPacketServicesInitialiseMbmsContext : public MLtsyDispatchInterface
|
|
636 |
{
|
|
637 |
public:
|
|
638 |
|
|
639 |
static const TInt KLtsyDispatchPacketServicesInitialiseMbmsContextApiId = KDispatchPacketServicesFuncUnitId + 24;
|
|
640 |
|
|
641 |
/**
|
|
642 |
* The CTSY Dispatcher shall invoke this function on receiving the ECtsyPacketMbmsInitialiseContextReq
|
|
643 |
* request from the CTSY.
|
|
644 |
*
|
|
645 |
* It is a request call that is completed by invoking
|
|
646 |
* CCtsyDispatcherCallback::CallbackPacketServicesInitialiseMbmsContextComp()
|
|
647 |
*
|
|
648 |
* Implementation of this interface should initialise the Mbms Context
|
|
649 |
* (Multimedia Broadcast Multicast Service).
|
|
650 |
*
|
|
651 |
* @param aContextName The context name in the form of a character string
|
|
652 |
* the maximum length of the descriptor should not exceed KMaxInfoName.
|
|
653 |
*
|
|
654 |
*
|
|
655 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
656 |
* failure.
|
|
657 |
*
|
|
658 |
* @see RPacketMbmsContext::InitialiseContext()
|
|
659 |
*/
|
|
660 |
virtual TInt HandleInitialiseMbmsContextReqL(const TDesC& aContextName) = 0;
|
|
661 |
|
|
662 |
}; // class MLtsyDispatchPacketServicesInitialiseMbmsContext
|
|
663 |
|
|
664 |
class MLtsyDispatchPacketServicesGetMbmsNetworkServiceStatus : public MLtsyDispatchInterface
|
|
665 |
{
|
|
666 |
public:
|
|
667 |
|
|
668 |
static const TInt KLtsyDispatchPacketServicesGetMbmsNetworkServiceStatusApiId = KDispatchPacketServicesFuncUnitId + 25;
|
|
669 |
|
|
670 |
/**
|
|
671 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketGetMbmsNetworkServiceStatus
|
|
672 |
* request from the CTSY.
|
|
673 |
*
|
|
674 |
* It is a request call that is completed by invoking
|
|
675 |
* CCtsyDispatcherCallback::CallbackPacketServicesGetMbmsNetworkServiceStatusComp()
|
|
676 |
*
|
|
677 |
* Implementation of this interface should retrieve the current MBMS
|
|
678 |
* (Multimedia Broadcast Multicast Service) network state.
|
|
679 |
*
|
|
680 |
* There can be 3 states that MBMS feature availability could return,
|
|
681 |
* Unknown - when UE is not GMM Attached.
|
|
682 |
* Supported - When UE is GMM Attached and it is known that cell supports MBMS.
|
|
683 |
* Not Supported - When UE is GMM Attached and it is know that cell does not support MBMS.
|
|
684 |
*
|
|
685 |
* The state is only known from GMM Attach response from the network or during a Routing Area update.
|
|
686 |
* A consequence of this is that it is required for the UE to be in GMM Attach mode in order
|
|
687 |
* for either of these messages to be received. If the UE is not in GMM ATTACH then it is unable
|
|
688 |
* to determine MBMS network support.
|
|
689 |
*
|
|
690 |
* @param aAttemptAttach If a GMM attached is to be performed.
|
|
691 |
*
|
|
692 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
693 |
* failure.
|
|
694 |
*
|
|
695 |
* @see RPacketService::GetMbmsNetworkServiceStatus()
|
|
696 |
*/
|
|
697 |
virtual TInt HandleGetMbmsNetworkServiceStatusReqL(TBool aAttemptAttach) = 0;
|
|
698 |
|
|
699 |
}; // class MLtsyDispatchPacketServicesInitialiseMbmsContext
|
|
700 |
|
|
701 |
class MLtsyDispatchPacketServicesUpdateMbmsMonitorServiceList : public MLtsyDispatchInterface
|
|
702 |
{
|
|
703 |
public:
|
|
704 |
|
|
705 |
static const TInt KLtsyDispatchPacketServicesUpdateMbmsMonitorServiceListApiId = KDispatchPacketServicesFuncUnitId + 26;
|
|
706 |
|
|
707 |
/**
|
|
708 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketUpdateMbmsMonitorServiceList
|
|
709 |
* request from the CTSY.
|
|
710 |
*
|
|
711 |
* It is a request call that is completed by invoking
|
|
712 |
* CCtsyDispatcherCallback::CallbackPacketServicesUpdateMbmsMonitorServiceListComp()
|
|
713 |
*
|
|
714 |
* Implementation of this interface should request to update the MBMS (Multimedia Broadcast Multicast Service)
|
|
715 |
* monitor service availability list with the change list entries as per the action mentioned.
|
|
716 |
* The CTSY stores the monitor service availability list, this list is updated on a successful completion.
|
|
717 |
*
|
|
718 |
* @param aAction The MBMS action (add, remove or remove all).
|
|
719 |
* @param aServiceList The current MBMS monitor service availability list as held by the CTSY.
|
|
720 |
* @param aChangeList The list of entries to be changed as per the action. (e.g. the action = Add,
|
|
721 |
* the change list will contain entries to be added to the MBMS monitor service availability list)
|
|
722 |
*
|
|
723 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
724 |
* failure.
|
|
725 |
*
|
|
726 |
* @see RPacketService::UpdateMbmsMonitorServiceListL()
|
|
727 |
* @see RPacketService::NotifyMbmsServiceAvailabilityChange()
|
|
728 |
* @see CRetrievePcktMbmsMonitoredServices()
|
|
729 |
*/
|
|
730 |
virtual TInt HandleUpdateMbmsMonitorServiceListsReqL(TMbmsAction aAction, const CPcktMbmsMonitoredServiceList& aServiceList, const CPcktMbmsMonitoredServiceList& aChangeList) = 0;
|
|
731 |
|
|
732 |
}; // class MLtsyDispatchPacketServicesUpdateMbmsMonitorServiceList
|
|
733 |
|
|
734 |
class MLtsyDispatchPacketServicesUpdateMbmsSessionList : public MLtsyDispatchInterface
|
|
735 |
{
|
|
736 |
public:
|
|
737 |
|
|
738 |
static const TInt KLtsyDispatchPacketServicesUpdateMbmsSessionListApiId = KDispatchPacketServicesFuncUnitId + 27;
|
|
739 |
|
|
740 |
/**
|
|
741 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextUpdateMbmsSessionList
|
|
742 |
* request from the CTSY.
|
|
743 |
*
|
|
744 |
* It is a request call that is completed by invoking
|
|
745 |
* CCtsyDispatcherCallback::CallbackPacketServicesUpdateMbmsSessionListComp()
|
|
746 |
*
|
|
747 |
* Implementation of this interface should request to add a new session to be received or remove
|
|
748 |
* an existing session to/from the MBMS services table.
|
|
749 |
* The CTSY stores the MBMS services table, this table is updated on a successful completion.
|
|
750 |
*
|
|
751 |
* @param aContextName The MBMS context name in the form of a character string.
|
|
752 |
* @param aAction The action to be performed (add, remove or remove all).
|
|
753 |
* @param aSessionId The MBMS session identifier which needs to be received or removed.
|
|
754 |
* @param aServiceList The MBMS services table as held by the CTSY.
|
|
755 |
*
|
|
756 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
757 |
* failure.
|
|
758 |
*
|
|
759 |
* @see RPacketService::UpdateMbmsSessionList()
|
|
760 |
* @see CRetrievePcktMbmsSessionList()
|
|
761 |
*/
|
|
762 |
virtual TInt HandleUpdateMbmsSessionListReqL(const TDesC& aContextName, TMbmsAction aAction, TMbmsSessionId aSessionId, const TMbmsSessionIdList& aServiceList) = 0;
|
|
763 |
|
|
764 |
}; // class MLtsyDispatchPacketServicesUpdateMbmsSessionList
|
|
765 |
|
|
766 |
class MLtsyDispatchPacketServicesRemovePacketFilter : public MLtsyDispatchInterface
|
|
767 |
{
|
|
768 |
public:
|
|
769 |
|
|
770 |
static const TInt KLtsyDispatchPacketServicesRemovePacketFilterApiId = KDispatchPacketServicesFuncUnitId + 28;
|
|
771 |
/**
|
|
772 |
* The CTSY Dispatcher shall invoke this function on receiving the EPacketContextRemovePacketFilter
|
|
773 |
* request from the CTSY.
|
|
774 |
* Implementation of this interface should remove a packet filter from the packet service.
|
|
775 |
*
|
|
776 |
* It is a request call that is completed by invoking
|
|
777 |
* CCtsyDispatcherCallback::CallbackPacketServicesSetPdpContextConfigComp()
|
|
778 |
*
|
|
779 |
* @param aContextName The name of the context, the maximum length of the
|
|
780 |
* descriptor should not exceed KMaxInfoName.
|
|
781 |
* @param aFilterId The filter Id to remove.
|
|
782 |
*
|
|
783 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
784 |
* failure.
|
|
785 |
*/
|
|
786 |
virtual TInt HandleRemovePacketFilterSyncL(const TDesC& aContextName, TInt aFilterId) = 0;
|
|
787 |
|
|
788 |
}; // class MLtsyDispatchPacketServicesRemovePacketFilter
|
|
789 |
|
|
790 |
#endif /*MLTSYDISPATCHPACKETSERVICESINTERFACE_H_*/
|