eapol/eapol_framework/eapol_common/common/eap_header_string.cpp
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
    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: 11 %
    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)
    86 	else EAP_IF_RETURN_STRING(type, eap_expanded_type_simple_config.get_type())
    87 	else EAP_IF_RETURN_STRING(type, eap_expanded_type_simple_config.get_type())
       
    88 #endif //#if defined(USE_EAP_EXPANDED_TYPES)
    87 	else
    89 	else
    88 #endif // #if defined(USE_EAP_TRACE_STRINGS)
    90 #endif // #if defined(USE_EAP_TRACE_STRINGS)
    89 	{
    91 	{
    90 		EAP_UNREFERENCED_PARAMETER(type);
    92 		EAP_UNREFERENCED_PARAMETER(type);
    91 		return EAPL("Unknown EAP-type");
    93 		return EAPL("Unknown EAP-type");