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