187 /** Use CCMP encryption, keys are negotiated by EAPOL. */ |
187 /** Use CCMP encryption, keys are negotiated by EAPOL. */ |
188 core_security_mode_wpa2only, |
188 core_security_mode_wpa2only, |
189 /** Use Wi-Fi Protected Setup, keys are negotiated by EAPOL. */ |
189 /** Use Wi-Fi Protected Setup, keys are negotiated by EAPOL. */ |
190 core_security_mode_protected_setup, |
190 core_security_mode_protected_setup, |
191 /** Use WAPI, keys are negotiated by EAPOL. */ |
191 /** Use WAPI, keys are negotiated by EAPOL. */ |
192 core_security_mode_wapi |
192 core_security_mode_wapi, |
|
193 /** Use EAP authentication without encryption. */ |
|
194 core_security_mode_802dot1x_unencrypted |
193 } core_security_mode_e; |
195 } core_security_mode_e; |
194 |
196 |
195 /** |
197 /** |
196 * Security mode of the current connection |
198 * Security mode of the current connection |
197 */ |
199 */ |
466 core_error_eapol_canceled_by_user, |
468 core_error_eapol_canceled_by_user, |
467 core_error_connection_already_active, |
469 core_error_connection_already_active, |
468 core_error_wlan_disabled, |
470 core_error_wlan_disabled, |
469 core_error_already_exists, |
471 core_error_already_exists, |
470 core_error_eapol_auth_start_timeout, |
472 core_error_eapol_auth_start_timeout, |
|
473 core_error_unsupported_config |
471 } core_error_e; |
474 } core_error_e; |
472 |
475 |
473 /** |
476 /** |
474 * Defines the notification core engine can send to adaptation. |
477 * Defines the notification core engine can send to adaptation. |
475 */ |
478 */ |
595 core_connect_ap_temporarily_blacklisted, |
598 core_connect_ap_temporarily_blacklisted, |
596 core_connect_ap_outside_defined_region, |
599 core_connect_ap_outside_defined_region, |
597 core_connect_ap_signal_too_weak, |
600 core_connect_ap_signal_too_weak, |
598 core_connect_ap_has_no_admission_control, |
601 core_connect_ap_has_no_admission_control, |
599 core_connect_ap_has_no_free_admission_capability, |
602 core_connect_ap_has_no_free_admission_capability, |
|
603 core_connect_ap_unsupported_configuration, |
600 core_connect_iap_open_but_ap_requires_encryption, |
604 core_connect_iap_open_but_ap_requires_encryption, |
601 core_connect_iap_wep_but_ap_has_no_privacy, |
605 core_connect_iap_wep_but_ap_has_no_privacy, |
602 core_connect_iap_wep_but_ap_has_wpa_ie, |
606 core_connect_iap_wep_but_ap_has_wpa_ie, |
603 core_connect_iap_wpa_but_ap_has_no_privacy, |
607 core_connect_iap_wpa_but_ap_has_no_privacy, |
604 core_connect_wep_open_authentication_unsupported, |
608 core_connect_wep_open_authentication_unsupported, |
794 */ |
798 */ |
795 typedef enum _core_management_status_e |
799 typedef enum _core_management_status_e |
796 { |
800 { |
797 core_management_status_success = 0, |
801 core_management_status_success = 0, |
798 core_management_status_unspecified_failure = 1, |
802 core_management_status_unspecified_failure = 1, |
799 // 2 - 9 are reserved. |
|
800 core_management_status_unsupported_capabilities = 10, |
803 core_management_status_unsupported_capabilities = 10, |
801 core_management_status_reassociation_denied_other = 11, |
804 core_management_status_reassociation_denied_other = 11, |
802 core_management_status_association_denied_other = 12, |
805 core_management_status_association_denied_other = 12, |
803 core_management_status_auth_algo_not_supported = 13, |
806 core_management_status_auth_algo_not_supported = 13, |
804 core_management_status_auth_frame_out_of_sequence = 14, |
807 core_management_status_auth_frame_out_of_sequence = 14, |
807 core_management_status_assoc_denied_full_ap = 17, |
810 core_management_status_assoc_denied_full_ap = 17, |
808 core_management_status_assoc_unsup_basic_rates = 18, |
811 core_management_status_assoc_unsup_basic_rates = 18, |
809 core_management_status_assoc_unsup_short_preamble = 19, |
812 core_management_status_assoc_unsup_short_preamble = 19, |
810 core_management_status_assoc_unsup_pbcc = 20, |
813 core_management_status_assoc_unsup_pbcc = 20, |
811 core_management_status_assoc_unsup_channel_agility = 21, |
814 core_management_status_assoc_unsup_channel_agility = 21, |
812 // 22 - 24 reserved. |
|
813 core_management_status_assoc_unsup_short_slot_time = 25, |
815 core_management_status_assoc_unsup_short_slot_time = 25, |
814 core_management_status_assoc_unsup_dsss_ofdm = 26 |
816 core_management_status_assoc_unsup_dsss_ofdm = 26, |
815 // 27 - 65,535 reserved |
817 core_management_status_assoc_unsup_ht_features = 27, |
|
818 core_management_status_assoc_unsup_pco = 29 |
816 } core_management_status_e; |
819 } core_management_status_e; |
817 |
820 |
818 /** |
821 /** |
819 * The frame types the core server can send and receive. |
822 * The frame types the core server can send and receive. |
820 */ |
823 */ |
1556 /** ID of the IAP. */ |
1559 /** ID of the IAP. */ |
1557 u32_t iap_id; |
1560 u32_t iap_id; |
1558 }; |
1561 }; |
1559 |
1562 |
1560 /** |
1563 /** |
|
1564 * Structure for storing IAP availability data. |
|
1565 */ |
|
1566 struct core_iap_availability_data_s |
|
1567 { |
|
1568 /** ID of the IAP. */ |
|
1569 u32_t id; |
|
1570 /** Signal strength of the strongest AP in the network. */ |
|
1571 u8_t rcpi; |
|
1572 }; |
|
1573 |
|
1574 /** |
1561 * Struct containing SSIDs related to secondary SSID feature. |
1575 * Struct containing SSIDs related to secondary SSID feature. |
1562 */ |
1576 */ |
1563 struct core_ssid_entry_s |
1577 struct core_ssid_entry_s |
1564 { |
1578 { |
1565 /** ID of the IAP this entry refers to. */ |
1579 /** ID of the IAP this entry refers to. */ |
2010 wlan_eapol_if_eapol_key_authentication_type_wpa_psk, |
2024 wlan_eapol_if_eapol_key_authentication_type_wpa_psk, |
2011 wlan_eapol_if_eapol_key_authentication_type_802_1x, |
2025 wlan_eapol_if_eapol_key_authentication_type_802_1x, |
2012 wlan_eapol_if_eapol_key_authentication_type_wpx_fast_roam, |
2026 wlan_eapol_if_eapol_key_authentication_type_wpx_fast_roam, |
2013 wlan_eapol_if_eapol_key_authentication_type_wfa_sc, |
2027 wlan_eapol_if_eapol_key_authentication_type_wfa_sc, |
2014 wlan_eapol_if_eapol_key_authentication_type_wapi_psk, |
2028 wlan_eapol_if_eapol_key_authentication_type_wapi_psk, |
2015 wlan_eapol_if_eapol_key_authentication_type_wapi |
2029 wlan_eapol_if_eapol_key_authentication_type_wapi, |
|
2030 wlan_eapol_if_eapol_key_authentication_type_802_1x_unencrypted |
2016 } wlan_eapol_if_eapol_key_authentication_type_e; |
2031 } wlan_eapol_if_eapol_key_authentication_type_e; |
2017 |
2032 |
2018 typedef enum _wlan_eapol_if_eapol_key_type_e |
2033 typedef enum _wlan_eapol_if_eapol_key_type_e |
2019 { |
2034 { |
2020 wlan_eapol_if_eapol_key_type_broadcast, |
2035 wlan_eapol_if_eapol_key_type_broadcast, |