wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_roam.cpp
equal
deleted
inserted
replaced
14 * Description: Statemachine for roaming |
14 * Description: Statemachine for roaming |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 75 % |
19 * %version: 76 % |
20 */ |
20 */ |
21 |
21 |
22 #include "core_operation_roam.h" |
22 #include "core_operation_roam.h" |
23 #include "core_server.h" |
23 #include "core_server.h" |
24 #include "core_tools.h" |
24 #include "core_tools.h" |
326 core_encryption_mode_disabled, |
326 core_encryption_mode_disabled, |
327 core_cipher_key_type_none, |
327 core_cipher_key_type_none, |
328 assoc_ie_list_m, |
328 assoc_ie_list_m, |
329 is_ibss_mode ? NULL : &assoc_resp_m, |
329 is_ibss_mode ? NULL : &assoc_resp_m, |
330 true_t, // ignored, pairwise key not used |
330 true_t, // ignored, pairwise key not used |
331 true_t ); // ignored, group key not used |
331 true_t, // ignored, group key not used |
|
332 NULL ); |
332 |
333 |
333 return run_sub_operation( operation ); |
334 return run_sub_operation( operation ); |
334 } |
335 } |
335 |
336 |
336 /** |
337 /** |
811 { |
812 { |
812 DEBUG( "core_operation_roam_c::connect_status() - shared authentication unsupported (WEP)" ); |
813 DEBUG( "core_operation_roam_c::connect_status() - shared authentication unsupported (WEP)" ); |
813 return core_connect_wep_shared_authentication_unsupported; |
814 return core_connect_wep_shared_authentication_unsupported; |
814 } |
815 } |
815 } |
816 } |
816 else if ( iap_data.authentication_mode() == core_authentication_mode_shared && |
817 else if ( iap_data.authentication_mode() == core_authentication_mode_shared && |
817 ( management_status == core_management_status_auth_challenge_failure || |
818 ( management_status == core_management_status_auth_challenge_failure || |
818 management_status == core_management_status_auth_frame_out_of_sequence || |
819 management_status == core_management_status_auth_frame_out_of_sequence || |
|
820 management_status == core_management_status_unspecified_failure || |
819 request_status == core_error_timeout ) ) |
821 request_status == core_error_timeout ) ) |
820 { |
822 { |
821 DEBUG( "core_operation_roam_c::connect_status() - shared authentication failed (WEP)" ); |
823 DEBUG( "core_operation_roam_c::connect_status() - shared authentication failed (WEP)" ); |
822 return core_connect_wep_shared_authentication_failed; |
824 return core_connect_wep_shared_authentication_failed; |
823 } |
825 } |