/src/hostap/src/common/defs.h
Line | Count | Source |
1 | | /* |
2 | | * WPA Supplicant - Common definitions |
3 | | * Copyright (c) 2004-2018, Jouni Malinen <j@w1.fi> |
4 | | * |
5 | | * This software may be distributed under the terms of the BSD license. |
6 | | * See README for more details. |
7 | | */ |
8 | | |
9 | | #ifndef DEFS_H |
10 | | #define DEFS_H |
11 | | |
12 | 0 | #define WPA_CIPHER_NONE BIT(0) |
13 | 0 | #define WPA_CIPHER_WEP40 BIT(1) |
14 | 0 | #define WPA_CIPHER_WEP104 BIT(2) |
15 | 9.54k | #define WPA_CIPHER_TKIP BIT(3) |
16 | 0 | #define WPA_CIPHER_CCMP BIT(4) |
17 | 4.77k | #define WPA_CIPHER_AES_128_CMAC BIT(5) |
18 | 0 | #define WPA_CIPHER_GCMP BIT(6) |
19 | | #define WPA_CIPHER_SMS4 BIT(7) |
20 | 0 | #define WPA_CIPHER_GCMP_256 BIT(8) |
21 | 0 | #define WPA_CIPHER_CCMP_256 BIT(9) |
22 | 0 | #define WPA_CIPHER_BIP_GMAC_128 BIT(11) |
23 | 0 | #define WPA_CIPHER_BIP_GMAC_256 BIT(12) |
24 | 0 | #define WPA_CIPHER_BIP_CMAC_256 BIT(13) |
25 | 0 | #define WPA_CIPHER_GTK_NOT_USED BIT(14) |
26 | | |
27 | 0 | #define WPA_KEY_MGMT_IEEE8021X BIT(0) |
28 | 4.77k | #define WPA_KEY_MGMT_PSK BIT(1) |
29 | 0 | #define WPA_KEY_MGMT_NONE BIT(2) |
30 | 0 | #define WPA_KEY_MGMT_IEEE8021X_NO_WPA BIT(3) |
31 | 0 | #define WPA_KEY_MGMT_WPA_NONE BIT(4) |
32 | 0 | #define WPA_KEY_MGMT_FT_IEEE8021X BIT(5) |
33 | 0 | #define WPA_KEY_MGMT_FT_PSK BIT(6) |
34 | 0 | #define WPA_KEY_MGMT_IEEE8021X_SHA256 BIT(7) |
35 | 0 | #define WPA_KEY_MGMT_PSK_SHA256 BIT(8) |
36 | 0 | #define WPA_KEY_MGMT_WPS BIT(9) |
37 | 0 | #define WPA_KEY_MGMT_SAE BIT(10) |
38 | 0 | #define WPA_KEY_MGMT_FT_SAE BIT(11) |
39 | | #define WPA_KEY_MGMT_WAPI_PSK BIT(12) |
40 | | #define WPA_KEY_MGMT_WAPI_CERT BIT(13) |
41 | 0 | #define WPA_KEY_MGMT_CCKM BIT(14) |
42 | 0 | #define WPA_KEY_MGMT_IEEE8021X_SUITE_B BIT(16) |
43 | 0 | #define WPA_KEY_MGMT_IEEE8021X_SUITE_B_192 BIT(17) |
44 | 0 | #define WPA_KEY_MGMT_FILS_SHA256 BIT(18) |
45 | 0 | #define WPA_KEY_MGMT_FILS_SHA384 BIT(19) |
46 | 0 | #define WPA_KEY_MGMT_FT_FILS_SHA256 BIT(20) |
47 | 0 | #define WPA_KEY_MGMT_FT_FILS_SHA384 BIT(21) |
48 | 0 | #define WPA_KEY_MGMT_OWE BIT(22) |
49 | 0 | #define WPA_KEY_MGMT_DPP BIT(23) |
50 | 0 | #define WPA_KEY_MGMT_FT_IEEE8021X_SHA384 BIT(24) |
51 | 0 | #define WPA_KEY_MGMT_PASN BIT(25) |
52 | 0 | #define WPA_KEY_MGMT_SAE_EXT_KEY BIT(26) |
53 | 0 | #define WPA_KEY_MGMT_FT_SAE_EXT_KEY BIT(27) |
54 | 0 | #define WPA_KEY_MGMT_IEEE8021X_SHA384 BIT(28) |
55 | 0 | #define WPA_KEY_MGMT_EPPKE BIT(29) |
56 | | #define WPA_KEY_MGMT_PQC_8021X BIT(30) |
57 | | #define WPA_KEY_MGMT_FT_PQC_8021X BIT(31) |
58 | | |
59 | | |
60 | 0 | #define WPA_KEY_MGMT_FT (WPA_KEY_MGMT_FT_PSK | \ |
61 | 0 | WPA_KEY_MGMT_FT_IEEE8021X | \ |
62 | 0 | WPA_KEY_MGMT_FT_IEEE8021X_SHA384 | \ |
63 | 0 | WPA_KEY_MGMT_FT_SAE | \ |
64 | 0 | WPA_KEY_MGMT_FT_SAE_EXT_KEY | \ |
65 | 0 | WPA_KEY_MGMT_FT_FILS_SHA256 | \ |
66 | 0 | WPA_KEY_MGMT_FT_FILS_SHA384) |
67 | | |
68 | | static inline int wpa_key_mgmt_wpa_ieee8021x(int akm) |
69 | 0 | { |
70 | 0 | return !!(akm & (WPA_KEY_MGMT_IEEE8021X | |
71 | 0 | WPA_KEY_MGMT_FT_IEEE8021X | |
72 | 0 | WPA_KEY_MGMT_FT_IEEE8021X_SHA384 | |
73 | 0 | WPA_KEY_MGMT_CCKM | |
74 | 0 | WPA_KEY_MGMT_IEEE8021X_SHA256 | |
75 | 0 | WPA_KEY_MGMT_IEEE8021X_SUITE_B | |
76 | 0 | WPA_KEY_MGMT_IEEE8021X_SUITE_B_192 | |
77 | 0 | WPA_KEY_MGMT_FILS_SHA256 | |
78 | 0 | WPA_KEY_MGMT_FILS_SHA384 | |
79 | 0 | WPA_KEY_MGMT_FT_FILS_SHA256 | |
80 | 0 | WPA_KEY_MGMT_FT_FILS_SHA384 | |
81 | 0 | WPA_KEY_MGMT_IEEE8021X_SHA384)); |
82 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ap_config.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ap_list.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: beacon.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: dfs.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: hostapd.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: hs20.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: hw_features.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: robust_av.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: rrm.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: sta_info.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: utils.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wmm.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: accounting.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: authsrv.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: bss_load.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: interference.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wps_common.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: eap_server.c:wpa_key_mgmt_wpa_ieee8021x Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_wpa_ieee8021x |
83 | | |
84 | | static inline int wpa_key_mgmt_wpa_psk_no_sae(int akm) |
85 | 0 | { |
86 | 0 | return !!(akm & (WPA_KEY_MGMT_PSK | |
87 | 0 | WPA_KEY_MGMT_FT_PSK | |
88 | 0 | WPA_KEY_MGMT_PSK_SHA256)); |
89 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ap_config.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ap_list.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: beacon.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: dfs.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: hostapd.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: hs20.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: hw_features.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: robust_av.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: rrm.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: sta_info.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: utils.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wmm.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: accounting.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: authsrv.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: bss_load.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: interference.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wps_common.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: eap_server.c:wpa_key_mgmt_wpa_psk_no_sae Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_wpa_psk_no_sae |
90 | | |
91 | | static inline int wpa_key_mgmt_wpa_psk(int akm) |
92 | 0 | { |
93 | 0 | return !!(akm & (WPA_KEY_MGMT_PSK | |
94 | 0 | WPA_KEY_MGMT_FT_PSK | |
95 | 0 | WPA_KEY_MGMT_PSK_SHA256 | |
96 | 0 | WPA_KEY_MGMT_SAE | |
97 | 0 | WPA_KEY_MGMT_SAE_EXT_KEY | |
98 | 0 | WPA_KEY_MGMT_FT_SAE | |
99 | 0 | WPA_KEY_MGMT_FT_SAE_EXT_KEY)); |
100 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ap_config.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ap_list.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: beacon.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: dfs.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: hostapd.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: hs20.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: hw_features.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: robust_av.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: rrm.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: sta_info.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: utils.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wmm.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: accounting.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: authsrv.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: bss_load.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: interference.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wps_common.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: eap_server.c:wpa_key_mgmt_wpa_psk Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_wpa_psk |
101 | | |
102 | | static inline int wpa_key_mgmt_ft(int akm) |
103 | 0 | { |
104 | 0 | return !!(akm & WPA_KEY_MGMT_FT); |
105 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_ft Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_ft Unexecuted instantiation: ap_config.c:wpa_key_mgmt_ft Unexecuted instantiation: ap_list.c:wpa_key_mgmt_ft Unexecuted instantiation: beacon.c:wpa_key_mgmt_ft Unexecuted instantiation: dfs.c:wpa_key_mgmt_ft Unexecuted instantiation: hostapd.c:wpa_key_mgmt_ft Unexecuted instantiation: hs20.c:wpa_key_mgmt_ft Unexecuted instantiation: hw_features.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_ft Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_ft Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_ft Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_ft Unexecuted instantiation: robust_av.c:wpa_key_mgmt_ft Unexecuted instantiation: rrm.c:wpa_key_mgmt_ft Unexecuted instantiation: sta_info.c:wpa_key_mgmt_ft Unexecuted instantiation: utils.c:wpa_key_mgmt_ft Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_ft Unexecuted instantiation: wmm.c:wpa_key_mgmt_ft Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_ft Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_ft Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_ft Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_ft Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_ft Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_ft Unexecuted instantiation: accounting.c:wpa_key_mgmt_ft Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_ft Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_ft Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_ft Unexecuted instantiation: authsrv.c:wpa_key_mgmt_ft Unexecuted instantiation: bss_load.c:wpa_key_mgmt_ft Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_ft Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_ft Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_ft Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_ft Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_ft Unexecuted instantiation: interference.c:wpa_key_mgmt_ft Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_ft Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_ft Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_ft Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_ft Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_ft Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_ft Unexecuted instantiation: wps_common.c:wpa_key_mgmt_ft Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_ft Unexecuted instantiation: eap_server.c:wpa_key_mgmt_ft Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_ft |
106 | | |
107 | | static inline int wpa_key_mgmt_only_ft(int akm) |
108 | 0 | { |
109 | 0 | int ft = wpa_key_mgmt_ft(akm); |
110 | 0 | akm &= ~WPA_KEY_MGMT_FT; |
111 | 0 | return ft && !akm; |
112 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ap_config.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ap_list.c:wpa_key_mgmt_only_ft Unexecuted instantiation: beacon.c:wpa_key_mgmt_only_ft Unexecuted instantiation: dfs.c:wpa_key_mgmt_only_ft Unexecuted instantiation: hostapd.c:wpa_key_mgmt_only_ft Unexecuted instantiation: hs20.c:wpa_key_mgmt_only_ft Unexecuted instantiation: hw_features.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_only_ft Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_only_ft Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_only_ft Unexecuted instantiation: robust_av.c:wpa_key_mgmt_only_ft Unexecuted instantiation: rrm.c:wpa_key_mgmt_only_ft Unexecuted instantiation: sta_info.c:wpa_key_mgmt_only_ft Unexecuted instantiation: utils.c:wpa_key_mgmt_only_ft Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wmm.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_only_ft Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_only_ft Unexecuted instantiation: accounting.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_only_ft Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_only_ft Unexecuted instantiation: authsrv.c:wpa_key_mgmt_only_ft Unexecuted instantiation: bss_load.c:wpa_key_mgmt_only_ft Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_only_ft Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_only_ft Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_only_ft Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_only_ft Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_only_ft Unexecuted instantiation: interference.c:wpa_key_mgmt_only_ft Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_only_ft Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_only_ft Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_only_ft Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wps_common.c:wpa_key_mgmt_only_ft Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_only_ft Unexecuted instantiation: eap_server.c:wpa_key_mgmt_only_ft Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_only_ft |
113 | | |
114 | | static inline int wpa_key_mgmt_ft_psk(int akm) |
115 | 0 | { |
116 | 0 | return !!(akm & WPA_KEY_MGMT_FT_PSK); |
117 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ap_config.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ap_list.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: beacon.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: dfs.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: hostapd.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: hs20.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: hw_features.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: robust_av.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: rrm.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: sta_info.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: utils.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wmm.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: accounting.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: authsrv.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: bss_load.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: interference.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wps_common.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: eap_server.c:wpa_key_mgmt_ft_psk Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_ft_psk |
118 | | |
119 | | static inline int wpa_key_mgmt_sae(int akm) |
120 | 0 | { |
121 | 0 | return !!(akm & (WPA_KEY_MGMT_SAE | |
122 | 0 | WPA_KEY_MGMT_SAE_EXT_KEY | |
123 | 0 | WPA_KEY_MGMT_FT_SAE | |
124 | 0 | WPA_KEY_MGMT_FT_SAE_EXT_KEY)); |
125 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_sae Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_sae Unexecuted instantiation: ap_config.c:wpa_key_mgmt_sae Unexecuted instantiation: ap_list.c:wpa_key_mgmt_sae Unexecuted instantiation: beacon.c:wpa_key_mgmt_sae Unexecuted instantiation: dfs.c:wpa_key_mgmt_sae Unexecuted instantiation: hostapd.c:wpa_key_mgmt_sae Unexecuted instantiation: hs20.c:wpa_key_mgmt_sae Unexecuted instantiation: hw_features.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_sae Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_sae Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_sae Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_sae Unexecuted instantiation: robust_av.c:wpa_key_mgmt_sae Unexecuted instantiation: rrm.c:wpa_key_mgmt_sae Unexecuted instantiation: sta_info.c:wpa_key_mgmt_sae Unexecuted instantiation: utils.c:wpa_key_mgmt_sae Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_sae Unexecuted instantiation: wmm.c:wpa_key_mgmt_sae Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_sae Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_sae Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_sae Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_sae Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_sae Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_sae Unexecuted instantiation: accounting.c:wpa_key_mgmt_sae Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_sae Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_sae Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_sae Unexecuted instantiation: authsrv.c:wpa_key_mgmt_sae Unexecuted instantiation: bss_load.c:wpa_key_mgmt_sae Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_sae Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_sae Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_sae Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_sae Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_sae Unexecuted instantiation: interference.c:wpa_key_mgmt_sae Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_sae Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_sae Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_sae Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_sae Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_sae Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_sae Unexecuted instantiation: wps_common.c:wpa_key_mgmt_sae Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_sae Unexecuted instantiation: eap_server.c:wpa_key_mgmt_sae Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_sae |
126 | | |
127 | | static inline int wpa_key_mgmt_sae_ext_key(int akm) |
128 | 0 | { |
129 | 0 | return !!(akm & (WPA_KEY_MGMT_SAE_EXT_KEY | |
130 | 0 | WPA_KEY_MGMT_FT_SAE_EXT_KEY)); |
131 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ap_config.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ap_list.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: beacon.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: dfs.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: hostapd.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: hs20.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: hw_features.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: robust_av.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: rrm.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: sta_info.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: utils.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wmm.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: accounting.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: authsrv.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: bss_load.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: interference.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wps_common.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: eap_server.c:wpa_key_mgmt_sae_ext_key Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_sae_ext_key |
132 | | |
133 | | static inline int wpa_key_mgmt_only_sae(int akm) |
134 | 0 | { |
135 | 0 | return wpa_key_mgmt_sae(akm) && |
136 | 0 | !(akm & ~(WPA_KEY_MGMT_SAE | |
137 | 0 | WPA_KEY_MGMT_SAE_EXT_KEY | |
138 | 0 | WPA_KEY_MGMT_FT_SAE | |
139 | 0 | WPA_KEY_MGMT_FT_SAE_EXT_KEY)); |
140 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ap_config.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ap_list.c:wpa_key_mgmt_only_sae Unexecuted instantiation: beacon.c:wpa_key_mgmt_only_sae Unexecuted instantiation: dfs.c:wpa_key_mgmt_only_sae Unexecuted instantiation: hostapd.c:wpa_key_mgmt_only_sae Unexecuted instantiation: hs20.c:wpa_key_mgmt_only_sae Unexecuted instantiation: hw_features.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_only_sae Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_only_sae Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_only_sae Unexecuted instantiation: robust_av.c:wpa_key_mgmt_only_sae Unexecuted instantiation: rrm.c:wpa_key_mgmt_only_sae Unexecuted instantiation: sta_info.c:wpa_key_mgmt_only_sae Unexecuted instantiation: utils.c:wpa_key_mgmt_only_sae Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wmm.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_only_sae Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_only_sae Unexecuted instantiation: accounting.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_only_sae Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_only_sae Unexecuted instantiation: authsrv.c:wpa_key_mgmt_only_sae Unexecuted instantiation: bss_load.c:wpa_key_mgmt_only_sae Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_only_sae Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_only_sae Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_only_sae Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_only_sae Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_only_sae Unexecuted instantiation: interference.c:wpa_key_mgmt_only_sae Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_only_sae Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_only_sae Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_only_sae Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wps_common.c:wpa_key_mgmt_only_sae Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_only_sae Unexecuted instantiation: eap_server.c:wpa_key_mgmt_only_sae Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_only_sae |
141 | | |
142 | | static inline int wpa_key_mgmt_only_sae_ext_key(int akm) |
143 | 0 | { |
144 | 0 | return wpa_key_mgmt_sae_ext_key(akm) && |
145 | 0 | !(akm & ~(WPA_KEY_MGMT_SAE_EXT_KEY | |
146 | 0 | WPA_KEY_MGMT_FT_SAE_EXT_KEY)); |
147 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ap_config.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ap_list.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: beacon.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: dfs.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: hostapd.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: hs20.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: hw_features.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: robust_av.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: rrm.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: sta_info.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: utils.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wmm.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: accounting.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: authsrv.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: bss_load.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: interference.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wps_common.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: eap_server.c:wpa_key_mgmt_only_sae_ext_key Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_only_sae_ext_key |
148 | | |
149 | | static inline int wpa_key_mgmt_fils(int akm) |
150 | 0 | { |
151 | 0 | return !!(akm & (WPA_KEY_MGMT_FILS_SHA256 | |
152 | 0 | WPA_KEY_MGMT_FILS_SHA384 | |
153 | 0 | WPA_KEY_MGMT_FT_FILS_SHA256 | |
154 | 0 | WPA_KEY_MGMT_FT_FILS_SHA384)); |
155 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_fils Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_fils Unexecuted instantiation: ap_config.c:wpa_key_mgmt_fils Unexecuted instantiation: ap_list.c:wpa_key_mgmt_fils Unexecuted instantiation: beacon.c:wpa_key_mgmt_fils Unexecuted instantiation: dfs.c:wpa_key_mgmt_fils Unexecuted instantiation: hostapd.c:wpa_key_mgmt_fils Unexecuted instantiation: hs20.c:wpa_key_mgmt_fils Unexecuted instantiation: hw_features.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_fils Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_fils Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_fils Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_fils Unexecuted instantiation: robust_av.c:wpa_key_mgmt_fils Unexecuted instantiation: rrm.c:wpa_key_mgmt_fils Unexecuted instantiation: sta_info.c:wpa_key_mgmt_fils Unexecuted instantiation: utils.c:wpa_key_mgmt_fils Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_fils Unexecuted instantiation: wmm.c:wpa_key_mgmt_fils Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_fils Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_fils Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_fils Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_fils Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_fils Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_fils Unexecuted instantiation: accounting.c:wpa_key_mgmt_fils Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_fils Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_fils Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_fils Unexecuted instantiation: authsrv.c:wpa_key_mgmt_fils Unexecuted instantiation: bss_load.c:wpa_key_mgmt_fils Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_fils Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_fils Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_fils Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_fils Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_fils Unexecuted instantiation: interference.c:wpa_key_mgmt_fils Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_fils Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_fils Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_fils Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_fils Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_fils Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_fils Unexecuted instantiation: wps_common.c:wpa_key_mgmt_fils Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_fils Unexecuted instantiation: eap_server.c:wpa_key_mgmt_fils Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_fils |
156 | | |
157 | | static inline int wpa_key_mgmt_sha256(int akm) |
158 | 0 | { |
159 | 0 | return !!(akm & (WPA_KEY_MGMT_FT_IEEE8021X | |
160 | 0 | WPA_KEY_MGMT_PSK_SHA256 | |
161 | 0 | WPA_KEY_MGMT_IEEE8021X_SHA256 | |
162 | 0 | WPA_KEY_MGMT_SAE | |
163 | 0 | WPA_KEY_MGMT_FT_SAE | |
164 | 0 | WPA_KEY_MGMT_IEEE8021X_SUITE_B | |
165 | 0 | WPA_KEY_MGMT_FILS_SHA256 | |
166 | 0 | WPA_KEY_MGMT_FT_FILS_SHA256)); |
167 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ap_config.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ap_list.c:wpa_key_mgmt_sha256 Unexecuted instantiation: beacon.c:wpa_key_mgmt_sha256 Unexecuted instantiation: dfs.c:wpa_key_mgmt_sha256 Unexecuted instantiation: hostapd.c:wpa_key_mgmt_sha256 Unexecuted instantiation: hs20.c:wpa_key_mgmt_sha256 Unexecuted instantiation: hw_features.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_sha256 Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_sha256 Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_sha256 Unexecuted instantiation: robust_av.c:wpa_key_mgmt_sha256 Unexecuted instantiation: rrm.c:wpa_key_mgmt_sha256 Unexecuted instantiation: sta_info.c:wpa_key_mgmt_sha256 Unexecuted instantiation: utils.c:wpa_key_mgmt_sha256 Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wmm.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_sha256 Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_sha256 Unexecuted instantiation: accounting.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_sha256 Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_sha256 Unexecuted instantiation: authsrv.c:wpa_key_mgmt_sha256 Unexecuted instantiation: bss_load.c:wpa_key_mgmt_sha256 Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_sha256 Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_sha256 Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_sha256 Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_sha256 Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_sha256 Unexecuted instantiation: interference.c:wpa_key_mgmt_sha256 Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_sha256 Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_sha256 Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_sha256 Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wps_common.c:wpa_key_mgmt_sha256 Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_sha256 Unexecuted instantiation: eap_server.c:wpa_key_mgmt_sha256 Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_sha256 |
168 | | |
169 | | static inline int wpa_key_mgmt_sha384(int akm) |
170 | 0 | { |
171 | 0 | return !!(akm & (WPA_KEY_MGMT_IEEE8021X_SUITE_B_192 | |
172 | 0 | WPA_KEY_MGMT_FT_IEEE8021X_SHA384 | |
173 | 0 | WPA_KEY_MGMT_FILS_SHA384 | |
174 | 0 | WPA_KEY_MGMT_FT_FILS_SHA384 | |
175 | 0 | WPA_KEY_MGMT_IEEE8021X_SHA384)); |
176 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ap_config.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ap_list.c:wpa_key_mgmt_sha384 Unexecuted instantiation: beacon.c:wpa_key_mgmt_sha384 Unexecuted instantiation: dfs.c:wpa_key_mgmt_sha384 Unexecuted instantiation: hostapd.c:wpa_key_mgmt_sha384 Unexecuted instantiation: hs20.c:wpa_key_mgmt_sha384 Unexecuted instantiation: hw_features.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_sha384 Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_sha384 Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_sha384 Unexecuted instantiation: robust_av.c:wpa_key_mgmt_sha384 Unexecuted instantiation: rrm.c:wpa_key_mgmt_sha384 Unexecuted instantiation: sta_info.c:wpa_key_mgmt_sha384 Unexecuted instantiation: utils.c:wpa_key_mgmt_sha384 Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wmm.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_sha384 Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_sha384 Unexecuted instantiation: accounting.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_sha384 Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_sha384 Unexecuted instantiation: authsrv.c:wpa_key_mgmt_sha384 Unexecuted instantiation: bss_load.c:wpa_key_mgmt_sha384 Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_sha384 Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_sha384 Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_sha384 Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_sha384 Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_sha384 Unexecuted instantiation: interference.c:wpa_key_mgmt_sha384 Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_sha384 Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_sha384 Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_sha384 Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wps_common.c:wpa_key_mgmt_sha384 Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_sha384 Unexecuted instantiation: eap_server.c:wpa_key_mgmt_sha384 Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_sha384 |
177 | | |
178 | | static inline int wpa_key_mgmt_suite_b(int akm) |
179 | 0 | { |
180 | 0 | return !!(akm & (WPA_KEY_MGMT_IEEE8021X_SUITE_B | |
181 | 0 | WPA_KEY_MGMT_IEEE8021X_SUITE_B_192)); |
182 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ap_config.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ap_list.c:wpa_key_mgmt_suite_b Unexecuted instantiation: beacon.c:wpa_key_mgmt_suite_b Unexecuted instantiation: dfs.c:wpa_key_mgmt_suite_b Unexecuted instantiation: hostapd.c:wpa_key_mgmt_suite_b Unexecuted instantiation: hs20.c:wpa_key_mgmt_suite_b Unexecuted instantiation: hw_features.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_suite_b Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_suite_b Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_suite_b Unexecuted instantiation: robust_av.c:wpa_key_mgmt_suite_b Unexecuted instantiation: rrm.c:wpa_key_mgmt_suite_b Unexecuted instantiation: sta_info.c:wpa_key_mgmt_suite_b Unexecuted instantiation: utils.c:wpa_key_mgmt_suite_b Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wmm.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_suite_b Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_suite_b Unexecuted instantiation: accounting.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_suite_b Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_suite_b Unexecuted instantiation: authsrv.c:wpa_key_mgmt_suite_b Unexecuted instantiation: bss_load.c:wpa_key_mgmt_suite_b Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_suite_b Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_suite_b Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_suite_b Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_suite_b Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_suite_b Unexecuted instantiation: interference.c:wpa_key_mgmt_suite_b Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_suite_b Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_suite_b Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_suite_b Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wps_common.c:wpa_key_mgmt_suite_b Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_suite_b Unexecuted instantiation: eap_server.c:wpa_key_mgmt_suite_b Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_suite_b |
183 | | |
184 | | static inline int wpa_key_mgmt_wpa(int akm) |
185 | 0 | { |
186 | 0 | return wpa_key_mgmt_wpa_ieee8021x(akm) || |
187 | 0 | wpa_key_mgmt_wpa_psk(akm) || |
188 | 0 | wpa_key_mgmt_fils(akm) || |
189 | 0 | wpa_key_mgmt_sae(akm) || |
190 | 0 | akm == WPA_KEY_MGMT_OWE || |
191 | 0 | akm == WPA_KEY_MGMT_DPP || |
192 | 0 | akm == WPA_KEY_MGMT_EPPKE; |
193 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_wpa Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_wpa Unexecuted instantiation: ap_config.c:wpa_key_mgmt_wpa Unexecuted instantiation: ap_list.c:wpa_key_mgmt_wpa Unexecuted instantiation: beacon.c:wpa_key_mgmt_wpa Unexecuted instantiation: dfs.c:wpa_key_mgmt_wpa Unexecuted instantiation: hostapd.c:wpa_key_mgmt_wpa Unexecuted instantiation: hs20.c:wpa_key_mgmt_wpa Unexecuted instantiation: hw_features.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_wpa Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_wpa Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_wpa Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_wpa Unexecuted instantiation: robust_av.c:wpa_key_mgmt_wpa Unexecuted instantiation: rrm.c:wpa_key_mgmt_wpa Unexecuted instantiation: sta_info.c:wpa_key_mgmt_wpa Unexecuted instantiation: utils.c:wpa_key_mgmt_wpa Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_wpa Unexecuted instantiation: wmm.c:wpa_key_mgmt_wpa Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_wpa Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_wpa Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_wpa Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_wpa Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_wpa Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_wpa Unexecuted instantiation: accounting.c:wpa_key_mgmt_wpa Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_wpa Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_wpa Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_wpa Unexecuted instantiation: authsrv.c:wpa_key_mgmt_wpa Unexecuted instantiation: bss_load.c:wpa_key_mgmt_wpa Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_wpa Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_wpa Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_wpa Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_wpa Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_wpa Unexecuted instantiation: interference.c:wpa_key_mgmt_wpa Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_wpa Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_wpa Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_wpa Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_wpa Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_wpa Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_wpa Unexecuted instantiation: wps_common.c:wpa_key_mgmt_wpa Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_wpa Unexecuted instantiation: eap_server.c:wpa_key_mgmt_wpa Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_wpa |
194 | | |
195 | | static inline int wpa_key_mgmt_wpa_any(int akm) |
196 | 0 | { |
197 | 0 | return wpa_key_mgmt_wpa(akm) || (akm & WPA_KEY_MGMT_WPA_NONE); |
198 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ap_config.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ap_list.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: beacon.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: dfs.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: hostapd.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: hs20.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: hw_features.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: robust_av.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: rrm.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: sta_info.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: utils.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wmm.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: accounting.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: authsrv.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: bss_load.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: interference.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wps_common.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: eap_server.c:wpa_key_mgmt_wpa_any Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_wpa_any |
199 | | |
200 | | static inline int wpa_key_mgmt_cckm(int akm) |
201 | 0 | { |
202 | 0 | return akm == WPA_KEY_MGMT_CCKM; |
203 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_cckm Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_cckm Unexecuted instantiation: ap_config.c:wpa_key_mgmt_cckm Unexecuted instantiation: ap_list.c:wpa_key_mgmt_cckm Unexecuted instantiation: beacon.c:wpa_key_mgmt_cckm Unexecuted instantiation: dfs.c:wpa_key_mgmt_cckm Unexecuted instantiation: hostapd.c:wpa_key_mgmt_cckm Unexecuted instantiation: hs20.c:wpa_key_mgmt_cckm Unexecuted instantiation: hw_features.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_cckm Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_cckm Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_cckm Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_cckm Unexecuted instantiation: robust_av.c:wpa_key_mgmt_cckm Unexecuted instantiation: rrm.c:wpa_key_mgmt_cckm Unexecuted instantiation: sta_info.c:wpa_key_mgmt_cckm Unexecuted instantiation: utils.c:wpa_key_mgmt_cckm Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_cckm Unexecuted instantiation: wmm.c:wpa_key_mgmt_cckm Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_cckm Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_cckm Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_cckm Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_cckm Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_cckm Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_cckm Unexecuted instantiation: accounting.c:wpa_key_mgmt_cckm Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_cckm Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_cckm Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_cckm Unexecuted instantiation: authsrv.c:wpa_key_mgmt_cckm Unexecuted instantiation: bss_load.c:wpa_key_mgmt_cckm Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_cckm Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_cckm Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_cckm Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_cckm Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_cckm Unexecuted instantiation: interference.c:wpa_key_mgmt_cckm Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_cckm Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_cckm Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_cckm Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_cckm Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_cckm Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_cckm Unexecuted instantiation: wps_common.c:wpa_key_mgmt_cckm Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_cckm Unexecuted instantiation: eap_server.c:wpa_key_mgmt_cckm Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_cckm |
204 | | |
205 | | static inline int wpa_key_mgmt_cross_akm(int akm) |
206 | 0 | { |
207 | 0 | return !!(akm & (WPA_KEY_MGMT_PSK | |
208 | 0 | WPA_KEY_MGMT_PSK_SHA256 | |
209 | 0 | WPA_KEY_MGMT_SAE | |
210 | 0 | WPA_KEY_MGMT_SAE_EXT_KEY)); |
211 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ap_config.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ap_list.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: beacon.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: dfs.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: hostapd.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: hs20.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: hw_features.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: robust_av.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: rrm.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: sta_info.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: utils.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wmm.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: accounting.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: authsrv.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: bss_load.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: interference.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wps_common.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: eap_server.c:wpa_key_mgmt_cross_akm Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_cross_akm |
212 | | |
213 | | static inline bool wpa_key_mgmt_eppke(int akm) |
214 | 0 | { |
215 | 0 | return !!(akm & WPA_KEY_MGMT_EPPKE); |
216 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_eppke Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_eppke Unexecuted instantiation: ap_config.c:wpa_key_mgmt_eppke Unexecuted instantiation: ap_list.c:wpa_key_mgmt_eppke Unexecuted instantiation: beacon.c:wpa_key_mgmt_eppke Unexecuted instantiation: dfs.c:wpa_key_mgmt_eppke Unexecuted instantiation: hostapd.c:wpa_key_mgmt_eppke Unexecuted instantiation: hs20.c:wpa_key_mgmt_eppke Unexecuted instantiation: hw_features.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_eppke Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_eppke Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_eppke Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_eppke Unexecuted instantiation: robust_av.c:wpa_key_mgmt_eppke Unexecuted instantiation: rrm.c:wpa_key_mgmt_eppke Unexecuted instantiation: sta_info.c:wpa_key_mgmt_eppke Unexecuted instantiation: utils.c:wpa_key_mgmt_eppke Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_eppke Unexecuted instantiation: wmm.c:wpa_key_mgmt_eppke Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_eppke Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_eppke Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_eppke Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_eppke Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_eppke Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_eppke Unexecuted instantiation: accounting.c:wpa_key_mgmt_eppke Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_eppke Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_eppke Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_eppke Unexecuted instantiation: authsrv.c:wpa_key_mgmt_eppke Unexecuted instantiation: bss_load.c:wpa_key_mgmt_eppke Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_eppke Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_eppke Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_eppke Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_eppke Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_eppke Unexecuted instantiation: interference.c:wpa_key_mgmt_eppke Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_eppke Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_eppke Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_eppke Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_eppke Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_eppke Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_eppke Unexecuted instantiation: wps_common.c:wpa_key_mgmt_eppke Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_eppke Unexecuted instantiation: eap_server.c:wpa_key_mgmt_eppke Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_eppke |
217 | | |
218 | | static inline int wpa_key_mgmt_enhanced_open(int akm) |
219 | 0 | { |
220 | 0 | return !!(akm & (WPA_KEY_MGMT_OWE | |
221 | 0 | WPA_KEY_MGMT_EPPKE)); |
222 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ap_config.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ap_list.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: beacon.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: dfs.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: hostapd.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: hs20.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: hw_features.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: robust_av.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: rrm.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: sta_info.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: utils.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wmm.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: accounting.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: authsrv.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: bss_load.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: interference.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wps_common.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: eap_server.c:wpa_key_mgmt_enhanced_open Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_enhanced_open |
223 | | |
224 | | static inline int wpa_key_mgmt_only_enhanced_open(int akm) |
225 | 0 | { |
226 | 0 | return wpa_key_mgmt_enhanced_open(akm) && |
227 | 0 | !(akm & ~(WPA_KEY_MGMT_OWE | |
228 | 0 | WPA_KEY_MGMT_EPPKE)); |
229 | 0 | } Unexecuted instantiation: driver_common.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ap-mgmt.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ap_config.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ap_list.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: beacon.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: dfs.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: hostapd.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: hs20.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: hw_features.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_auth.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_eht.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_he.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_ht.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_shared.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_uhr.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_vht.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_1x.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: neighbor_db.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ndisc_snoop.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: pmksa_cache_auth.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: robust_av.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: rrm.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: sta_info.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: utils.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: vlan_init.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wmm.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wpa_auth.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wpa_auth_ft.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wpa_auth_glue.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wpa_auth_ie.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wps_hostapd.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: x_snoop.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: accounting.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ap_drv_ops.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ap_mlme.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: airtime_policy.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: authsrv.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: bss_load.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: dhcp_snoop.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: drv_callbacks.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: eap_user_db.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: eth_p_oui.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: gas_serv.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: interference.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: tkip_countermeasures.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: eapol_auth_sm.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: hw_features_common.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ieee802_11_common.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: ptksa_cache.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wpa_common.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wps_common.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: wps_registrar.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: eap_server.c:wpa_key_mgmt_only_enhanced_open Unexecuted instantiation: eap_server_methods.c:wpa_key_mgmt_only_enhanced_open |
230 | | |
231 | 0 | #define WPA_PROTO_WPA BIT(0) |
232 | 0 | #define WPA_PROTO_RSN BIT(1) |
233 | | #define WPA_PROTO_WAPI BIT(2) |
234 | | |
235 | 4.77k | #define WPA_AUTH_ALG_OPEN BIT(0) |
236 | 0 | #define WPA_AUTH_ALG_SHARED BIT(1) |
237 | | #define WPA_AUTH_ALG_LEAP BIT(2) |
238 | | #define WPA_AUTH_ALG_FT BIT(3) |
239 | | #define WPA_AUTH_ALG_SAE BIT(4) |
240 | | #define WPA_AUTH_ALG_FILS BIT(5) |
241 | | #define WPA_AUTH_ALG_FILS_SK_PFS BIT(6) |
242 | | #define WPA_AUTH_ALG_EPPKE BIT(7) |
243 | | #define WPA_AUTH_ALG_802_1X BIT(8) |
244 | | |
245 | | static inline int wpa_auth_alg_fils(int alg) |
246 | 0 | { |
247 | 0 | return !!(alg & (WPA_AUTH_ALG_FILS | WPA_AUTH_ALG_FILS_SK_PFS)); |
248 | 0 | } Unexecuted instantiation: driver_common.c:wpa_auth_alg_fils Unexecuted instantiation: ap-mgmt.c:wpa_auth_alg_fils Unexecuted instantiation: ap_config.c:wpa_auth_alg_fils Unexecuted instantiation: ap_list.c:wpa_auth_alg_fils Unexecuted instantiation: beacon.c:wpa_auth_alg_fils Unexecuted instantiation: dfs.c:wpa_auth_alg_fils Unexecuted instantiation: hostapd.c:wpa_auth_alg_fils Unexecuted instantiation: hs20.c:wpa_auth_alg_fils Unexecuted instantiation: hw_features.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_auth.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_eht.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_he.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_ht.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_shared.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_uhr.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_vht.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_1x.c:wpa_auth_alg_fils Unexecuted instantiation: neighbor_db.c:wpa_auth_alg_fils Unexecuted instantiation: ndisc_snoop.c:wpa_auth_alg_fils Unexecuted instantiation: pmksa_cache_auth.c:wpa_auth_alg_fils Unexecuted instantiation: robust_av.c:wpa_auth_alg_fils Unexecuted instantiation: rrm.c:wpa_auth_alg_fils Unexecuted instantiation: sta_info.c:wpa_auth_alg_fils Unexecuted instantiation: utils.c:wpa_auth_alg_fils Unexecuted instantiation: vlan_init.c:wpa_auth_alg_fils Unexecuted instantiation: wmm.c:wpa_auth_alg_fils Unexecuted instantiation: wpa_auth.c:wpa_auth_alg_fils Unexecuted instantiation: wpa_auth_ft.c:wpa_auth_alg_fils Unexecuted instantiation: wpa_auth_glue.c:wpa_auth_alg_fils Unexecuted instantiation: wpa_auth_ie.c:wpa_auth_alg_fils Unexecuted instantiation: wps_hostapd.c:wpa_auth_alg_fils Unexecuted instantiation: x_snoop.c:wpa_auth_alg_fils Unexecuted instantiation: accounting.c:wpa_auth_alg_fils Unexecuted instantiation: ap_drv_ops.c:wpa_auth_alg_fils Unexecuted instantiation: ap_mlme.c:wpa_auth_alg_fils Unexecuted instantiation: airtime_policy.c:wpa_auth_alg_fils Unexecuted instantiation: authsrv.c:wpa_auth_alg_fils Unexecuted instantiation: bss_load.c:wpa_auth_alg_fils Unexecuted instantiation: dhcp_snoop.c:wpa_auth_alg_fils Unexecuted instantiation: drv_callbacks.c:wpa_auth_alg_fils Unexecuted instantiation: eap_user_db.c:wpa_auth_alg_fils Unexecuted instantiation: eth_p_oui.c:wpa_auth_alg_fils Unexecuted instantiation: gas_serv.c:wpa_auth_alg_fils Unexecuted instantiation: interference.c:wpa_auth_alg_fils Unexecuted instantiation: tkip_countermeasures.c:wpa_auth_alg_fils Unexecuted instantiation: eapol_auth_sm.c:wpa_auth_alg_fils Unexecuted instantiation: hw_features_common.c:wpa_auth_alg_fils Unexecuted instantiation: ieee802_11_common.c:wpa_auth_alg_fils Unexecuted instantiation: ptksa_cache.c:wpa_auth_alg_fils Unexecuted instantiation: wpa_common.c:wpa_auth_alg_fils Unexecuted instantiation: wps_common.c:wpa_auth_alg_fils Unexecuted instantiation: wps_registrar.c:wpa_auth_alg_fils Unexecuted instantiation: eap_server.c:wpa_auth_alg_fils Unexecuted instantiation: eap_server_methods.c:wpa_auth_alg_fils |
249 | | |
250 | | static inline bool wpa_auth_alg_eppke(int alg) |
251 | 0 | { |
252 | 0 | return !!(alg & WPA_AUTH_ALG_EPPKE); |
253 | 0 | } Unexecuted instantiation: driver_common.c:wpa_auth_alg_eppke Unexecuted instantiation: ap-mgmt.c:wpa_auth_alg_eppke Unexecuted instantiation: ap_config.c:wpa_auth_alg_eppke Unexecuted instantiation: ap_list.c:wpa_auth_alg_eppke Unexecuted instantiation: beacon.c:wpa_auth_alg_eppke Unexecuted instantiation: dfs.c:wpa_auth_alg_eppke Unexecuted instantiation: hostapd.c:wpa_auth_alg_eppke Unexecuted instantiation: hs20.c:wpa_auth_alg_eppke Unexecuted instantiation: hw_features.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_auth.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_eht.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_he.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_ht.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_shared.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_uhr.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_vht.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_1x.c:wpa_auth_alg_eppke Unexecuted instantiation: neighbor_db.c:wpa_auth_alg_eppke Unexecuted instantiation: ndisc_snoop.c:wpa_auth_alg_eppke Unexecuted instantiation: pmksa_cache_auth.c:wpa_auth_alg_eppke Unexecuted instantiation: robust_av.c:wpa_auth_alg_eppke Unexecuted instantiation: rrm.c:wpa_auth_alg_eppke Unexecuted instantiation: sta_info.c:wpa_auth_alg_eppke Unexecuted instantiation: utils.c:wpa_auth_alg_eppke Unexecuted instantiation: vlan_init.c:wpa_auth_alg_eppke Unexecuted instantiation: wmm.c:wpa_auth_alg_eppke Unexecuted instantiation: wpa_auth.c:wpa_auth_alg_eppke Unexecuted instantiation: wpa_auth_ft.c:wpa_auth_alg_eppke Unexecuted instantiation: wpa_auth_glue.c:wpa_auth_alg_eppke Unexecuted instantiation: wpa_auth_ie.c:wpa_auth_alg_eppke Unexecuted instantiation: wps_hostapd.c:wpa_auth_alg_eppke Unexecuted instantiation: x_snoop.c:wpa_auth_alg_eppke Unexecuted instantiation: accounting.c:wpa_auth_alg_eppke Unexecuted instantiation: ap_drv_ops.c:wpa_auth_alg_eppke Unexecuted instantiation: ap_mlme.c:wpa_auth_alg_eppke Unexecuted instantiation: airtime_policy.c:wpa_auth_alg_eppke Unexecuted instantiation: authsrv.c:wpa_auth_alg_eppke Unexecuted instantiation: bss_load.c:wpa_auth_alg_eppke Unexecuted instantiation: dhcp_snoop.c:wpa_auth_alg_eppke Unexecuted instantiation: drv_callbacks.c:wpa_auth_alg_eppke Unexecuted instantiation: eap_user_db.c:wpa_auth_alg_eppke Unexecuted instantiation: eth_p_oui.c:wpa_auth_alg_eppke Unexecuted instantiation: gas_serv.c:wpa_auth_alg_eppke Unexecuted instantiation: interference.c:wpa_auth_alg_eppke Unexecuted instantiation: tkip_countermeasures.c:wpa_auth_alg_eppke Unexecuted instantiation: eapol_auth_sm.c:wpa_auth_alg_eppke Unexecuted instantiation: hw_features_common.c:wpa_auth_alg_eppke Unexecuted instantiation: ieee802_11_common.c:wpa_auth_alg_eppke Unexecuted instantiation: ptksa_cache.c:wpa_auth_alg_eppke Unexecuted instantiation: wpa_common.c:wpa_auth_alg_eppke Unexecuted instantiation: wps_common.c:wpa_auth_alg_eppke Unexecuted instantiation: wps_registrar.c:wpa_auth_alg_eppke Unexecuted instantiation: eap_server.c:wpa_auth_alg_eppke Unexecuted instantiation: eap_server_methods.c:wpa_auth_alg_eppke |
254 | | |
255 | | enum wpa_alg { |
256 | | WPA_ALG_NONE, |
257 | | WPA_ALG_WEP, |
258 | | WPA_ALG_TKIP, |
259 | | WPA_ALG_CCMP, |
260 | | WPA_ALG_BIP_CMAC_128, |
261 | | WPA_ALG_GCMP, |
262 | | WPA_ALG_SMS4, |
263 | | WPA_ALG_KRK, |
264 | | WPA_ALG_GCMP_256, |
265 | | WPA_ALG_CCMP_256, |
266 | | WPA_ALG_BIP_GMAC_128, |
267 | | WPA_ALG_BIP_GMAC_256, |
268 | | WPA_ALG_BIP_CMAC_256 |
269 | | }; |
270 | | |
271 | | static inline int wpa_alg_bip(enum wpa_alg alg) |
272 | 0 | { |
273 | 0 | return alg == WPA_ALG_BIP_CMAC_128 || |
274 | 0 | alg == WPA_ALG_BIP_GMAC_128 || |
275 | 0 | alg == WPA_ALG_BIP_GMAC_256 || |
276 | 0 | alg == WPA_ALG_BIP_CMAC_256; |
277 | 0 | } Unexecuted instantiation: driver_common.c:wpa_alg_bip Unexecuted instantiation: ap-mgmt.c:wpa_alg_bip Unexecuted instantiation: ap_config.c:wpa_alg_bip Unexecuted instantiation: ap_list.c:wpa_alg_bip Unexecuted instantiation: beacon.c:wpa_alg_bip Unexecuted instantiation: dfs.c:wpa_alg_bip Unexecuted instantiation: hostapd.c:wpa_alg_bip Unexecuted instantiation: hs20.c:wpa_alg_bip Unexecuted instantiation: hw_features.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_auth.c:wpa_alg_bip Unexecuted instantiation: ieee802_11.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_eht.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_he.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_ht.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_shared.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_uhr.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_vht.c:wpa_alg_bip Unexecuted instantiation: ieee802_1x.c:wpa_alg_bip Unexecuted instantiation: neighbor_db.c:wpa_alg_bip Unexecuted instantiation: ndisc_snoop.c:wpa_alg_bip Unexecuted instantiation: pmksa_cache_auth.c:wpa_alg_bip Unexecuted instantiation: robust_av.c:wpa_alg_bip Unexecuted instantiation: rrm.c:wpa_alg_bip Unexecuted instantiation: sta_info.c:wpa_alg_bip Unexecuted instantiation: utils.c:wpa_alg_bip Unexecuted instantiation: vlan_init.c:wpa_alg_bip Unexecuted instantiation: wmm.c:wpa_alg_bip Unexecuted instantiation: wpa_auth.c:wpa_alg_bip Unexecuted instantiation: wpa_auth_ft.c:wpa_alg_bip Unexecuted instantiation: wpa_auth_glue.c:wpa_alg_bip Unexecuted instantiation: wpa_auth_ie.c:wpa_alg_bip Unexecuted instantiation: wps_hostapd.c:wpa_alg_bip Unexecuted instantiation: x_snoop.c:wpa_alg_bip Unexecuted instantiation: accounting.c:wpa_alg_bip Unexecuted instantiation: ap_drv_ops.c:wpa_alg_bip Unexecuted instantiation: ap_mlme.c:wpa_alg_bip Unexecuted instantiation: airtime_policy.c:wpa_alg_bip Unexecuted instantiation: authsrv.c:wpa_alg_bip Unexecuted instantiation: bss_load.c:wpa_alg_bip Unexecuted instantiation: dhcp_snoop.c:wpa_alg_bip Unexecuted instantiation: drv_callbacks.c:wpa_alg_bip Unexecuted instantiation: eap_user_db.c:wpa_alg_bip Unexecuted instantiation: eth_p_oui.c:wpa_alg_bip Unexecuted instantiation: gas_serv.c:wpa_alg_bip Unexecuted instantiation: interference.c:wpa_alg_bip Unexecuted instantiation: tkip_countermeasures.c:wpa_alg_bip Unexecuted instantiation: eapol_auth_sm.c:wpa_alg_bip Unexecuted instantiation: hw_features_common.c:wpa_alg_bip Unexecuted instantiation: ieee802_11_common.c:wpa_alg_bip Unexecuted instantiation: ptksa_cache.c:wpa_alg_bip Unexecuted instantiation: wpa_common.c:wpa_alg_bip Unexecuted instantiation: wps_common.c:wpa_alg_bip Unexecuted instantiation: wps_registrar.c:wpa_alg_bip Unexecuted instantiation: eap_server.c:wpa_alg_bip Unexecuted instantiation: eap_server_methods.c:wpa_alg_bip |
278 | | |
279 | | /** |
280 | | * enum wpa_states - wpa_supplicant state |
281 | | * |
282 | | * These enumeration values are used to indicate the current wpa_supplicant |
283 | | * state (wpa_s->wpa_state). The current state can be retrieved with |
284 | | * wpa_supplicant_get_state() function and the state can be changed by calling |
285 | | * wpa_supplicant_set_state(). In WPA state machine (wpa.c and preauth.c), the |
286 | | * wrapper functions wpa_sm_get_state() and wpa_sm_set_state() should be used |
287 | | * to access the state variable. |
288 | | */ |
289 | | enum wpa_states { |
290 | | /** |
291 | | * WPA_DISCONNECTED - Disconnected state |
292 | | * |
293 | | * This state indicates that client is not associated, but is likely to |
294 | | * start looking for an access point. This state is entered when a |
295 | | * connection is lost. |
296 | | */ |
297 | | WPA_DISCONNECTED, |
298 | | |
299 | | /** |
300 | | * WPA_INTERFACE_DISABLED - Interface disabled |
301 | | * |
302 | | * This state is entered if the network interface is disabled, e.g., |
303 | | * due to rfkill. wpa_supplicant refuses any new operations that would |
304 | | * use the radio until the interface has been enabled. |
305 | | */ |
306 | | WPA_INTERFACE_DISABLED, |
307 | | |
308 | | /** |
309 | | * WPA_INACTIVE - Inactive state (wpa_supplicant disabled) |
310 | | * |
311 | | * This state is entered if there are no enabled networks in the |
312 | | * configuration. wpa_supplicant is not trying to associate with a new |
313 | | * network and external interaction (e.g., ctrl_iface call to add or |
314 | | * enable a network) is needed to start association. |
315 | | */ |
316 | | WPA_INACTIVE, |
317 | | |
318 | | /** |
319 | | * WPA_SCANNING - Scanning for a network |
320 | | * |
321 | | * This state is entered when wpa_supplicant starts scanning for a |
322 | | * network. |
323 | | */ |
324 | | WPA_SCANNING, |
325 | | |
326 | | /** |
327 | | * WPA_AUTHENTICATING - Trying to authenticate with a BSS/SSID |
328 | | * |
329 | | * This state is entered when wpa_supplicant has found a suitable BSS |
330 | | * to authenticate with and the driver is configured to try to |
331 | | * authenticate with this BSS. This state is used only with drivers |
332 | | * that use wpa_supplicant as the SME. |
333 | | */ |
334 | | WPA_AUTHENTICATING, |
335 | | |
336 | | /** |
337 | | * WPA_ASSOCIATING - Trying to associate with a BSS/SSID |
338 | | * |
339 | | * This state is entered when wpa_supplicant has found a suitable BSS |
340 | | * to associate with and the driver is configured to try to associate |
341 | | * with this BSS in ap_scan=1 mode. When using ap_scan=2 mode, this |
342 | | * state is entered when the driver is configured to try to associate |
343 | | * with a network using the configured SSID and security policy. |
344 | | */ |
345 | | WPA_ASSOCIATING, |
346 | | |
347 | | /** |
348 | | * WPA_ASSOCIATED - Association completed |
349 | | * |
350 | | * This state is entered when the driver reports that association has |
351 | | * been successfully completed with an AP. If IEEE 802.1X is used |
352 | | * (with or without WPA/WPA2), wpa_supplicant remains in this state |
353 | | * until the IEEE 802.1X/EAPOL authentication has been completed. |
354 | | */ |
355 | | WPA_ASSOCIATED, |
356 | | |
357 | | /** |
358 | | * WPA_4WAY_HANDSHAKE - WPA 4-Way Key Handshake in progress |
359 | | * |
360 | | * This state is entered when WPA/WPA2 4-Way Handshake is started. In |
361 | | * case of WPA-PSK, this happens when receiving the first EAPOL-Key |
362 | | * frame after association. In case of WPA-EAP, this state is entered |
363 | | * when the IEEE 802.1X/EAPOL authentication has been completed. |
364 | | */ |
365 | | WPA_4WAY_HANDSHAKE, |
366 | | |
367 | | /** |
368 | | * WPA_GROUP_HANDSHAKE - WPA Group Key Handshake in progress |
369 | | * |
370 | | * This state is entered when 4-Way Key Handshake has been completed |
371 | | * (i.e., when the supplicant sends out message 4/4) and when Group |
372 | | * Key rekeying is started by the AP (i.e., when supplicant receives |
373 | | * message 1/2). |
374 | | */ |
375 | | WPA_GROUP_HANDSHAKE, |
376 | | |
377 | | /** |
378 | | * WPA_COMPLETED - All authentication completed |
379 | | * |
380 | | * This state is entered when the full authentication process is |
381 | | * completed. In case of WPA2, this happens when the 4-Way Handshake is |
382 | | * successfully completed. With WPA, this state is entered after the |
383 | | * Group Key Handshake; with IEEE 802.1X (non-WPA) connection is |
384 | | * completed after dynamic keys are received (or if not used, after |
385 | | * the EAP authentication has been completed). With static WEP keys and |
386 | | * plaintext connections, this state is entered when an association |
387 | | * has been completed. |
388 | | * |
389 | | * This state indicates that the supplicant has completed its |
390 | | * processing for the association phase and that data connection is |
391 | | * fully configured. |
392 | | */ |
393 | | WPA_COMPLETED |
394 | | }; |
395 | | |
396 | | #define MLME_SETPROTECTION_PROTECT_TYPE_NONE 0 |
397 | | #define MLME_SETPROTECTION_PROTECT_TYPE_RX 1 |
398 | | #define MLME_SETPROTECTION_PROTECT_TYPE_TX 2 |
399 | | #define MLME_SETPROTECTION_PROTECT_TYPE_RX_TX 3 |
400 | | |
401 | | #define MLME_SETPROTECTION_KEY_TYPE_GROUP 0 |
402 | | #define MLME_SETPROTECTION_KEY_TYPE_PAIRWISE 1 |
403 | | |
404 | | |
405 | | /** |
406 | | * enum mfp_options - Management frame protection (IEEE 802.11w) options |
407 | | */ |
408 | | enum mfp_options { |
409 | | NO_MGMT_FRAME_PROTECTION = 0, |
410 | | MGMT_FRAME_PROTECTION_OPTIONAL = 1, |
411 | | MGMT_FRAME_PROTECTION_REQUIRED = 2, |
412 | | }; |
413 | | #define MGMT_FRAME_PROTECTION_DEFAULT 3 |
414 | | |
415 | | /** |
416 | | * enum hostapd_hw_mode - Hardware mode |
417 | | */ |
418 | | enum hostapd_hw_mode { |
419 | | HOSTAPD_MODE_IEEE80211B, |
420 | | HOSTAPD_MODE_IEEE80211G, |
421 | | HOSTAPD_MODE_IEEE80211A, |
422 | | HOSTAPD_MODE_IEEE80211AD, |
423 | | HOSTAPD_MODE_IEEE80211ANY, |
424 | | NUM_HOSTAPD_MODES |
425 | | }; |
426 | | |
427 | | /** |
428 | | * enum wpa_ctrl_req_type - Control interface request types |
429 | | */ |
430 | | enum wpa_ctrl_req_type { |
431 | | WPA_CTRL_REQ_UNKNOWN, |
432 | | WPA_CTRL_REQ_EAP_IDENTITY, |
433 | | WPA_CTRL_REQ_EAP_PASSWORD, |
434 | | WPA_CTRL_REQ_EAP_NEW_PASSWORD, |
435 | | WPA_CTRL_REQ_EAP_PIN, |
436 | | WPA_CTRL_REQ_EAP_OTP, |
437 | | WPA_CTRL_REQ_EAP_PASSPHRASE, |
438 | | WPA_CTRL_REQ_SIM, |
439 | | WPA_CTRL_REQ_PSK_PASSPHRASE, |
440 | | WPA_CTRL_REQ_EXT_CERT_CHECK, |
441 | | NUM_WPA_CTRL_REQS |
442 | | }; |
443 | | |
444 | | /* Maximum number of EAP methods to store for EAP server user information */ |
445 | 0 | #define EAP_MAX_METHODS 8 |
446 | | |
447 | | enum mesh_plink_state { |
448 | | PLINK_IDLE = 1, |
449 | | PLINK_OPN_SNT, |
450 | | PLINK_OPN_RCVD, |
451 | | PLINK_CNF_RCVD, |
452 | | PLINK_ESTAB, |
453 | | PLINK_HOLDING, |
454 | | PLINK_BLOCKED, /* not defined in the IEEE 802.11 standard */ |
455 | | }; |
456 | | |
457 | | enum set_band { |
458 | | WPA_SETBAND_AUTO = 0, |
459 | | WPA_SETBAND_5G = BIT(0), |
460 | | WPA_SETBAND_2G = BIT(1), |
461 | | WPA_SETBAND_6G = BIT(2), |
462 | | }; |
463 | | |
464 | | enum wpa_radio_work_band { |
465 | | BAND_2_4_GHZ = BIT(0), |
466 | | BAND_5_GHZ = BIT(1), |
467 | | BAND_60_GHZ = BIT(2), |
468 | | }; |
469 | | |
470 | | enum beacon_rate_type { |
471 | | BEACON_RATE_LEGACY, |
472 | | BEACON_RATE_HT, |
473 | | BEACON_RATE_VHT, |
474 | | BEACON_RATE_HE |
475 | | }; |
476 | | |
477 | | enum eap_proxy_sim_state { |
478 | | SIM_STATE_ERROR, |
479 | | }; |
480 | | |
481 | | #define OCE_STA BIT(0) |
482 | | #define OCE_STA_CFON BIT(1) |
483 | | #define OCE_AP BIT(2) |
484 | | |
485 | | /* enum chan_width - Channel width definitions */ |
486 | | enum chan_width { |
487 | | CHAN_WIDTH_20_NOHT, |
488 | | CHAN_WIDTH_20, |
489 | | CHAN_WIDTH_40, |
490 | | CHAN_WIDTH_80, |
491 | | CHAN_WIDTH_80P80, |
492 | | CHAN_WIDTH_160, |
493 | | CHAN_WIDTH_2160, |
494 | | CHAN_WIDTH_4320, |
495 | | CHAN_WIDTH_6480, |
496 | | CHAN_WIDTH_8640, |
497 | | CHAN_WIDTH_320, |
498 | | CHAN_WIDTH_UNKNOWN |
499 | | }; |
500 | | |
501 | | /* VHT/EDMG/etc. channel widths |
502 | | * Note: The first four values are used in hostapd.conf and as such, must |
503 | | * maintain their defined values. Other values are used internally. */ |
504 | | enum oper_chan_width { |
505 | | CONF_OPER_CHWIDTH_USE_HT = 0, |
506 | | CONF_OPER_CHWIDTH_80MHZ = 1, |
507 | | CONF_OPER_CHWIDTH_160MHZ = 2, |
508 | | CONF_OPER_CHWIDTH_80P80MHZ = 3, |
509 | | CONF_OPER_CHWIDTH_2160MHZ, |
510 | | CONF_OPER_CHWIDTH_4320MHZ, |
511 | | CONF_OPER_CHWIDTH_6480MHZ, |
512 | | CONF_OPER_CHWIDTH_8640MHZ, |
513 | | CONF_OPER_CHWIDTH_40MHZ_6GHZ, |
514 | | CONF_OPER_CHWIDTH_320MHZ, |
515 | | }; |
516 | | |
517 | | enum key_flag { |
518 | | KEY_FLAG_MODIFY = BIT(0), |
519 | | KEY_FLAG_DEFAULT = BIT(1), |
520 | | KEY_FLAG_RX = BIT(2), |
521 | | KEY_FLAG_TX = BIT(3), |
522 | | KEY_FLAG_GROUP = BIT(4), |
523 | | KEY_FLAG_PAIRWISE = BIT(5), |
524 | | KEY_FLAG_PMK = BIT(6), |
525 | | KEY_FLAG_NEXT = BIT(7), |
526 | | /* Used flag combinations */ |
527 | | KEY_FLAG_RX_TX = KEY_FLAG_RX | KEY_FLAG_TX, |
528 | | KEY_FLAG_GROUP_RX_TX = KEY_FLAG_GROUP | KEY_FLAG_RX_TX, |
529 | | KEY_FLAG_GROUP_RX_TX_DEFAULT = KEY_FLAG_GROUP_RX_TX | |
530 | | KEY_FLAG_DEFAULT, |
531 | | KEY_FLAG_GROUP_RX = KEY_FLAG_GROUP | KEY_FLAG_RX, |
532 | | KEY_FLAG_GROUP_TX_DEFAULT = KEY_FLAG_GROUP | KEY_FLAG_TX | |
533 | | KEY_FLAG_DEFAULT, |
534 | | KEY_FLAG_PAIRWISE_RX_TX = KEY_FLAG_PAIRWISE | KEY_FLAG_RX_TX, |
535 | | KEY_FLAG_PAIRWISE_RX = KEY_FLAG_PAIRWISE | KEY_FLAG_RX, |
536 | | KEY_FLAG_PAIRWISE_RX_TX_MODIFY = KEY_FLAG_PAIRWISE_RX_TX | |
537 | | KEY_FLAG_MODIFY, |
538 | | KEY_FLAG_PAIRWISE_NEXT = KEY_FLAG_PAIRWISE_RX | KEY_FLAG_NEXT, |
539 | | /* Max allowed flags for each key type */ |
540 | | KEY_FLAG_PAIRWISE_MASK = KEY_FLAG_PAIRWISE_RX_TX_MODIFY | |
541 | | KEY_FLAG_NEXT, |
542 | | KEY_FLAG_GROUP_MASK = KEY_FLAG_GROUP_RX_TX_DEFAULT, |
543 | | KEY_FLAG_PMK_MASK = KEY_FLAG_PMK, |
544 | | }; |
545 | | |
546 | | static inline int check_key_flag(enum key_flag key_flag) |
547 | 0 | { |
548 | 0 | return !!(!key_flag || |
549 | 0 | ((key_flag & (KEY_FLAG_PAIRWISE | KEY_FLAG_MODIFY)) && |
550 | 0 | (key_flag & ~KEY_FLAG_PAIRWISE_MASK)) || |
551 | 0 | ((key_flag & KEY_FLAG_GROUP) && |
552 | 0 | (key_flag & ~KEY_FLAG_GROUP_MASK)) || |
553 | 0 | ((key_flag & KEY_FLAG_PMK) && |
554 | 0 | (key_flag & ~KEY_FLAG_PMK_MASK))); |
555 | 0 | } Unexecuted instantiation: driver_common.c:check_key_flag Unexecuted instantiation: ap-mgmt.c:check_key_flag Unexecuted instantiation: ap_config.c:check_key_flag Unexecuted instantiation: ap_list.c:check_key_flag Unexecuted instantiation: beacon.c:check_key_flag Unexecuted instantiation: dfs.c:check_key_flag Unexecuted instantiation: hostapd.c:check_key_flag Unexecuted instantiation: hs20.c:check_key_flag Unexecuted instantiation: hw_features.c:check_key_flag Unexecuted instantiation: ieee802_11_auth.c:check_key_flag Unexecuted instantiation: ieee802_11.c:check_key_flag Unexecuted instantiation: ieee802_11_eht.c:check_key_flag Unexecuted instantiation: ieee802_11_he.c:check_key_flag Unexecuted instantiation: ieee802_11_ht.c:check_key_flag Unexecuted instantiation: ieee802_11_shared.c:check_key_flag Unexecuted instantiation: ieee802_11_uhr.c:check_key_flag Unexecuted instantiation: ieee802_11_vht.c:check_key_flag Unexecuted instantiation: ieee802_1x.c:check_key_flag Unexecuted instantiation: neighbor_db.c:check_key_flag Unexecuted instantiation: ndisc_snoop.c:check_key_flag Unexecuted instantiation: pmksa_cache_auth.c:check_key_flag Unexecuted instantiation: robust_av.c:check_key_flag Unexecuted instantiation: rrm.c:check_key_flag Unexecuted instantiation: sta_info.c:check_key_flag Unexecuted instantiation: utils.c:check_key_flag Unexecuted instantiation: vlan_init.c:check_key_flag Unexecuted instantiation: wmm.c:check_key_flag Unexecuted instantiation: wpa_auth.c:check_key_flag Unexecuted instantiation: wpa_auth_ft.c:check_key_flag Unexecuted instantiation: wpa_auth_glue.c:check_key_flag Unexecuted instantiation: wpa_auth_ie.c:check_key_flag Unexecuted instantiation: wps_hostapd.c:check_key_flag Unexecuted instantiation: x_snoop.c:check_key_flag Unexecuted instantiation: accounting.c:check_key_flag Unexecuted instantiation: ap_drv_ops.c:check_key_flag Unexecuted instantiation: ap_mlme.c:check_key_flag Unexecuted instantiation: airtime_policy.c:check_key_flag Unexecuted instantiation: authsrv.c:check_key_flag Unexecuted instantiation: bss_load.c:check_key_flag Unexecuted instantiation: dhcp_snoop.c:check_key_flag Unexecuted instantiation: drv_callbacks.c:check_key_flag Unexecuted instantiation: eap_user_db.c:check_key_flag Unexecuted instantiation: eth_p_oui.c:check_key_flag Unexecuted instantiation: gas_serv.c:check_key_flag Unexecuted instantiation: interference.c:check_key_flag Unexecuted instantiation: tkip_countermeasures.c:check_key_flag Unexecuted instantiation: eapol_auth_sm.c:check_key_flag Unexecuted instantiation: hw_features_common.c:check_key_flag Unexecuted instantiation: ieee802_11_common.c:check_key_flag Unexecuted instantiation: ptksa_cache.c:check_key_flag Unexecuted instantiation: wpa_common.c:check_key_flag Unexecuted instantiation: wps_common.c:check_key_flag Unexecuted instantiation: wps_registrar.c:check_key_flag Unexecuted instantiation: eap_server.c:check_key_flag Unexecuted instantiation: eap_server_methods.c:check_key_flag |
556 | | |
557 | | enum ptk0_rekey_handling { |
558 | | PTK0_REKEY_ALLOW_ALWAYS, |
559 | | PTK0_REKEY_ALLOW_LOCAL_OK, |
560 | | PTK0_REKEY_ALLOW_NEVER |
561 | | }; |
562 | | |
563 | | enum frame_encryption { |
564 | | FRAME_ENCRYPTION_UNKNOWN = -1, |
565 | | FRAME_NOT_ENCRYPTED = 0, |
566 | | FRAME_ENCRYPTED = 1 |
567 | | }; |
568 | | |
569 | 38.1k | #define MAX_NUM_MLD_LINKS 15 |
570 | | |
571 | | enum sae_pwe { |
572 | | SAE_PWE_HUNT_AND_PECK = 0, |
573 | | SAE_PWE_HASH_TO_ELEMENT = 1, |
574 | | SAE_PWE_BOTH = 2, |
575 | | SAE_PWE_FORCE_HUNT_AND_PECK = 3, |
576 | | SAE_PWE_NOT_SET = 4, |
577 | | }; |
578 | | |
579 | | enum wpa_p2p_mode { |
580 | | WPA_P2P_MODE_WFD_R1 = 0, |
581 | | WPA_P2P_MODE_WFD_R2 = 1, |
582 | | WPA_P2P_MODE_WFD_PCC = 2, |
583 | | }; |
584 | | |
585 | 0 | #define USEC_80211_TU 1024 |
586 | | |
587 | 0 | #define USEC_TO_TU(m) ((m) / USEC_80211_TU) |
588 | | #define TU_TO_USEC(m) ((m) * USEC_80211_TU) |
589 | | |
590 | | #endif /* DEFS_H */ |