wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_sub_operation_wpa_connect.cpp
branchRCL_3
changeset 50 5cdddd04119b
parent 43 d3d7683d16f5
equal deleted inserted replaced
43:d3d7683d16f5 50:5cdddd04119b
    14 * Description:  State machine for connecting to a WPA network
    14 * Description:  State machine for connecting to a WPA network
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 61.1.1 %
    19 * %version: 59 %
    20 */
    20 */
    21 
    21 
    22 #include "core_sub_operation_wpa_connect.h"
    22 #include "core_sub_operation_wpa_connect.h"
    23 #include "core_sub_operation_connect.h"
    23 #include "core_sub_operation_connect.h"
    24 #include "core_server.h"
    24 #include "core_server.h"
   309                     DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using encryption mode core_security_mode_wapi" );
   309                     DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using encryption mode core_security_mode_wapi" );
   310                     key_management = core_key_management_wapi_psk;
   310                     key_management = core_key_management_wapi_psk;
   311                     encryption_mode = core_encryption_mode_wpi;
   311                     encryption_mode = core_encryption_mode_wpi;
   312                     break;                    
   312                     break;                    
   313                     }
   313                     }
   314                 case wlan_eapol_if_eapol_key_authentication_type_802_1x_unencrypted:
       
   315                     {
       
   316                     DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using key management core_key_management_none" );
       
   317                     DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using encryption mode core_encryption_mode_disabled" );
       
   318                     key_management = core_key_management_none;
       
   319                     encryption_mode = core_encryption_mode_disabled;
       
   320                     break;                    
       
   321                     }
       
   322                 default:
   314                 default:
   323                     {
   315                     {
   324                     DEBUG( "core_sub_operation_wpa_connect_c::next_state() - unknown authentication type" );
   316                     DEBUG( "core_sub_operation_wpa_connect_c::next_state() - unknown authentication type" );
   325                     ASSERT( false_t );
   317                     ASSERT( false_t );
   326                     }
   318                     }