Home
last modified time | relevance | path

Searched refs:wpa (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd/usr.sbin/wpa/hostapd/
H A DMakefile.depend14 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 DMakefile.depend14 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 DMakefile.depend14 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 Dpreauth_test.c193 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 Devents.c451 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 Dwpa_supplicant.c230 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 Dwpas_glue.c117 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 Dsme.c699 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 Dpasn_supplicant.c243 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 Dsrc.libnames.mk645 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 DMakefile.hostapd7 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 DMakefile.depend13 usr.sbin/wpa/src/crypto \
14 usr.sbin/wpa/src/utils \
/freebsd/usr.sbin/wpa/hostapd_cli/
H A DMakefile.depend13 usr.sbin/wpa/src/common \
14 usr.sbin/wpa/src/utils \
/freebsd/tools/tools/net80211/scripts/
H A Dsetup.wpa1.aes11 SSID=$SSID-wpa
26 wpa=1
H A Dsetup.wpa1.tkip11 SSID=$SSID-wpa
26 wpa=1
H A Dsetup.wpa211 SSID=$SSID-wpa
26 wpa=2
H A Dsetup.wpa12 SSID=$SSID-wpa
26 wpa=3
H A Dsetup.wpa2.tkip11 SSID=$SSID-wpa
26 wpa=2
H A Dsetup.updown.wpa12 SSID=$SSID-wpa
28 wpa=1
H A Dsetup.mixed12 WPA_SSID=$SSID-wpa
27 wpa=3
/freebsd/contrib/wpa/src/ap/
H A Dap_config.c1209 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 Dwps_hostapd.c370 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 Dwpas-dbus-new.py57 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 Dwpas-dbus-new-signals.py64 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 Dstumbler.c589 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()

1234