wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_connection_data.cpp
branchRCL_3
changeset 18 d3d7683d16f5
parent 17 a828660c511c
equal deleted inserted replaced
17:a828660c511c 18:d3d7683d16f5
    14 * Description:  Class holding all connection related data
    14 * Description:  Class holding all connection related data
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 38 %
    19 * %version: 37 %
    20 */
    20 */
    21 
    21 
    22 #include "core_connection_data.h"
    22 #include "core_connection_data.h"
    23 #include "core_tools.h"
    23 #include "core_tools.h"
    24 #include "am_debug.h"
    24 #include "am_debug.h"
    50     last_eap_error_code_m( EAP_ERROR_NONE ),
    50     last_eap_error_code_m( EAP_ERROR_NONE ),
    51     adjacent_ap_channels_m( ),
    51     adjacent_ap_channels_m( ),
    52     is_eapol_authentication_started_m( false_t ),
    52     is_eapol_authentication_started_m( false_t ),
    53     is_eapol_authenticating_m( false_t ),
    53     is_eapol_authenticating_m( false_t ),
    54     eapol_auth_bssid_m( ZERO_MAC_ADDR ),
    54     eapol_auth_bssid_m( ZERO_MAC_ADDR ),
    55     eapol_auth_failure_m( core_error_ok ),
       
    56     traffic_stream_list_m( ),
    55     traffic_stream_list_m( ),
    57     virtual_traffic_stream_list_m( ),
    56     virtual_traffic_stream_list_m( ),
    58     is_eapol_connecting_m( false_t ),
    57     is_eapol_connecting_m( false_t ),
    59     is_eapol_disconnecting_m( false_t ),
       
    60     is_disconnecting_m( false_t ),
    58     is_disconnecting_m( false_t ),
    61     last_roam_reason_m( core_roam_reason_none ),
    59     last_roam_reason_m( core_roam_reason_none ),
    62     last_roam_failed_reason_m( core_roam_failed_reason_none ),
    60     last_roam_failed_reason_m( core_roam_failed_reason_none ),
    63     is_eapol_require_immediate_reconnect_m( false_t ),
    61     is_eapol_require_immediate_reconnect_m( false_t ),
    64     is_voice_call_on_m( false_t ),
    62     is_voice_call_on_m( false_t ),
   672     }
   670     }
   673 
   671 
   674 // ---------------------------------------------------------------------------
   672 // ---------------------------------------------------------------------------
   675 // ---------------------------------------------------------------------------
   673 // ---------------------------------------------------------------------------
   676 //
   674 //
   677 core_error_e core_connection_data_c::eapol_auth_failure() const
       
   678     {
       
   679     return eapol_auth_failure_m;
       
   680     }
       
   681 
       
   682 // ---------------------------------------------------------------------------
       
   683 // ---------------------------------------------------------------------------
       
   684 //
       
   685 void core_connection_data_c::set_eapol_auth_failure(
       
   686     core_error_e error )
       
   687     {
       
   688     eapol_auth_failure_m = error;
       
   689     }
       
   690 
       
   691 // ---------------------------------------------------------------------------
       
   692 // ---------------------------------------------------------------------------
       
   693 //
       
   694 core_traffic_stream_list_c& core_connection_data_c::traffic_stream_list()
   675 core_traffic_stream_list_c& core_connection_data_c::traffic_stream_list()
   695     {
   676     {
   696     return traffic_stream_list_m;
   677     return traffic_stream_list_m;
   697     }
   678     }
   698 
   679 
   717 //
   698 //
   718 void core_connection_data_c::set_eapol_connecting(
   699 void core_connection_data_c::set_eapol_connecting(
   719     bool_t is_eapol_connecting )
   700     bool_t is_eapol_connecting )
   720     {
   701     {
   721     is_eapol_connecting_m = is_eapol_connecting;
   702     is_eapol_connecting_m = is_eapol_connecting;
   722     }
       
   723 
       
   724 // ---------------------------------------------------------------------------
       
   725 // ---------------------------------------------------------------------------
       
   726 //
       
   727 bool_t core_connection_data_c::is_eapol_disconnecting() const
       
   728     {
       
   729     return is_eapol_disconnecting_m;
       
   730     }
       
   731 
       
   732 // ---------------------------------------------------------------------------
       
   733 // ---------------------------------------------------------------------------
       
   734 //
       
   735 void core_connection_data_c::set_eapol_disconnecting(
       
   736     bool_t is_eapol_disconnecting )
       
   737     {
       
   738     is_eapol_disconnecting_m = is_eapol_disconnecting;
       
   739     }
   703     }
   740 
   704 
   741 // ---------------------------------------------------------------------------
   705 // ---------------------------------------------------------------------------
   742 // ---------------------------------------------------------------------------
   706 // ---------------------------------------------------------------------------
   743 //
   707 //