wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_tools_parser.cpp
branchRCL_3
changeset 16 5fb7af913dfd
parent 0 c40eb8fe8501
equal deleted inserted replaced
14:13838cf40350 16:5fb7af913dfd
    14 * Description:  Simple parser functions for core
    14 * Description:  Simple parser functions for core
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 35 %
    19 * %version: 37 %
    20 */
    20 */
    21 
    21 
    22 #include "core_tools_parser.h"
    22 #include "core_tools_parser.h"
    23 #include "core_tools.h"
    23 #include "core_tools.h"
    24 #include "core_frame_beacon.h"
    24 #include "core_frame_beacon.h"
   144                 DEBUG( "core_tools_parser_c::is_ap_compatible_with_iap() - AP has WPA/RSN IE present" );
   144                 DEBUG( "core_tools_parser_c::is_ap_compatible_with_iap() - AP has WPA/RSN IE present" );
   145                 return core_connect_iap_wep_but_ap_has_wpa_ie;
   145                 return core_connect_iap_wep_but_ap_has_wpa_ie;
   146                 }
   146                 }
   147 
   147 
   148             break;
   148             break;
       
   149         case core_security_mode_802dot1x_unencrypted:
       
   150             /** Falls through on purpose. */
   149         case core_security_mode_802dot1x:
   151         case core_security_mode_802dot1x:
   150             /**
   152             /**
   151              * Check WPX requirements.
   153              * Check WPX requirements.
   152              */
   154              */
   153             if ( !wpx_adaptation.is_ap_wpx_compatible_with_iap(
   155             if ( !wpx_adaptation.is_ap_wpx_compatible_with_iap(
   371                 return core_connect_wapi_ap_has_no_valid_ciphers;
   373                 return core_connect_wapi_ap_has_no_valid_ciphers;
   372                 }
   374                 }
   373 
   375 
   374             break;
   376             break;
   375             }
   377             }
       
   378 
   376         }
   379         }
   377 
   380 
   378     DEBUG( "core_tools_parser_c::is_ap_compatible_with_iap() - OK" );
   381     DEBUG( "core_tools_parser_c::is_ap_compatible_with_iap() - OK" );
   379     return core_connect_ok;
   382     return core_connect_ok;
   380     }
   383     }