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: 13 % |
19 * %version: 7.1.2 % |
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) |
|
30 |
27 |
31 class eap_am_network_id_c; |
28 class eap_am_network_id_c; |
32 class eapol_session_key_c; |
29 class eapol_session_key_c; |
33 class abs_eap_base_type_c; |
30 class abs_eap_base_type_c; |
34 class eap_rogue_ap_entry_c; |
31 class eap_rogue_ap_entry_c; |
37 |
34 |
38 /// The abs_eapol_core_c class defines the interface the eapol_core_c class |
35 /// The abs_eapol_core_c class defines the interface the eapol_core_c class |
39 /// will use with the partner class. |
36 /// will use with the partner class. |
40 /// Later eapol and ethernet could be integrated. Now I am too lazy. |
37 /// Later eapol and ethernet could be integrated. Now I am too lazy. |
41 class EAP_EXPORT abs_eapol_core_c |
38 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) |
|
45 { |
39 { |
46 private: |
40 private: |
47 //-------------------------------------------------- |
41 //-------------------------------------------------- |
48 |
42 |
49 //-------------------------------------------------- |
43 //-------------------------------------------------- |
203 virtual eap_status_e get_eap_type_list( |
197 virtual eap_status_e get_eap_type_list( |
204 eap_array_c<eap_type_value_e> * const eap_type_list) = 0; |
198 eap_array_c<eap_type_value_e> * const eap_type_list) = 0; |
205 |
199 |
206 virtual eap_status_e add_rogue_ap(eap_array_c<eap_rogue_ap_entry_c> & rogue_ap_list) = 0; |
200 virtual eap_status_e add_rogue_ap(eap_array_c<eap_rogue_ap_entry_c> & rogue_ap_list) = 0; |
207 |
201 |
208 virtual eap_status_e complete_check_pmksa_cache( |
202 //-------------------------------------------------- |
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 |
203 }; // class abs_eapol_core_c |
222 |
204 |
223 #endif //#if !defined(_ABS_EAPOL_CORE_H_) |
205 #endif //#if !defined(_ABS_EAPOL_CORE_H_) |
224 |
206 |
225 //-------------------------------------------------- |
207 //-------------------------------------------------- |