|
1 /* |
|
2 * Copyright (c) 2001-2006 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 the License "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: EAP and WLAN authentication protocols. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #if !defined(_EAPOLDBDEFAULTS_H_) |
|
22 #define _EAPOLDBDEFAULTS_H_ |
|
23 |
|
24 // LOCAL CONSTANTS |
|
25 |
|
26 #ifdef SYMBIAN_SECURE_DBMS |
|
27 // For EAPOL secure database. |
|
28 // Full path is not needed. The database eapol.dat will be saved in the |
|
29 // data cage path for DBMS. So it will be in "\private\100012a5\eapol.dat" in C: drive. |
|
30 // The maximum length of database name is 0x40 (KDbMaxName) , which is defined in d32dbms.h. |
|
31 |
|
32 _LIT(KDatabaseName, "c:eapol.dat"); |
|
33 |
|
34 _LIT(KSecureUIDFormat, "SECURE[102072e9]"); // For the security policy. |
|
35 |
|
36 #else |
|
37 |
|
38 _LIT(KDatabaseName, "c:\\system\\data\\eapol.dat"); |
|
39 |
|
40 #endif // #ifdef SYMBIAN_SECURE_DBMS |
|
41 |
|
42 #if !defined(USE_EAP_FILECONFIG) |
|
43 const TInt default_EAP_TRACE_disable_traces = 0; |
|
44 const TInt default_EAP_TRACE_enable_function_traces = 0; |
|
45 const TInt default_EAP_TRACE_only_trace_messages = 0; |
|
46 const TInt default_EAP_TRACE_only_test_vectors = 0; |
|
47 #endif //#if !defined(USE_EAP_FILECONFIG) |
|
48 |
|
49 _LIT(default_EAP_TRACE_output_file_name, "c:\\logs\\eapol\\eap_core.txt"); |
|
50 |
|
51 #if !defined(USE_EAP_FILECONFIG) |
|
52 const TInt default_EAP_CORE_session_timeout = 120000; // ms = 120 seconds = 2 minutes. |
|
53 const TInt default_EAPOL_CORE_starts_max_count = 3; |
|
54 const TInt default_EAPOL_CORE_send_start_interval = 2000; // ms |
|
55 const TInt default_EAP_ERROR_TEST_enable_random_errors = 0; |
|
56 const TInt default_EAP_ERROR_TEST_send_original_packet_first = 0; |
|
57 const TInt default_EAP_ERROR_TEST_generate_multiple_error_packets = 2; |
|
58 const TInt default_EAP_ERROR_TEST_manipulate_ethernet_header = 0; |
|
59 const TInt default_EAP_ERROR_TEST_error_probability = 8000000; |
|
60 const TInt default_EAP_test_default_type = 18; // EAP-SIM |
|
61 const TInt default_EAP_CORE_retransmission_counter = 0; |
|
62 #endif //#if !defined(USE_EAP_FILECONFIG) |
|
63 |
|
64 #endif // _EAPOLDBDEFAULTS_H_ |
|
65 |
|
66 // End of file |