wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_sub_operation_wpa_connect.cpp
equal
deleted
inserted
replaced
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: 59.1.1 % |
19 * %version: 62 % |
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" |
311 DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using encryption mode core_security_mode_wapi" ); |
311 DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using encryption mode core_security_mode_wapi" ); |
312 key_management = core_key_management_wapi_psk; |
312 key_management = core_key_management_wapi_psk; |
313 encryption_mode = core_encryption_mode_wpi; |
313 encryption_mode = core_encryption_mode_wpi; |
314 break; |
314 break; |
315 } |
315 } |
|
316 case wlan_eapol_if_eapol_key_authentication_type_802_1x_unencrypted: |
|
317 { |
|
318 DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using key management core_key_management_none" ); |
|
319 DEBUG( "core_sub_operation_wpa_connect_c::next_state() - using encryption mode core_encryption_mode_disabled" ); |
|
320 key_management = core_key_management_none; |
|
321 encryption_mode = core_encryption_mode_disabled; |
|
322 break; |
|
323 } |
316 default: |
324 default: |
317 { |
325 { |
318 DEBUG( "core_sub_operation_wpa_connect_c::next_state() - unknown authentication type" ); |
326 DEBUG( "core_sub_operation_wpa_connect_c::next_state() - unknown authentication type" ); |
319 ASSERT( false_t ); |
327 ASSERT( false_t ); |
320 } |
328 } |