|
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: Project definition file for project EAPOL |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 //------------------------------------------------------------------- |
|
20 |
|
21 // Set up the preprocessor macros for source files |
|
22 |
|
23 // This enables TTLS |
|
24 MACRO USE_TTLS_EAP_TYPE |
|
25 |
|
26 // This flag activates start WPXM functionaly. |
|
27 MACRO USE_EAPOL_START_WPXM_REASSOCIATION |
|
28 |
|
29 // This flag tells the 64-bit multiplication of platform can be used. |
|
30 MACRO USE_EAP_64_BIT_MULTIPLICATION |
|
31 |
|
32 // This flag activates the EAP-TTLS/MsChapv2 authentication. |
|
33 // Note this is inside EAP protocol. |
|
34 // We did not have any plan to make this authentication. |
|
35 MACRO EAP_USE_TTLS_PLAIN_MS_CHAP_V2_HACK |
|
36 #define EAP_USE_TTLS_PLAIN_MS_CHAP_V2_HACK |
|
37 |
|
38 MACRO USE_EAP_GSMSIM_INTERFACE |
|
39 // Comment the below line for Test environment. ( Eg: for Plugin Tester ) |
|
40 // Also use the directory wlaneapol_testing. Otherwise EAP GSM SIM won't compile. |
|
41 #define USE_EAP_GSMSIM_INTERFACE |
|
42 |
|
43 // Comment the below lines for Test environment ( Eg: for Plugin Tester in emulator or simulator tests on hardware ) |
|
44 // Also use the directory wlaneapol_testing. Otherwise EAP AKA won't compile. |
|
45 MACRO USE_EAP_AKA_INTERFACE |
|
46 #define USE_EAP_AKA_INTERFACE |
|
47 |
|
48 // This might be useless. |
|
49 //MACRO SYMBIAN_CRYPTO=1 |
|
50 |
|
51 // This is very important definition. |
|
52 MACRO EAP_LITTLE_ENDIAN=1 |
|
53 |
|
54 //------------------------------------------------------------------- |
|
55 |
|
56 // This macro activates stack trace of EAP_ASSERT(). |
|
57 // When assertion is false the current stack is traced before abort of program. |
|
58 //MACRO USE_EAP_ASSERT_STACK_TRACE |
|
59 //#define USE_EAP_ASSERT_STACK_TRACE |
|
60 |
|
61 // This is used to enable configuring from file. |
|
62 MACRO USE_EAP_FILECONFIG=1 |
|
63 |
|
64 // Add this when database compatibility is not needed anymore. |
|
65 // This fixes some names of database fields. |
|
66 MACRO USE_EAP_FIXED_DATABASE_FIELDS=1 |
|
67 |
|
68 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
69 |
|
70 // This flag enables EAP expanded types. |
|
71 MACRO USE_EAP_EXPANDED_TYPES=1 |
|
72 #define USE_EAP_EXPANDED_TYPES |
|
73 |
|
74 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
75 |
|
76 // This flag activates message based WLAN engine EAPOL interface. |
|
77 MACRO USE_EAPOL_WLAN_AUTHENTICATION_MESSAGE_IF |
|
78 #define USE_EAPOL_WLAN_AUTHENTICATION_MESSAGE_IF |
|
79 |
|
80 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
81 |
|
82 // This flag enables EAP Protected setup (or Simple Config or Easy Setup or EAP-WSC). |
|
83 MACRO USE_EAP_SIMPLE_CONFIG=1 |
|
84 #define USE_EAP_SIMPLE_CONFIG |
|
85 |
|
86 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
87 |
|
88 |
|
89 #if defined(FF_WLAN_EXTENSIONS) |
|
90 |
|
91 MACRO USE_FAST_EAP_TYPE=1 |
|
92 #define USE_FAST_EAP_TYPE |
|
93 |
|
94 MACRO USE_EAP_TLS_SESSION_TICKET=1 |
|
95 #define USE_EAP_TLS_SESSION_TICKET |
|
96 |
|
97 MACRO USE_EAP_TLS_IDENTITY_PRIVACY=1 |
|
98 |
|
99 MACRO USE_PAC_STORE=1 |
|
100 #define USE_PAC_STORE |
|
101 |
|
102 #endif // End: #if defined(FF_WLAN_EXTENSIONS) |
|
103 |
|
104 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
105 |
|
106 // This macro enables some traces for release error log. |
|
107 // EAP_TRACE_ALWAYS() and EAP_TRACE_DATA_ALWAYS() are left |
|
108 // active if USE_EAP_TRACE_ALWAYS is defined. |
|
109 //MACRO USE_EAP_TRACE_ALWAYS=1 |
|
110 |
|
111 // This very heavy trace. Do use only when other things fail. |
|
112 //MACRO USE_EAP_FUNCTION_TRACE=1 |
|
113 |
|
114 // This flag activates minimum traces for release version. |
|
115 // Traces will be written to log file. |
|
116 //MACRO USE_EAP_MINIMUM_RELEASE_TRACES |
|
117 |
|
118 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
119 |
|
120 // This flag activates some interoperability PEAPv0 and PEAPv1 fixes. |
|
121 MACRO USE_EAP_TLS_PEAP_TPPD_PEAP_V1_NEW_FIXES=1 |
|
122 |
|
123 // This flag activates server codes of EAP-SIM. |
|
124 // Uncomment the below lines for activating the server codes ( for plugin tester). |
|
125 //MACRO USE_EAP_TYPE_SERVER_GSMSIM=1 |
|
126 |
|
127 // This flag activates server codes of EAP-AKA. |
|
128 // Uncomment the below lines for activating the server codes ( for plugin tester). |
|
129 // MACRO USE_EAP_TYPE_SERVER_AKA |
|
130 // #define USE_EAP_TYPE_SERVER_AKA |
|
131 |
|
132 // This flag activates server codes of EAP-SECURID and GTC. |
|
133 // Uncomment the below lines for activating the server codes ( for plugin tester). |
|
134 //MACRO COMPILE_EAP_SECURID_SERVER=1 |
|
135 //MACRO EAP_SECURID_SERVER=1 |
|
136 |
|
137 // This flag activates server codes of EAPOL |
|
138 MACRO USE_EAP_CORE_SERVER=1 |
|
139 |
|
140 // This is to enable password change functionality for MSCHAPv2 |
|
141 // MACRO EAP_MSCHAPV2_ENABLE_PASSWORD_CHANGE=1 |
|
142 |
|
143 // These following macros should be adjusted depending on the test environment. |
|
144 // For WLM compatibility only NO_EAP_MUTEX should be defined. |
|
145 MACRO NO_EAP_MUTEX=1 |
|
146 MACRO USE_EAPOL_KEY_STATE=1 |
|
147 |
|
148 // The following marco activates optimized 4-Way Handshake. |
|
149 // Note the interface between WLAN engine and EAPOL changes too. |
|
150 MACRO USE_EAPOL_KEY_STATE_OPTIMIZED_4_WAY_HANDSHAKE=1 |
|
151 |
|
152 // Enables configuration option to skips user interactions in selected test cases. |
|
153 MACRO USE_EAP_CONFIGURATION_TO_SKIP_USER_INTERACTIONS=1 |
|
154 |
|
155 // Enables timer to stop authentication with broken authentication server or access point configuration that blocks WLAN connection for too long time. |
|
156 MACRO USE_EAP_CORE_WAIT_REQUEST_TYPE_TIMER=1 |
|
157 |
|
158 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
159 |
|
160 #if defined(FF_WLAN_EXTENSIONS) |
|
161 #define USE_EAPOL_WLAN_WPX |
|
162 // This activates WPXM. |
|
163 // You need all EAPOL WPX sources or binary eapolwpx.lib to compile WPX version. |
|
164 MACRO EAP_USE_WPXM=1 |
|
165 #define EAP_USE_WPXM |
|
166 #else |
|
167 // The WPX stub is needed even without WPX functionality. |
|
168 #define USE_EAPOL_WLAN_WPX_STUB |
|
169 #endif // #if defined(FF_WLAN_EXTENSIONS) |
|
170 |
|
171 |
|
172 //------------------------------------------------------------------- |
|
173 // End of File |