eapol/eapol_framework/eapol_common/common/eap_header_string.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: 11 %
    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
    81 	else EAP_IF_RETURN_STRING(type, eap_type_tlv_extensions)
    81 	else EAP_IF_RETURN_STRING(type, eap_type_tlv_extensions)
    82 #if defined(USE_FAST_EAP_TYPE)
    82 #if defined(USE_FAST_EAP_TYPE)
    83 	else EAP_IF_RETURN_STRING(type, eap_type_fast)
    83 	else EAP_IF_RETURN_STRING(type, eap_type_fast)
    84 #endif //#if defined(USE_FAST_EAP_TYPE)
    84 #endif //#if defined(USE_FAST_EAP_TYPE)
    85 	else EAP_IF_RETURN_STRING(type, eap_type_saesim)
    85 	else EAP_IF_RETURN_STRING(type, eap_type_saesim)
    86 #if defined(USE_EAP_EXPANDED_TYPES)
       
    87 	else EAP_IF_RETURN_STRING(type, eap_expanded_type_simple_config.get_type())
    86 	else EAP_IF_RETURN_STRING(type, eap_expanded_type_simple_config.get_type())
    88 #endif //#if defined(USE_EAP_EXPANDED_TYPES)
       
    89 	else
    87 	else
    90 #endif // #if defined(USE_EAP_TRACE_STRINGS)
    88 #endif // #if defined(USE_EAP_TRACE_STRINGS)
    91 	{
    89 	{
    92 		EAP_UNREFERENCED_PARAMETER(type);
    90 		EAP_UNREFERENCED_PARAMETER(type);
    93 		return EAPL("Unknown EAP-type");
    91 		return EAPL("Unknown EAP-type");