|
1 /* |
|
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MMTSY_TIMEOUTDEFS_H |
|
21 #define MMTSY_TIMEOUTDEFS_H |
|
22 |
|
23 //INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // CONSTANTS |
|
27 //Disable if automatic response is not required |
|
28 #define REQHANDLE_TIMER |
|
29 |
|
30 #ifdef REQHANDLE_TIMER |
|
31 //lenght of timer entry table |
|
32 const TUint8 KMultimodeTsyTimeStoreLength = 25; |
|
33 |
|
34 #ifdef __WINS__ |
|
35 //value for increasing the timouts defined below for WINS debugging |
|
36 const TUint8 KMultimodeTsyWinsTimeoutIncreasing = 0; |
|
37 #endif |
|
38 |
|
39 //CMmPhoneTsy |
|
40 //DTMF |
|
41 const TUint8 KMmPhoneSendDTMFTonesTimeOut = 125; |
|
42 const TUint8 KMmPhoneStartDTMFToneTimeOut = 5; |
|
43 const TUint8 KMmPhoneStopDTMFToneTimeOut = 5; |
|
44 |
|
45 // All Calls Termination |
|
46 const TUint8 KMmPhoneTerminateAllCallsTimeOut = 30; |
|
47 |
|
48 //NET |
|
49 const TUint8 KMmPhoneSelectNetworkTimeOut = 165; |
|
50 const TUint8 KMmPhoneSendNetworkServiceRequestTimeOut = 30; |
|
51 const TUint8 KMmPhoneSendNetworkServiceRequestNoFdnCheckTimeOut = 30; |
|
52 const TUint8 KMmPhoneGetDetectedNetworksPhase1TimeOut = 255; |
|
53 const TUint8 KMmPhoneSetNWSelectionSettingTimeOut = 120; |
|
54 const TUint8 KMmCustomGetNetworkOperatorNameTimeout = 20; |
|
55 const TUint8 KMmPhoneIMSAuthenticateTimeOut = 240; |
|
56 const TUint8 KMmPhoneGetCurrentActiveUSimApplicationTimeOut = 60; |
|
57 const TUint8 KMmPhoneGetAuthorizationInfoPhase1TimeOut = 30; |
|
58 |
|
59 //SECURITY |
|
60 const TUint8 KMmPhoneSetLockSettingTimeOut = 60; |
|
61 const TUint8 KMmPhoneGetLockInfoTimeOut = 60; |
|
62 const TUint8 KMmPhoneAbortSecurityCodeTimeOut = 60; |
|
63 const TUint8 KMmPhoneVerifySecurityCodeTimeOut = 60; |
|
64 const TUint8 KMmPhoneChangeSecurityCodeTimeOut = 60; |
|
65 const TUint8 KMmPhoneGetSecurityCodeInfoTimeOut = 60; |
|
66 |
|
67 //SS |
|
68 //These features that do not require PIN verification |
|
69 const TUint8 KMmPhoneSetCallForwardingStatusTimeOut = 60; |
|
70 const TUint8 KMmPhoneSetCallBarringStatusTimeOut = 60; |
|
71 const TUint8 KMmPhoneGetCallForwardingStatusPhase1TimeOut = 60; |
|
72 const TUint8 KMmPhoneGetCallBarringStatusPhase1TimeOut = 60; |
|
73 const TUint8 KMmPhoneGetCallWaitingStatusPhase1TimeOut = 60; |
|
74 const TUint8 KMmPhoneSetSSPasswordTimeOut = 60; |
|
75 const TUint8 KMmPhoneSetCallWaitingStatusTimeOut = 60; |
|
76 const TUint8 KMmPhoneGetIdentityServiceStatusTimeOut = 60; |
|
77 const TUint8 KMmPhoneGetAlsLineTimeOut = 60; |
|
78 const TUint8 KMmPhoneSetAlsLineTimeOut = 60; |
|
79 const TUint8 KMmPhoneGetIccMessageWaitingIndicators = 60; |
|
80 const TUint8 KMmPhoneSetIccMessageWaitingIndicators = 60; |
|
81 |
|
82 //These require verifying of securiry code -> may take a long time. |
|
83 const TUint8 KMmPhoneSetFdnSettingTimeOut = 120; |
|
84 const TUint8 KMmPhoneGetServiceTableTimeOut = 120; |
|
85 const TUint8 KMmPhoneGetCustomerServiceProfileTimeOut = 120; |
|
86 const TUint8 KMmPhoneGetPhoneStoreInfoTimeOut = 120; |
|
87 const TUint8 KMmPhoneGetFdnStatusTimeOut = 120; |
|
88 |
|
89 //SIM |
|
90 const TUint8 KMmPhoneGetServiceProvicedNameTimeOut = 30; |
|
91 const TUint8 KMmPhoneGetMailboxNumbersTimeOut = 20; |
|
92 const TUint8 KMmPhoneEnumerateAPNEntriesTimeOut = 30; |
|
93 const TUint8 KMmPhoneGetAPNnameTimeOut = 30; |
|
94 const TUint8 KMmPhoneAppendAPNNameTimeOut = 30; |
|
95 const TUint8 KMmPhoneDeleteAPNNameTimeOut = 30; |
|
96 const TUint8 KMmPhoneSetAPNControlListServiceStatusTimeOut = 30; |
|
97 const TUint8 KMmPhoneGetAPNControlListServiceStatusTimeOut = 30; |
|
98 |
|
99 //CMmLineTsy |
|
100 //None |
|
101 |
|
102 |
|
103 //CMmCallTsy |
|
104 const TUint8 KMmCallDialTimeOut = 50; |
|
105 const TUint8 KMmCallDialSignalingTimeOut = 50; |
|
106 const TUint8 KMmCallAnswerTimeOut = 50; |
|
107 const TUint8 KMmCallAnswerCallBackTimeOut = 180; |
|
108 const TUint8 KMmCallHangUpTimeOut = 60; |
|
109 const TUint8 KMmCallHoldTimeOut = 3; |
|
110 const TUint8 KMmCallResumeTimeOut = 3; |
|
111 const TUint8 KMmCallSwapTimeOut = 3; |
|
112 const TUint8 KMmCallDeflectCallTimeOut = 10; |
|
113 const TUint8 KMmCallDialEmergencyCallTimeOut = 75; |
|
114 const TUint8 KMmCallTransferTimeOut = 10; |
|
115 const TUint8 KMmCallGoOneToOneTimeOut = 5; |
|
116 const TUint8 KMmCallSetDynamicHscsdParamsTimeOut = 20; |
|
117 |
|
118 |
|
119 //CMmConferenceCallTsy |
|
120 const TUint8 KMmConferenceCallCreateConferenceTimeOut = 10; |
|
121 const TUint8 KMmConferenceCallAddCallTimeOut = 10; |
|
122 const TUint8 KMmConferenceCallSwapTimeOut = 10; |
|
123 const TUint8 KMmConferenceCallHangUpTimeOut = 60; |
|
124 |
|
125 //CMmSmsTsy |
|
126 const TUint8 KMmSmsReceiveMessageCancel = 10; |
|
127 const TUint8 KMmSmsAckNackMessage = 15; |
|
128 const TUint8 KMmSmsSendMessage = 55; |
|
129 const TUint8 KMmSmsSendMessageNoFdnCheckTimeOut = 55; |
|
130 const TUint8 KMmSmsSendSatMessage = 65; |
|
131 const TUint8 KMmSmsSetReceiveMode = 10; |
|
132 const TUint8 KMmSmsResumeSmsReception = 10; |
|
133 const TUint8 KMmSmsGetMessageStoreInfo = 120; |
|
134 const TUint8 KMmSmsReadAndStoreSmspList = 30; |
|
135 |
|
136 //SMS memory specific times |
|
137 const TUint8 KMmSimSmsGetInfo = 50; |
|
138 const TUint8 KMmSimSmsWriteSms = 10; |
|
139 const TUint8 KMmSimSmsReadDeleteSms = 15; |
|
140 const TUint8 KMmSimSmsDeleteAllSms = 30; |
|
141 const TUint8 KMmSimSmsReadAllSms = 120; |
|
142 |
|
143 //CMmBroadCastTsy |
|
144 const TUint8 KMmBroadcastReceiveMessageCancel = 10; |
|
145 const TUint8 KMmBroadcastSetFilter = 5; |
|
146 |
|
147 //CMmUssdTsy |
|
148 const TUint8 KMmUssdSendMessageTimeOut = 50; |
|
149 const TUint8 KMmUssdSendReleaseTimeOut = 50; |
|
150 const TUint8 KMmUssdSendMessageNoFdnCheckTimeOut = 50; |
|
151 |
|
152 //CMmStorageTsy |
|
153 // PBStore |
|
154 const TUint8 KMmPBStoreReadTimeOut = 10; |
|
155 const TUint8 KMmPBStoreWriteTimeOut = 10; |
|
156 const TUint8 KMmPBDeleteTimeOut = 10; |
|
157 const TUint8 KMmPBDeleteAllTimeOut = 75; |
|
158 const TUint8 KMmPBGetInfoTimeOut = 120; |
|
159 const TUint8 KMmPBStoreWriteToFirstEmptyLocTimeOut = 120; |
|
160 |
|
161 // ONStore |
|
162 const TUint8 KMmONStoreReadTimeOut = 10; |
|
163 const TUint8 KMmONStoreWriteTimeOut = 50; |
|
164 const TUint8 KMmONDeleteTimeOut = 20; |
|
165 const TUint8 KMmONDeleteAllTimeOut = 75; |
|
166 const TUint8 KMmONGetInfoTimeOut = 40; |
|
167 const TUint8 KMmONStoreAllTimeOut = 40; |
|
168 const TUint8 KMmONStoreWriteToFirstEmptyLocTimeOut = 40; |
|
169 |
|
170 // ENStore |
|
171 const TUint8 KMmENStoreReadTimeOut = 20; |
|
172 const TUint8 KMmENGetInfoTimeOut = 40; |
|
173 |
|
174 //CMmSIMTsy |
|
175 |
|
176 // Changed HomeZone parameter reading timeout |
|
177 // from 20 seconds to four minutes. Workaround for strange behaviour after |
|
178 // a full SIM refresh. |
|
179 const TUint8 KMmViagHomeZoneReadParamsTimeOut = 240; |
|
180 const TUint8 KMmViagHomeZoneReadCacheTimeOut = 20; |
|
181 const TUint8 KMmViagHomeZoneWriteCacheTimeOut = 20; |
|
182 const TUint8 KMmStartSimCbTopicBrowsingTimeOut = 3; |
|
183 const TUint8 KMmViagHomeZoneWriteSettingsTimeOut = 10; |
|
184 const TUint8 KMmDeleteSimCbTopicTimeOut = 10; |
|
185 |
|
186 //CMmWIMTsy |
|
187 |
|
188 const TUint8 KMmSendAPDUTimeOut = 20; |
|
189 const TUint8 KMmSimWarmResetTimeOut = 10; |
|
190 const TUint8 KMmGetATRTimeOut = 10; |
|
191 const TUint8 KMmGetSimCardReaderStatusTimeOut = 10; |
|
192 const TUint8 KMmSendAPDUV2TimeOut = 10; |
|
193 const TUint8 KMmPowerSimOnTimeOut = 10; |
|
194 const TUint8 KMmPowerSimOffTimeOut = 10; |
|
195 |
|
196 //CMmSimLockTsy |
|
197 |
|
198 const TUint8 KMmActivateSimLockTimeOut = 20; |
|
199 const TUint8 KMmDeactivateSimLockTimeOut = 20; |
|
200 |
|
201 //Packet Data session |
|
202 //Packet Data Related timeout values can be find from standard document: |
|
203 // 3GPP TS 24.008 V3.12.0 (2002-06) |
|
204 // |
|
205 //CMmPacketServiceTsy |
|
206 // Attach timer T3310, value 15s, Retransmission 5 times |
|
207 const TUint8 KMmPacketServiceAttachTimeOut = 85; |
|
208 // Detach timer T3321, value 15s, Retransmission 5 times |
|
209 const TUint8 KMmPacketServiceDetachTimeOut = 85; |
|
210 const TUint8 KMmPacketServiceGetNtwkRegStatusTimeOut = 10; |
|
211 const TUint8 KMmPacketServiceSetPreferredBearerTimeOut = 10; |
|
212 const TUint8 KMmPacketServiceRejectActivationRequest = 10; |
|
213 const TUint8 KMmPacketServiceSetAttachModeTimeOut = 10; |
|
214 const TUint8 KMmPacketServiceGetAttachModeTimeOut = 10; |
|
215 const TUint8 KMmPacketSetDefaultContextParamsTimeOut = 10; |
|
216 const TUint8 KMmPacketServiceGetMbmsNetworkServiceStatusTimeOut = 10; |
|
217 const TUint8 KMmPacketServiceUpdateMbmsMonitorServiceListTimeOut = 10; |
|
218 |
|
219 //CMmPacketContextTsy |
|
220 const TUint8 KMmPacketContextInitialiseContextTimeOut = 10; |
|
221 const TUint8 KMmPacketContextActivateTimeOut = 10; |
|
222 // Deactivate timer T3390, value 8s, Retransmission 5 times |
|
223 const TUint8 KMmPacketContextDeactivateTimeOut = 30; |
|
224 const TUint8 KMmPacketContextDeleteTimeOut = 10; |
|
225 const TUint8 KMmPacketContextSetConfigTimeOut = 10; |
|
226 const TUint8 KMmPacketContextGetDataVolumeTransferredTimeOut = 10; |
|
227 const TUint8 KMmPacketContextModifyActiveContext = 10; |
|
228 const TUint8 KMmPacketContextAddMediaAuthorization = 10; |
|
229 |
|
230 //CMmPacketQoSTsy |
|
231 const TUint8 KMmPacketQoSSetProfileParametersTimeOut = 10; |
|
232 |
|
233 //CMmPacketTsy |
|
234 const TUint8 KMmPacketContextSetAuthenticationInfoTimeOut = 5; |
|
235 |
|
236 //CMmCustomTsy |
|
237 const TUint8 KMmCustomTerminateCallTimeOut = 5; |
|
238 const TUint8 KMmCustomGetAlsBlockedTimeOut = 10; |
|
239 const TUint8 KMmCustomSetAlsBlockedTimeOut = 10; |
|
240 const TUint8 KMmCustomGetCipheringInfoTimeOut = 10; |
|
241 const TUint8 KMmCustomCallGsmBlackListClearTimeOut = 10; |
|
242 const TUint8 KMmCustomCheckEmergencyNumberTimeout = 10; |
|
243 const TUint8 KMmCustomGetOperatorNameTimeout = 20; |
|
244 const TUint8 KMmCustomGetProgrammableOperatorLogoTimeout = 20; |
|
245 const TUint8 KMmCustomGetOperatorName = 10; |
|
246 const TUint8 KMmCustomCheckTwoDigitDialTimeout = 10; |
|
247 const TUint8 KMmCustomResetNetServer = 20; |
|
248 const TUint8 KMmCustomReadSimFile = 10; |
|
249 const TUint8 KMmCustomGetLifeTimer = 10; |
|
250 const TUint8 KMmCustomIMSAuthenticate = 20; |
|
251 const TUint8 KMmCustomGetSimAuthenticationData = 10; |
|
252 const TUint8 KMmCustomSetDriveModeTimeOut = 5; |
|
253 const TUint8 KMmCustomTsyReadHSxPAStatusTimeOut = 10; |
|
254 const TUint8 KMmCustomTsyWriteHSxPAStatusTimeOut = 10; |
|
255 const TUint8 KMmCustomTsyGetIccCallForwardingStatusTimeOut = 10; |
|
256 const TUint8 KMmCustomTsyGetCellInfoTimeOut = 10; |
|
257 const TUint8 KMmCustomGetUSIMServiceSupportTimeOut = 10; |
|
258 const TUint8 KMmCustomTsyGetSystemNetworkBandTimeOut = 11; |
|
259 |
|
260 |
|
261 #endif // REQHANDLE_TIMER |
|
262 |
|
263 #endif // MMTSY_TIMEOUTDEFS_H |
|
264 |
|
265 // End of File |