eapol/eapol_framework/eapol_common/core/eap_core_client_message_if.cpp
changeset 34 ad1f037f1ac2
parent 26 9abfd4f00d37
child 36 c98682f98478
equal deleted inserted replaced
31:372d2d6c5cf9 34:ad1f037f1ac2
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 29 %
    19 * %version: 32 %
    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
   563 
   563 
   564 //
   564 //
   565 EAP_FUNC_EXPORT eap_status_e eap_core_client_message_if_c::timer_expired(
   565 EAP_FUNC_EXPORT eap_status_e eap_core_client_message_if_c::timer_expired(
   566 	const u32_t id, void *data)
   566 	const u32_t id, void *data)
   567 {
   567 {
       
   568 	EAP_UNREFERENCED_PARAMETER(id);
       
   569 	EAP_UNREFERENCED_PARAMETER(data);
   568 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
   570 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
   569 
   571 
   570 	EAP_TRACE_DEBUG(
   572 	EAP_TRACE_DEBUG(
   571 		m_am_tools, 
   573 		m_am_tools, 
   572 		EAP_TRACE_FLAGS_MESSAGE_DATA, 
   574 		EAP_TRACE_FLAGS_MESSAGE_DATA, 
   586 
   588 
   587 //
   589 //
   588 EAP_FUNC_EXPORT eap_status_e eap_core_client_message_if_c::timer_delete_data(
   590 EAP_FUNC_EXPORT eap_status_e eap_core_client_message_if_c::timer_delete_data(
   589 	const u32_t id, void *data)
   591 	const u32_t id, void *data)
   590 {
   592 {
       
   593 	EAP_UNREFERENCED_PARAMETER(id);
       
   594 	EAP_UNREFERENCED_PARAMETER(data);
   591 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
   595 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
   592 
   596 
   593 	EAP_TRACE_DEBUG(
   597 	EAP_TRACE_DEBUG(
   594 		m_am_tools, 
   598 		m_am_tools, 
   595 		EAP_TRACE_FLAGS_MESSAGE_DATA, 
   599 		EAP_TRACE_FLAGS_MESSAGE_DATA, 
   736 	return EAP_STATUS_RETURN(m_am_tools, status);
   740 	return EAP_STATUS_RETURN(m_am_tools, status);
   737 }
   741 }
   738 
   742 
   739 //--------------------------------------------------
   743 //--------------------------------------------------
   740 
   744 
   741 eap_status_e eap_core_client_message_if_c::get_802_11_authentication_mode(
   745 EAP_FUNC_EXPORT eap_status_e eap_core_client_message_if_c::get_802_11_authentication_mode(
   742 	const eap_am_network_id_c * const receive_network_id,
   746 	const eap_am_network_id_c * const receive_network_id,
   743 	const eapol_key_authentication_type_e authentication_type,
   747 	const eapol_key_authentication_type_e authentication_type,
   744 	const eap_variable_data_c * const SSID,
   748 	const eap_variable_data_c * const SSID,
   745 	const eap_variable_data_c * const preshared_key)
   749 	const eap_variable_data_c * const preshared_key)
   746 {
   750 {