eapol/eapol_framework/eapol_symbian/am/core/symbian/eapol_am_core_symbian.cpp
branchRCL_3
changeset 9 aa67149e0134
parent 2 1c7bc153c08e
equal deleted inserted replaced
8:66f897dce0dc 9:aa67149e0134
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 17.1.2 %
    19 * %version: 17.1.2.1.1 %
    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
  1047 	
  1047 	
  1048 #if defined (USE_EAPOL_KEY_STATE) 
  1048 #if defined (USE_EAPOL_KEY_STATE) 
  1049 
  1049 
  1050 	// Initialise EAPOL key state
  1050 	// Initialise EAPOL key state
  1051 
  1051 
  1052 	eapol_key_authentication_type_e authentication_type(eapol_key_authentication_type_802_1X);
  1052 	eapol_key_authentication_type_e authentication_type(eapol_key_authentication_type_dynamic_WEP);
  1053 	
  1053 	
  1054 	if (aReceivedWPAIE !=0 
  1054 	if (aReceivedWPAIE !=0 
  1055 		&& aSentWPAIE != 0)
  1055 		&& aSentWPAIE != 0)
  1056 	{
  1056 	{
  1057 		// WPA (in wpa or 802.1x security mode)
  1057 		// WPA (in wpa or 802.1x security mode)
  1067 
  1067 
  1068 	}
  1068 	}
  1069 	else
  1069 	else
  1070 	{
  1070 	{
  1071 		// Non-wpa mode
  1071 		// Non-wpa mode
  1072 		authentication_type = eapol_key_authentication_type_802_1X;
  1072 		authentication_type = eapol_key_authentication_type_dynamic_WEP;
  1073 	}	
  1073 	}	
  1074 
  1074 
  1075 	eap_variable_data_c	authenticator_RSNA_IE(m_am_tools);
  1075 	eap_variable_data_c	authenticator_RSNA_IE(m_am_tools);
  1076 	eap_variable_data_c	supplicant_RSNA_IE(m_am_tools);
  1076 	eap_variable_data_c	supplicant_RSNA_IE(m_am_tools);
  1077 
  1077