equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 * Description: Main server |
14 * Description: Main server |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 49 % |
19 * %version: 50 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef WLMSERVER_H |
22 #ifndef WLMSERVER_H |
23 #define WLMSERVER_H |
23 #define WLMSERVER_H |
24 |
24 |
37 #include "wlanconversionutil.h" |
37 #include "wlanconversionutil.h" |
38 #include "wlancontrolinterface.h" |
38 #include "wlancontrolinterface.h" |
39 #include "wlaneapolinterface.h" |
39 #include "wlaneapolinterface.h" |
40 #include "wlaneapolclient.h" |
40 #include "wlaneapolclient.h" |
41 #include "wlangenericplugin.h" |
41 #include "wlangenericplugin.h" |
42 #include "wlantimerservices.h" |
|
43 #include "wlancbwaiter.h" |
42 #include "wlancbwaiter.h" |
44 |
43 |
45 class CWlmDriverIf; |
44 class CWlmDriverIf; |
46 class CWlanSsidListDb; |
45 class CWlanSsidListDb; |
|
46 class CWlanTimerServices; |
47 |
47 |
48 /** |
48 /** |
49 * Command Ids to be used un the asynchronous core service requests |
49 * Command Ids to be used un the asynchronous core service requests |
50 * External commands coming from clients get request id that is > KWlanExtCmdBase |
50 * External commands coming from clients get request id that is > KWlanExtCmdBase |
51 * Values 0-KWlanExtCmdBase are reserved for internal usage. |
51 * Values 0-KWlanExtCmdBase are reserved for internal usage. |
764 void CancelDirectedRoam( |
764 void CancelDirectedRoam( |
765 TUint aSessionId, |
765 TUint aSessionId, |
766 const RMessage2& aMessage ); |
766 const RMessage2& aMessage ); |
767 |
767 |
768 /** |
768 /** |
|
769 * StartAggressiveBgScan |
|
770 * Sets WLAN background scanning into more aggressive mode for a while. |
|
771 * |
|
772 * @since S60 v5.2 |
|
773 * @param aSessionId ID identifying the session. |
|
774 * @param aMessage Message containing the respective command. |
|
775 */ |
|
776 void StartAggressiveBgScan( |
|
777 TUint aSessionId, |
|
778 const RMessage2& aMessage ); |
|
779 |
|
780 /** |
769 * From MWlmPlatformCallback |
781 * From MWlmPlatformCallback |
770 * Send an indication to request data pipe disconnection. |
782 * Send an indication to request data pipe disconnection. |
771 * |
783 * |
772 * Calls ReleaseComplete() directly if data pipe isn't |
784 * Calls ReleaseComplete() directly if data pipe isn't |
773 * connected. |
785 * connected. |
1148 * filled (i.e. IAP ID field to be filled for the structure). |
1160 * filled (i.e. IAP ID field to be filled for the structure). |
1149 */ |
1161 */ |
1150 TInt GetCurrentIapId( |
1162 TInt GetCurrentIapId( |
1151 const TUint aLanServiceId, |
1163 const TUint aLanServiceId, |
1152 core_iap_data_s& aCoreIapData ); |
1164 core_iap_data_s& aCoreIapData ); |
|
1165 |
|
1166 /** |
|
1167 * Store region and timestamp to CenRep. |
|
1168 * |
|
1169 * @param aRegion Specifies a region to be stored. |
|
1170 * @param aTimestamp Specifies a timestamp to be stored. |
|
1171 */ |
|
1172 void StoreRegionAndTimestamp( const TInt aRegion, const TInt aTimestamp ); |
|
1173 |
|
1174 /** |
|
1175 * Publish WLAN background scan interval. |
|
1176 * |
|
1177 * @see MWlanScanResultProvider |
|
1178 * @param aInterval WLAN BG scan interval in seconds. |
|
1179 */ |
|
1180 void PublishBgScanInterval( TUint32& aInterval ); |
1153 |
1181 |
1154 private: // Data |
1182 private: // Data |
1155 |
1183 |
1156 /** |
1184 /** |
1157 * Pointer to core server |
1185 * Pointer to core server |
1347 |
1375 |
1348 /** |
1376 /** |
1349 * Timer services. |
1377 * Timer services. |
1350 */ |
1378 */ |
1351 CWlanTimerServices* iTimerServices; |
1379 CWlanTimerServices* iTimerServices; |
1352 |
1380 |
|
1381 /** |
|
1382 * Flag indicating whether aggressive scanning has to be performed |
|
1383 * after link loss. |
|
1384 */ |
|
1385 TBool iAggressiveScanningAfterLinkLoss; |
1353 }; |
1386 }; |
1354 |
1387 |
1355 |
1388 |
1356 #include "wlmserver.inl" |
1389 #include "wlmserver.inl" |
1357 |
1390 |