equal
deleted
inserted
replaced
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 7.1.2 % |
19 * %version: 13 % |
20 */ |
20 */ |
21 |
21 |
22 #if !defined(_ABS_EAPOL_CORE_H_) |
22 #if !defined(_ABS_EAPOL_CORE_H_) |
23 #define _ABS_EAPOL_CORE_H_ |
23 #define _ABS_EAPOL_CORE_H_ |
24 |
24 |
25 #include "eap_am_types.h" |
25 #include "eap_am_types.h" |
26 #include "eapol_key_state.h" |
26 #include "eapol_key_state.h" |
|
27 #if defined(USE_EAP_SIMPLE_CONFIG) |
|
28 #include "abs_eap_configuration_if.h" |
|
29 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
27 |
30 |
28 class eap_am_network_id_c; |
31 class eap_am_network_id_c; |
29 class eapol_session_key_c; |
32 class eapol_session_key_c; |
30 class abs_eap_base_type_c; |
33 class abs_eap_base_type_c; |
31 class eap_rogue_ap_entry_c; |
34 class eap_rogue_ap_entry_c; |
34 |
37 |
35 /// The abs_eapol_core_c class defines the interface the eapol_core_c class |
38 /// The abs_eapol_core_c class defines the interface the eapol_core_c class |
36 /// will use with the partner class. |
39 /// will use with the partner class. |
37 /// Later eapol and ethernet could be integrated. Now I am too lazy. |
40 /// Later eapol and ethernet could be integrated. Now I am too lazy. |
38 class EAP_EXPORT abs_eapol_core_c |
41 class EAP_EXPORT abs_eapol_core_c |
|
42 #if defined(USE_EAP_SIMPLE_CONFIG) |
|
43 : public abs_eap_configuration_if_c |
|
44 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
39 { |
45 { |
40 private: |
46 private: |
41 //-------------------------------------------------- |
47 //-------------------------------------------------- |
42 |
48 |
43 //-------------------------------------------------- |
49 //-------------------------------------------------- |
197 virtual eap_status_e get_eap_type_list( |
203 virtual eap_status_e get_eap_type_list( |
198 eap_array_c<eap_type_value_e> * const eap_type_list) = 0; |
204 eap_array_c<eap_type_value_e> * const eap_type_list) = 0; |
199 |
205 |
200 virtual eap_status_e add_rogue_ap(eap_array_c<eap_rogue_ap_entry_c> & rogue_ap_list) = 0; |
206 virtual eap_status_e add_rogue_ap(eap_array_c<eap_rogue_ap_entry_c> & rogue_ap_list) = 0; |
201 |
207 |
|
208 virtual eap_status_e complete_check_pmksa_cache( |
|
209 EAP_TEMPLATE_CONST eap_array_c<eap_am_network_id_c> * const bssid_sta_receive_network_ids) = 0; |
|
210 |
|
211 virtual eap_status_e complete_get_802_11_authentication_mode( |
|
212 const eap_status_e completion_status, |
|
213 const eap_am_network_id_c * const receive_network_id, |
|
214 const eapol_key_802_11_authentication_mode_e mode) = 0; |
|
215 |
|
216 virtual eap_status_e complete_disassociation( |
|
217 const bool complete_to_lower_layer, |
|
218 const eap_am_network_id_c * const receive_network_id) = 0; |
|
219 |
|
220 //-------------------------------------------------- |
|
221 }; // class abs_eapol_core_c |
|
222 |
|
223 #endif //#if !defined(_ABS_EAPOL_CORE_H_) |
|
224 |
202 //-------------------------------------------------- |
225 //-------------------------------------------------- |
203 }; // class abs_eapol_core_c |
|
204 |
|
205 #endif //#if !defined(_ABS_EAPOL_CORE_H_) |
|
206 |
|
207 //-------------------------------------------------- |
|
208 |
226 |
209 |
227 |
210 |
228 |
211 // End. |
229 // End. |