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

123

/freebsd-9.3-release/contrib/wpa/wpa_supplicant/tests/
H A Dtest_wpa.c21 #include "rsn_supp/wpa.h"
23 #include "../hostapd/wpa.h"
30 struct wpa { struct
56 struct wpa *wpa = ctx; local
58 os_memcpy(bssid, wpa->auth_addr, ETH_ALEN);
71 struct wpa *wpa = eloop_data; local
74 wpa_receive(wpa->auth_group, wpa
82 struct wpa *wpa = ctx; local
131 struct wpa *wpa = ctx; local
176 supp_init(struct wpa *wpa) argument
233 struct wpa *wpa = eloop_data; local
244 struct wpa *wpa = ctx; local
265 struct wpa *wpa = ctx; local
274 auth_init_group(struct wpa *wpa) argument
305 auth_init(struct wpa *wpa) argument
327 deinit(struct wpa *wpa) argument
341 struct wpa wpa; local
[all...]
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dpreauth_test.c25 #include "rsn_supp/wpa.h"
195 rsn_preauth_deinit(wpa_s->wpa);
196 pmksa_candidate_free(wpa_s->wpa);
197 wpa_sm_deinit(wpa_s->wpa);
219 if (!rsn_preauth_in_progress(wpa_s->wpa))
261 wpa_s->wpa = wpa_sm_init(ctx);
262 assert(wpa_s->wpa != NULL);
263 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PROTO, WPA_PROTO_RSN);
266 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, NULL);
276 wpa_sm_set_own_addr(wpa_s->wpa, wpa_
[all...]
H A Dwpa_supplicant.c25 #include "rsn_supp/wpa.h"
201 wpa_sm_notify_disassoc(wpa_s->wpa);
331 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0);
332 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0);
333 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0);
350 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_RSN_ENABLED, 0);
351 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_KEY_MGMT, wpa_s->key_mgmt);
352 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PAIRWISE,
354 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher);
356 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_MGMT_GROU
[all...]
H A Devents.c19 #include "rsn_supp/wpa.h"
134 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 ||
139 pmksa_set = pmksa_cache_set_current(wpa_s->wpa,
166 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid,
255 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard);
776 if (rsn_preauth_scan_results(wpa_s->wpa) < 0)
793 rsn_preauth_scan_result(wpa_s->wpa, r->bssid, ssid, rsn);
999 if (wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, p, len))
1009 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0);
1016 wpa_ft_validate_reassoc_resp(wpa_s->wpa,
[all...]
H A Dap.c80 bss->wpa = ssid->proto;
96 if (bss->wpa & 1)
98 if (bss->wpa & 2) {
108 if (bss->wpa && bss->ieee802_1x)
110 else if (bss->wpa)
423 if (conf->wpa == 0)
433 conf->wpa));
H A Dsme.c22 #include "rsn_supp/wpa.h"
114 if (pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid,
163 wpa_sm_set_ft_params(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0);
166 wpa_ft_prepare_auth_request(wpa_s->wpa, ie);
187 wpa_sm_has_ptk(wpa_s->wpa)) {
361 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, elems.rsn_ie - 2,
364 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, elems.wpa_ie - 2,
367 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0);
H A Dwpas_glue.c19 #include "rsn_supp/wpa.h"
148 if (pmksa_cache_get_current(wpa_s->wpa) &&
222 wpa_sm_aborted_cached(wpa_s->wpa);
324 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0))
328 if (wpa_sm_set_ap_rsn_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0))
655 wpa_s->wpa = wpa_sm_init(ctx);
656 if (wpa_s->wpa == NULL) {
684 wpa_sm_set_config(wpa_s->wpa, ssid ? &conf : NULL);
/freebsd-9.3-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-9.3-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-9.3-release/contrib/wpa/src/ap/
H A Dap_list.h38 int wpa; member in struct:ap_info
H A Dwpa_auth.c497 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
669 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
688 if (sm->wpa == WPA_VERSION_WPA2) {
812 ft = sm->wpa == WPA_VERSION_WPA2 &&
1089 key->type = sm->wpa == WPA_VERSION_WPA2 ?
1092 if (encr && sm->wpa == WPA_VERSION_WPA2)
1094 if (sm->wpa != WPA_VERSION_WPA2)
1370 if (sm->wpa == WPA_VERSION_WPA)
1505 if (sm->wpa == WPA_VERSION_WPA2 &&
1588 if (sm->wpa
[all...]
H A Dwps_hostapd.c211 int wpa; local
300 wpa = 3;
302 wpa = 2;
304 wpa = 1;
306 wpa = 0;
308 if (wpa) {
310 fprintf(nconf, "wpa=%d\n", wpa);
388 str_starts(buf, "wpa=") ||
557 if (conf->wpa
[all...]
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_xauth.c76 IEEE80211_AUTH_ALG(wpa, IEEE80211_AUTH_WPA, xauth);
/freebsd-9.3-release/contrib/wpa/src/eapol_auth/
H A Deapol_auth_sm.h25 int wpa; member in struct:eapol_auth_config
/freebsd-9.3-release/usr.sbin/wpa/hostapd/
H A Ddriver_freebsd.c50 int prev_wpa; /* wpa state to restore on deinit */
271 wpa_printf(MSG_DEBUG, "%s: enable WPA= 0x%x", __func__, params->wpa);
272 if (set80211param(priv, IEEE80211_IOC_WPA, params->wpa)) {
273 printf("Unable to set WPA to %u\n", params->wpa);
289 if (!params->wpa && !params->ieee802_1x) {
294 if (params->wpa && bsd_configure_wpa(priv, params) != 0) {
300 (params->wpa ? IEEE80211_AUTH_WPA : IEEE80211_AUTH_8021X))) {
/freebsd-9.3-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);

Completed in 263 milliseconds

123