wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/core_types.h
branchRCL_3
changeset 14 13838cf40350
parent 7 0abc8c98be24
child 16 5fb7af913dfd
equal deleted inserted replaced
12:af3fb27c7511 14:13838cf40350
    14 * Description:  Type definitions and constants for core engine
    14 * Description:  Type definitions and constants for core engine
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 97 %
    19 * %version: 99 %
    20 */
    20 */
    21 
    21 
    22 #ifndef CORE_TYPES_H
    22 #ifndef CORE_TYPES_H
    23 #define CORE_TYPES_H
    23 #define CORE_TYPES_H
    24 
    24 
   466     core_error_eapol_canceled_by_user,
   466     core_error_eapol_canceled_by_user,
   467     core_error_connection_already_active,
   467     core_error_connection_already_active,
   468     core_error_wlan_disabled,
   468     core_error_wlan_disabled,
   469     core_error_already_exists,
   469     core_error_already_exists,
   470     core_error_eapol_auth_start_timeout,
   470     core_error_eapol_auth_start_timeout,
       
   471     core_error_unsupported_config
   471     } core_error_e;
   472     } core_error_e;
   472 
   473 
   473 /**
   474 /**
   474  * Defines the notification core engine can send to adaptation.
   475  * Defines the notification core engine can send to adaptation.
   475  */
   476  */
   595     core_connect_ap_temporarily_blacklisted,
   596     core_connect_ap_temporarily_blacklisted,
   596     core_connect_ap_outside_defined_region,
   597     core_connect_ap_outside_defined_region,
   597     core_connect_ap_signal_too_weak,
   598     core_connect_ap_signal_too_weak,
   598     core_connect_ap_has_no_admission_control,
   599     core_connect_ap_has_no_admission_control,
   599     core_connect_ap_has_no_free_admission_capability,
   600     core_connect_ap_has_no_free_admission_capability,
       
   601     core_connect_ap_unsupported_configuration,
   600     core_connect_iap_open_but_ap_requires_encryption,
   602     core_connect_iap_open_but_ap_requires_encryption,
   601     core_connect_iap_wep_but_ap_has_no_privacy,
   603     core_connect_iap_wep_but_ap_has_no_privacy,
   602     core_connect_iap_wep_but_ap_has_wpa_ie,
   604     core_connect_iap_wep_but_ap_has_wpa_ie,
   603     core_connect_iap_wpa_but_ap_has_no_privacy,
   605     core_connect_iap_wpa_but_ap_has_no_privacy,
   604     core_connect_wep_open_authentication_unsupported,
   606     core_connect_wep_open_authentication_unsupported,
   794  */
   796  */
   795 typedef enum _core_management_status_e
   797 typedef enum _core_management_status_e
   796     {
   798     {
   797     core_management_status_success                     = 0,
   799     core_management_status_success                     = 0,
   798     core_management_status_unspecified_failure         = 1,
   800     core_management_status_unspecified_failure         = 1,
   799     // 2 - 9 are reserved.
       
   800     core_management_status_unsupported_capabilities    = 10,
   801     core_management_status_unsupported_capabilities    = 10,
   801     core_management_status_reassociation_denied_other  = 11,
   802     core_management_status_reassociation_denied_other  = 11,
   802     core_management_status_association_denied_other    = 12,
   803     core_management_status_association_denied_other    = 12,
   803     core_management_status_auth_algo_not_supported     = 13,
   804     core_management_status_auth_algo_not_supported     = 13,
   804     core_management_status_auth_frame_out_of_sequence  = 14,
   805     core_management_status_auth_frame_out_of_sequence  = 14,
   807     core_management_status_assoc_denied_full_ap        = 17,
   808     core_management_status_assoc_denied_full_ap        = 17,
   808     core_management_status_assoc_unsup_basic_rates     = 18,
   809     core_management_status_assoc_unsup_basic_rates     = 18,
   809     core_management_status_assoc_unsup_short_preamble  = 19,
   810     core_management_status_assoc_unsup_short_preamble  = 19,
   810     core_management_status_assoc_unsup_pbcc            = 20,
   811     core_management_status_assoc_unsup_pbcc            = 20,
   811     core_management_status_assoc_unsup_channel_agility = 21,
   812     core_management_status_assoc_unsup_channel_agility = 21,
   812     // 22 - 24 reserved.
       
   813     core_management_status_assoc_unsup_short_slot_time = 25,
   813     core_management_status_assoc_unsup_short_slot_time = 25,
   814     core_management_status_assoc_unsup_dsss_ofdm       = 26
   814     core_management_status_assoc_unsup_dsss_ofdm       = 26,
   815     // 27 - 65,535 reserved
   815     core_management_status_assoc_unsup_ht_features     = 27,
       
   816     core_management_status_assoc_unsup_pco             = 29
   816     } core_management_status_e;
   817     } core_management_status_e;
   817 
   818 
   818 /**
   819 /**
   819  * The frame types the core server can send and receive.
   820  * The frame types the core server can send and receive.
   820  */
   821  */
  1556     /** ID of the IAP. */
  1557     /** ID of the IAP. */
  1557     u32_t iap_id;
  1558     u32_t iap_id;
  1558     };
  1559     };
  1559 
  1560 
  1560 /**
  1561 /**
       
  1562  * Structure for storing IAP availability data.
       
  1563  */
       
  1564 struct core_iap_availability_data_s
       
  1565     {
       
  1566     /** ID of the IAP. */
       
  1567     u32_t id;
       
  1568     /** Signal strength of the strongest AP in the network. */
       
  1569     u8_t rcpi;
       
  1570     };
       
  1571 
       
  1572 /**
  1561  * Struct containing SSIDs related to secondary SSID feature.
  1573  * Struct containing SSIDs related to secondary SSID feature.
  1562  */
  1574  */
  1563 struct core_ssid_entry_s
  1575 struct core_ssid_entry_s
  1564 	{
  1576 	{
  1565     /** ID of the IAP this entry refers to. */
  1577     /** ID of the IAP this entry refers to. */