Searched refs:wpa (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-10.1-release/contrib/wpa/wpa_supplicant/tests/
H A Dtest_wpa.c15 #include "rsn_supp/wpa.h"
17 #include "../hostapd/wpa.h"
24 struct wpa { struct
50 struct wpa *wpa = ctx; local
52 os_memcpy(bssid, wpa->auth_addr, ETH_ALEN);
65 struct wpa *wpa = eloop_data; local
68 wpa_receive(wpa->auth_group, wpa
76 struct wpa *wpa = ctx; local
125 struct wpa *wpa = ctx; local
170 supp_init(struct wpa *wpa) argument
227 struct wpa *wpa = eloop_data; local
238 struct wpa *wpa = ctx; local
259 struct wpa *wpa = ctx; local
268 auth_init_group(struct wpa *wpa) argument
299 auth_init(struct wpa *wpa) argument
321 deinit(struct wpa *wpa) argument
335 struct wpa wpa; local
[all...]
/freebsd-10.1-release/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
11 #CRUNCH_SRCDIR_wpa_supplicant= $(.CURDIR)/../../usr.sbin/wpa/wpa_supplicant
12 #CRUNCH_SRCDIR_wpa_cli= $(.CURDIR)/../../usr.sbin/wpa/wpa_cli
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/
H A Dpreauth_test.c19 #include "rsn_supp/wpa.h"
183 rsn_preauth_deinit(wpa_s->wpa);
184 pmksa_candidate_free(wpa_s->wpa);
185 wpa_sm_deinit(wpa_s->wpa);
207 if (!rsn_preauth_in_progress(wpa_s->wpa))
248 wpa_s->wpa = wpa_sm_init(ctx);
249 assert(wpa_s->wpa != NULL);
250 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PROTO, WPA_PROTO_RSN);
253 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, NULL);
263 wpa_sm_set_own_addr(wpa_s->wpa, wpa_
[all...]
H A Devents.c13 #include "rsn_supp/wpa.h"
193 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 ||
198 pmksa_set = pmksa_cache_set_current(wpa_s->wpa,
226 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid,
320 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard);
640 int wpa; local
693 wpa = wpa_ie_len > 0 || rsn_ie_len > 0;
696 int check_ssid = wpa ? 1 : (ssid->ssid_len != 0);
718 if (wpa && ssid->ssid_len == 0 &&
722 if (!wpa
[all...]
H A Dwpa_supplicant.c21 #include "rsn_supp/wpa.h"
192 wpa_sm_notify_disassoc(wpa_s->wpa);
338 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0);
339 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0);
340 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0);
357 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_RSN_ENABLED, 0);
358 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_KEY_MGMT, wpa_s->key_mgmt);
359 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PAIRWISE,
361 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher);
363 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_MGMT_GROU
[all...]
H A Dwpas_glue.c13 #include "rsn_supp/wpa.h"
142 if (pmksa_cache_get_current(wpa_s->wpa) &&
215 wpa_sm_aborted_cached(wpa_s->wpa);
335 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0))
339 if (wpa_sm_set_ap_rsn_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0))
863 wpa_s->wpa = wpa_sm_init(ctx);
864 if (wpa_s->wpa == NULL) {
894 wpa_sm_set_config(wpa_s->wpa, ssid ? &conf : NULL);
H A Dap.c178 bss->wpa = ssid->proto;
216 if (bss->wpa & 1)
218 if (bss->wpa & 2) {
231 if (bss->wpa && bss->ieee802_1x)
233 else if (bss->wpa)
271 (!(pairwise & WPA_CIPHER_CCMP) || !(bss->wpa & 2)))
935 if (conf->wpa == 0)
945 conf->wpa));
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-test.py68 wpa = "no"
70 wpa = "yes"
83 print " %s :: ssid='%s' wpa=%s wpa2=%s quality=%d%% rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, qual, maxrate, freq)
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, wpa2, signal, maxrate, freq)
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, wpa2, signal, maxrate, freq)
/freebsd-10.1-release/tools/tools/net80211/scripts/
H A Dsetup.updown.wpa13 SSID=$SSID-wpa
29 wpa=1
H A Dsetup.wpa13 SSID=$SSID-wpa
27 wpa=3
H A Dsetup.wpa1.aes12 SSID=$SSID-wpa
27 wpa=1
H A Dsetup.wpa1.tkip12 SSID=$SSID-wpa
27 wpa=1
H A Dsetup.wpa212 SSID=$SSID-wpa
27 wpa=2
H A Dsetup.wpa2.tkip12 SSID=$SSID-wpa
27 wpa=2
H A Dsetup.mixed13 WPA_SSID=$SSID-wpa
28 wpa=3
H A Dsetup.tsn26 wpa=1
/freebsd-10.1-release/contrib/wpa/src/ap/
H A Dap_list.h32 int wpa; member in struct:ap_info
H A Dwpa_auth.c528 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
752 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
774 if (sm->wpa == WPA_VERSION_WPA2) {
965 ft = sm->wpa == WPA_VERSION_WPA2 &&
1265 key->type = sm->wpa == WPA_VERSION_WPA2 ?
1268 if (encr && sm->wpa == WPA_VERSION_WPA2)
1270 if (sm->wpa != WPA_VERSION_WPA2)
1521 if (sm->wpa == WPA_VERSION_WPA)
1703 if (sm->wpa == WPA_VERSION_WPA2 &&
1787 if (sm->wpa
[all...]
H A Dwpa_auth_ie.c305 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) {
321 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) {
398 if (!(wpa_auth->conf.wpa & version)) {
576 sm->wpa = WPA_VERSION_WPA2;
578 sm->wpa = WPA_VERSION_WPA;
/freebsd-10.1-release/sys/net80211/
H A Dieee80211_xauth.c76 IEEE80211_AUTH_ALG(wpa, IEEE80211_AUTH_WPA, xauth);
/freebsd-10.1-release/contrib/wpa/src/eapol_auth/
H A Deapol_auth_sm.h19 int wpa; member in struct:eapol_auth_config
/freebsd-10.1-release/tools/tools/net80211/stumbler/
H A Dstumbler.c591 struct ieee80211_ie_wpa* wpa; local
593 wpa = (struct ieee80211_ie_wpa*) data;
597 if (!memcmp(wpa->wpa_oui, "\x00\x50\xf2", 3)) {
603 if (wpa->wpa_type == WPA_OUI_TYPE &&
604 le16toh(wpa->wpa_version) == WPA_VERSION) {
613 cipher = ((unsigned char*) wpa->wpa_mcipher)[3];
615 ptr = (unsigned char*)wpa + 12 +
616 4 * le16toh(wpa->wpa_uciphercnt);
/freebsd-10.1-release/contrib/wpa/src/drivers/
H A Ddriver_bsd.c63 int prev_wpa; /* wpa state to restore on deinit */
486 wpa_printf(MSG_DEBUG, "%s: enable WPA= 0x%x", __func__, params->wpa);
487 if (set80211param(priv, IEEE80211_IOC_WPA, params->wpa)) {
488 printf("Unable to set WPA to %u\n", params->wpa);
504 if (!params->wpa && !params->ieee802_1x) {
509 if (params->wpa && bsd_configure_wpa(priv, params) != 0) {
515 (params->wpa ? IEEE80211_AUTH_WPA : IEEE80211_AUTH_8021X))) {
975 wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy) argument
979 wpa_printf(MSG_DEBUG, "%s: wpa=%d privacy=%d",
980 __FUNCTION__, wpa, privac
[all...]

Completed in 213 milliseconds

123