14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 9 % |
19 * %version: 2.1.2 % |
20 */ |
20 */ |
21 |
21 |
22 #if !defined(_ABS_ETHERNET_CORE_H_) |
22 #if !defined(_ABS_ETHERNET_CORE_H_) |
23 #define _ABS_ETHERNET_CORE_H_ |
23 #define _ABS_ETHERNET_CORE_H_ |
24 |
24 |
25 #include "eap_header.h" |
25 #include "eap_header.h" |
26 #include "eap_array.h" |
26 #include "eap_array.h" |
27 #include "eapol_key_state.h" |
27 #include "eapol_key_state.h" |
28 #if defined(USE_EAP_SIMPLE_CONFIG) |
28 |
29 #include "abs_eap_configuration_if.h" |
|
30 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
|
31 |
29 |
32 class abs_eapol_core_c; |
30 class abs_eapol_core_c; |
33 class eap_am_network_id_c; |
31 class eap_am_network_id_c; |
34 class eap_buf_chain_wr_c; |
32 class eap_buf_chain_wr_c; |
35 class abs_eap_base_type_c; |
33 class abs_eap_base_type_c; |
171 virtual eap_status_e get_eap_type_list( |
169 virtual eap_status_e get_eap_type_list( |
172 eap_array_c<eap_type_value_e> * const eap_type_list) = 0; |
170 eap_array_c<eap_type_value_e> * const eap_type_list) = 0; |
173 |
171 |
174 virtual eap_status_e add_rogue_ap(eap_array_c<eap_rogue_ap_entry_c> & rogue_ap_list) = 0; |
172 virtual eap_status_e add_rogue_ap(eap_array_c<eap_rogue_ap_entry_c> & rogue_ap_list) = 0; |
175 |
173 |
176 virtual eap_status_e complete_check_pmksa_cache( |
|
177 EAP_TEMPLATE_CONST eap_array_c<eap_am_network_id_c> * const bssid_sta_receive_network_ids) = 0; |
|
178 |
|
179 #if defined(USE_EAP_SIMPLE_CONFIG) |
|
180 /** |
|
181 * This function tells AM to save SIMPLE_CONFIG configuration parameters. |
|
182 * This is always syncronous call. |
|
183 */ |
|
184 virtual eap_status_e save_simple_config_session( |
|
185 const simple_config_state_e state, |
|
186 EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array, |
|
187 const eap_variable_data_c * const new_password, |
|
188 const simple_config_Device_Password_ID_e Device_Password_ID, |
|
189 const simple_config_payloads_c * const other_configuration |
|
190 ) = 0; |
|
191 #endif // #if defined(USE_EAP_SIMPLE_CONFIG) |
|
192 |
|
193 virtual eap_status_e complete_get_802_11_authentication_mode( |
|
194 const eap_status_e completion_status, |
|
195 const eap_am_network_id_c * const receive_network_id, |
|
196 const eapol_key_802_11_authentication_mode_e mode) = 0; |
|
197 |
|
198 virtual eap_status_e complete_disassociation( |
|
199 const bool complete_to_lower_layer, |
|
200 const eap_am_network_id_c * const receive_network_id) = 0; |
|
201 |
|
202 //-------------------------------------------------- |
174 //-------------------------------------------------- |
203 }; // class abs_ethernet_core_c |
175 }; // class abs_ethernet_core_c |
204 |
176 |
205 #endif //#if !defined(_ABS_ETHERNET_CORE_H_) |
177 #endif //#if !defined(_ABS_ETHERNET_CORE_H_) |
206 |
178 |