/freebsd/usr.sbin/wpa/hostapd/ |
H A D | Makefile.depend | 14 usr.sbin/wpa/src/ap \ 15 usr.sbin/wpa/src/common \ 16 usr.sbin/wpa/src/crypto \ 17 usr.sbin/wpa/src/drivers \ 18 usr.sbin/wpa/src/eap_common \ 19 usr.sbin/wpa/src/eap_server \ 20 usr.sbin/wpa/src/eapol_auth \ 21 usr.sbin/wpa/src/l2_packet \ 22 usr.sbin/wpa/src/radius \ 23 usr.sbin/wpa/src/tls \ [all …]
|
/freebsd/usr.sbin/wpa/wpa_cli/ |
H A D | Makefile.depend | 14 usr.sbin/wpa/src/common \ 15 usr.sbin/wpa/src/crypto \ 16 usr.sbin/wpa/src/eap_common \ 17 usr.sbin/wpa/src/eap_peer \ 18 usr.sbin/wpa/src/eap_server \ 19 usr.sbin/wpa/src/eapol_auth \ 20 usr.sbin/wpa/src/eapol_supp \ 21 usr.sbin/wpa/src/l2_packet \ 22 usr.sbin/wpa/src/radius \ 23 usr.sbin/wpa/src/rsn_supp \ [all …]
|
/freebsd/usr.sbin/wpa/wpa_supplicant/ |
H A D | Makefile.depend | 14 usr.sbin/wpa/src/common \ 15 usr.sbin/wpa/src/crypto \ 16 usr.sbin/wpa/src/drivers \ 17 usr.sbin/wpa/src/eap_common \ 18 usr.sbin/wpa/src/eap_peer \ 19 usr.sbin/wpa/src/eap_server \ 20 usr.sbin/wpa/src/eapol_supp \ 21 usr.sbin/wpa/src/l2_packet \ 22 usr.sbin/wpa/src/rsn_supp \ 23 usr.sbin/wpa/src/tls \ [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | preauth_test.c | 193 rsn_preauth_deinit(wpa_s->wpa); in test_eapol_clean() 194 pmksa_candidate_free(wpa_s->wpa); in test_eapol_clean() 195 wpa_sm_deinit(wpa_s->wpa); in test_eapol_clean() 215 if (!rsn_preauth_in_progress(wpa_s->wpa)) in eapol_test_poll() 257 wpa_s->wpa = wpa_sm_init(ctx); in wpa_init_conf() 258 assert(wpa_s->wpa != NULL); in wpa_init_conf() 259 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PROTO, WPA_PROTO_RSN); in wpa_init_conf() 262 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, NULL); in wpa_init_conf() 272 wpa_sm_set_own_addr(wpa_s->wpa, wpa_s->own_addr); in wpa_init_conf() 347 if (rsn_preauth_init(wpa_s.wpa, bssid, &wpa_s.conf->ssid->eap)) in main() [all …]
|
H A D | events.c | 451 cur_pmksa = pmksa_cache_get_current(wpa_s->wpa); in wpa_find_assoc_pmkid() 453 pmksa_cache_clear_current(wpa_s->wpa); in wpa_find_assoc_pmkid() 455 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 || in wpa_find_assoc_pmkid() 460 pmksa_set = pmksa_cache_set_current(wpa_s->wpa, in wpa_find_assoc_pmkid() 467 wpa_sm_set_pmk_from_pmksa(wpa_s->wpa); in wpa_find_assoc_pmkid() 491 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid, in wpa_supplicant_event_pmkid_candidate() 580 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init() 1277 bool wpa, check_ssid, osen, rsn_osen = false; in wpa_scan_res_ok() local 1288 wpa = ie && ie[1]; in wpa_scan_res_ok() 1290 wpa |= ie && ie[1]; in wpa_scan_res_ok() [all …]
|
H A D | wpa_supplicant.c | 230 wpa_sm_notify_disassoc(wpa_s->wpa); in wpa_supplicant_timeout() 416 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 417 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 418 wpa_sm_set_ap_rsnxe(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 419 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 420 wpa_sm_set_assoc_rsnxe(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 440 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_RSN_ENABLED, 0); in wpa_supplicant_set_non_wpa_policy() 441 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_KEY_MGMT, wpa_s->key_mgmt); in wpa_supplicant_set_non_wpa_policy() 442 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PAIRWISE, in wpa_supplicant_set_non_wpa_policy() 444 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy() [all …]
|
H A D | wpas_glue.c | 117 int encrypt = wpa_s->wpa && in wpa_ether_send() 118 wpa_sm_has_ptk_installed(wpa_s->wpa); in wpa_ether_send() 170 if (pmksa_cache_get_current(wpa_s->wpa) && in wpa_supplicant_eapol_send() 265 wpa_sm_aborted_cached(wpa_s->wpa); in wpa_supplicant_aborted_cached() 425 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0)) in wpa_get_beacon_ie() 429 if (wpa_sm_set_ap_rsn_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0)) in wpa_get_beacon_ie() 433 if (wpa_sm_set_ap_rsnxe(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0)) in wpa_get_beacon_ie() 1036 wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid); in wpa_sm_sim_state_error_handler() 1112 !wpa_sm_ext_key_id_active(wpa_s->wpa)) { in wpa_supplicant_eap_auth_start_cb() 1164 return wpa_s->wpa && in wpas_encryption_required() [all …]
|
H A D | sme.c | 699 if (pmksa_cache_set_current(wpa_s->wpa, NULL, in sme_send_authentication() 797 wpa_sm_set_ft_params(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0); in sme_send_authentication() 803 wpa_ft_prepare_auth_request(wpa_s->wpa, ie); in sme_send_authentication() 827 wpa_sm_has_ft_keys(wpa_s->wpa, md)) { in sme_send_authentication() 1017 pmksa_cache_set_current(wpa_s->wpa, NULL, in sme_send_authentication() 1027 wpa_sm_set_pmk_from_pmksa(wpa_s->wpa); in sme_send_authentication() 1062 wpa_sm_set_ssid(wpa_s->wpa, bss->ssid, bss->ssid_len); in sme_send_authentication() 1118 if (pmksa_cache_set_current(wpa_s->wpa, NULL, in sme_send_authentication() 1126 resp = fils_build_auth(wpa_s->wpa, ssid->fils_dh_group, md); in sme_send_authentication() 1253 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in sme_auth_start_cb() [all …]
|
H A D | pasn_supplicant.c | 243 pmksa_cache_get_current(wpa_s->wpa)) { in wpas_pasn_get_params_from_bss() 249 pmksa_cache_clear_current(wpa_s->wpa); in wpas_pasn_get_params_from_bss() 281 pmksa_cache_get_current(wpa_s->wpa)) { in wpas_pasn_get_params_from_bss() 287 pmksa_cache_clear_current(wpa_s->wpa); in wpas_pasn_get_params_from_bss() 632 pasn_set_initiator_pmksa(pasn, wpa_sm_get_pmksa_cache(wpa_s->wpa)); in wpas_pasn_auth_start_cb() 636 ret = wpa_pasn_ft_derive_pmk_r1(wpa_s->wpa, awork->akmp, in wpas_pasn_auth_start_cb() 821 wpa_sm_set_cur_pmksa(wpa_s->wpa, pasn->pmksa_entry); in wpas_pasn_auth_rx()
|
/freebsd/share/mk/ |
H A D | src.libnames.mk | 645 LIBWPAAPDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/ap 648 LIBWPACOMMONDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/common 651 LIBWPACRYPTODIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/crypto 654 LIBWPADRIVERSDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/drivers 657 LIBWPAEAP_COMMONDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/eap_common 660 LIBWPAEAP_PEERDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/eap_peer 663 LIBWPAEAP_SERVERDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/eap_server 666 LIBWPAEAPOL_AUTHDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/eapol_auth 669 LIBWPAEAPOL_SUPPDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/eapol_supp 672 LIBWPAL2_PACKETDIR= ${_LIB_OBJTOP}/usr.sbin/wpa/src/l2_packet [all …]
|
/freebsd/tools/bsdbox/ |
H A D | Makefile.hostapd | 7 CRUNCH_SRCDIR_hostapd= $(.CURDIR)/../../usr.sbin/wpa/hostapd 8 CRUNCH_SRCDIR_hostapd_cli= $(.CURDIR)/../../usr.sbin/wpa/hostapd_cli
|
/freebsd/usr.sbin/wpa/wpa_passphrase/ |
H A D | Makefile.depend | 13 usr.sbin/wpa/src/crypto \ 14 usr.sbin/wpa/src/utils \
|
/freebsd/usr.sbin/wpa/hostapd_cli/ |
H A D | Makefile.depend | 13 usr.sbin/wpa/src/common \ 14 usr.sbin/wpa/src/utils \
|
/freebsd/tools/tools/net80211/scripts/ |
H A D | setup.wpa1.aes | 11 SSID=$SSID-wpa 26 wpa=1
|
H A D | setup.wpa1.tkip | 11 SSID=$SSID-wpa 26 wpa=1
|
H A D | setup.wpa2 | 11 SSID=$SSID-wpa 26 wpa=2
|
H A D | setup.wpa | 12 SSID=$SSID-wpa 26 wpa=3
|
H A D | setup.wpa2.tkip | 11 SSID=$SSID-wpa 26 wpa=2
|
H A D | setup.updown.wpa | 12 SSID=$SSID-wpa 28 wpa=1
|
H A D | setup.mixed | 12 WPA_SSID=$SSID-wpa 27 wpa=3
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ap_config.c | 1209 if (bss->wpa != WPA_PROTO_RSN) { in hostapd_config_check_bss_6g() 1271 if (bss->wpa) { in hostapd_config_check_bss() 1290 if (full_config && bss->wpa && in hostapd_config_check_bss() 1299 if (full_config && bss->wpa && in hostapd_config_check_bss() 1355 if (full_config && conf->ieee80211n && bss->wpa && in hostapd_config_check_bss() 1376 if (full_config && conf->ieee80211ac && bss->wpa && in hostapd_config_check_bss() 1397 if (full_config && conf->ieee80211ax && bss->wpa && in hostapd_config_check_bss() 1417 bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss() 1424 if (full_config && bss->wps_state && bss->wpa && in hostapd_config_check_bss() 1425 (!(bss->wpa & 2) || in hostapd_config_check_bss() [all …]
|
H A D | wps_hostapd.c | 370 bss->wpa = 2; in hapd_wps_reconfig_in_memory() 372 bss->wpa = 0; in hapd_wps_reconfig_in_memory() 376 bss->wpa = 3; in hapd_wps_reconfig_in_memory() 378 bss->wpa = 2; in hapd_wps_reconfig_in_memory() 380 bss->wpa = 1; in hapd_wps_reconfig_in_memory() 382 bss->wpa = 0; in hapd_wps_reconfig_in_memory() 385 if (bss->wpa) { in hapd_wps_reconfig_in_memory() 403 bss->wpa_group = wpa_select_ap_group_cipher(bss->wpa, in hapd_wps_reconfig_in_memory() 463 int wpa; in hapd_wps_cred_cb() local 575 wpa = 2; in hapd_wps_cred_cb() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | wpas-dbus-new.py | 57 wpa = "no" 59 wpa = "yes" 76 …print(" %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa…
|
H A D | wpas-dbus-new-signals.py | 64 wpa = "no" 66 wpa = "yes" 83 …print(" %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa…
|
/freebsd/tools/tools/net80211/stumbler/ |
H A D | stumbler.c | 589 struct ieee80211_ie_wpa* wpa; in get_beacon_info() local 591 wpa = (struct ieee80211_ie_wpa*) data; in get_beacon_info() 595 if (!memcmp(wpa->wpa_oui, "\x00\x50\xf2", 3)) { in get_beacon_info() 601 if (wpa->wpa_type == WPA_OUI_TYPE && in get_beacon_info() 602 le16toh(wpa->wpa_version) == WPA_VERSION) { in get_beacon_info() 611 cipher = ((unsigned char*) wpa->wpa_mcipher)[3]; in get_beacon_info() 613 ptr = (unsigned char*)wpa + 12 + in get_beacon_info() 614 4 * le16toh(wpa->wpa_uciphercnt); in get_beacon_info()
|