eapol/eapol_framework/eapol_common/wpxstub/ethernet_core_wpxm_stub.cpp
branchRCL_3
changeset 18 bad0cc58d154
parent 2 1c7bc153c08e
child 19 c74b3d9f6b9e
equal deleted inserted replaced
17:30e048a7b597 18:bad0cc58d154
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 6.1.3 %
    19 * %version: %
    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
    40 
    40 
    41 //--------------------------------------------------
    41 //--------------------------------------------------
    42 
    42 
    43 //
    43 //
    44 EAP_FUNC_EXPORT eap_status_e ethernet_core_c::start_WPXM_reassociation(
    44 EAP_FUNC_EXPORT eap_status_e ethernet_core_c::start_WPXM_reassociation(
    45 	const eap_am_network_id_c * const receive_network_id,
    45 	const eap_am_network_id_c * const /* receive_network_id */,
    46 	const eapol_key_authentication_type_e authentication_type,
    46 	const eapol_key_authentication_type_e /* authentication_type */,
    47 	eap_variable_data_c * const send_reassociation_request_ie)
    47 	eap_variable_data_c * const /* send_reassociation_request_ie */)
    48 {
    48 {
    49 	eap_status_e status = m_eapol_core->start_WPXM_reassociation(
       
    50 		receive_network_id,
       
    51 		authentication_type,
       
    52 		send_reassociation_request_ie);
       
    53 
       
    54 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
    49 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
    55 }
    50 }
    56 
    51 
    57 //--------------------------------------------------
    52 //--------------------------------------------------
    58 
    53 
    59 //
    54 //
    60 EAP_FUNC_EXPORT eap_status_e ethernet_core_c::complete_WPXM_reassociation(
    55 EAP_FUNC_EXPORT eap_status_e ethernet_core_c::complete_WPXM_reassociation(
    61 	const eapol_wlan_authentication_state_e reassociation_result,
    56 	const eapol_wlan_authentication_state_e /* reassociation_result */,
    62 	const eap_am_network_id_c * const receive_network_id,
    57 	const eap_am_network_id_c * const /* receive_network_id */,
    63 	const eapol_key_authentication_type_e authentication_type,
    58 	const eapol_key_authentication_type_e /* authentication_type */,
    64 	const eap_variable_data_c * const received_reassociation_ie)
    59 	const eap_variable_data_c * const /* received_reassociation_ie */)
    65 {
    60 {
    66 	eap_status_e status = m_eapol_core->complete_WPXM_reassociation(
       
    67 		reassociation_result,
       
    68 		receive_network_id,
       
    69 		authentication_type,
       
    70 		received_reassociation_ie);
       
    71 
       
    72 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
    61 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
    73 }
    62 }
    74 
    63 
    75 //--------------------------------------------------
    64 //--------------------------------------------------
    76 
    65