eapol/eapol_framework/eapol_common/wpxstub/eapol_core_wpxm_stub.cpp
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: %
    19 * %version: 10 %
    20 */
    20 */
    21 
    21 
    22 // This is enumeration of EAPOL source code.
    22 // This is enumeration of EAPOL source code.
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    24 	#undef EAP_FILE_NUMBER_ENUM
    24 	#undef EAP_FILE_NUMBER_ENUM
    27 	#define EAP_FILE_NUMBER_DATE 1127594498 
    27 	#define EAP_FILE_NUMBER_DATE 1127594498 
    28 #endif //#if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    28 #endif //#if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    29 
    29 
    30 
    30 
    31 
    31 
       
    32 #include "eap_am_export.h"
    32 #include "eap_am_memory.h"
    33 #include "eap_am_memory.h"
    33 #include "eap_tools.h"
    34 #include "eap_tools.h"
    34 #include "eapol_core.h"
    35 #include "eapol_core.h"
    35 #include "eap_crypto_api.h"
    36 #include "eap_crypto_api.h"
    36 #include "eapol_key_header.h"
    37 #include "eapol_key_header.h"
    44 #include "eap_master_session_key.h"
    45 #include "eap_master_session_key.h"
    45 
    46 
    46 //--------------------------------------------------
    47 //--------------------------------------------------
    47 
    48 
    48 //
    49 //
    49 EAP_FUNC_EXPORT eap_status_e eapol_core_c::start_WPXM_reassociation(
    50 eap_status_e eapol_core_c::start_WPXM_reassociation(
    50 	const eap_am_network_id_c * const /* receive_network_id */,
    51 	const eap_am_network_id_c * const /* receive_network_id */,
    51 	const eapol_key_authentication_type_e /* authentication_type */,
    52 	const eapol_key_authentication_type_e /* authentication_type */,
    52 	eap_variable_data_c * const /* send_reassociation_request_ie */)
    53 	eap_variable_data_c * const /* send_reassociation_request_ie */)
    53 {
    54 {
    54 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
    55 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
    55 }
    56 }
    56 
    57 
    57 //--------------------------------------------------
    58 //--------------------------------------------------
    58 
    59 
    59 //
    60 //
    60 EAP_FUNC_EXPORT eap_status_e eapol_core_c::complete_WPXM_reassociation(
    61 eap_status_e eapol_core_c::complete_WPXM_reassociation(
    61 	const eapol_wlan_authentication_state_e /* reassociation_result */,
    62 	const eapol_wlan_authentication_state_e /* reassociation_result */,
    62 	const eap_am_network_id_c * const /* receive_network_id */,
    63 	const eap_am_network_id_c * const /* receive_network_id */,
    63 	const eapol_key_authentication_type_e /* authentication_type */,
    64 	const eapol_key_authentication_type_e /* authentication_type */,
    64 	const eap_variable_data_c * const /* received_reassociation_ie */)
    65 	const eap_variable_data_c * const /* received_reassociation_ie */)
    65 {
    66 {