Home
last modified time | relevance | path

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

/external/wpa_supplicant/
Dpreauth_test.c201 rsn_preauth_deinit(wpa_s->wpa); in test_eapol_clean()
202 pmksa_candidate_free(wpa_s->wpa); in test_eapol_clean()
203 wpa_sm_deinit(wpa_s->wpa); in test_eapol_clean()
225 if (!rsn_preauth_in_progress(wpa_s->wpa)) in eapol_test_poll()
267 wpa_s->wpa = wpa_sm_init(ctx); in wpa_init_conf()
268 assert(wpa_s->wpa != NULL); in wpa_init_conf()
269 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PROTO, WPA_PROTO_RSN); in wpa_init_conf()
272 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, NULL); in wpa_init_conf()
282 wpa_sm_set_own_addr(wpa_s->wpa, wpa_s->own_addr); in wpa_init_conf()
358 if (rsn_preauth_init(wpa_s.wpa, bssid, wpa_s.conf->ssid)) in main()
[all …]
Dwpa_supplicant.c201 if (pmksa_cache_get_current(wpa_s->wpa) && in wpa_supplicant_eapol_send()
276 wpa_sm_aborted_cached(wpa_s->wpa); in wpa_supplicant_aborted_cached()
549 wpa_sm_notify_disassoc(wpa_s->wpa); in wpa_supplicant_timeout()
663 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy()
664 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy()
665 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy()
682 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_KEY_MGMT, wpa_s->key_mgmt); in wpa_supplicant_set_non_wpa_policy()
683 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PAIRWISE, in wpa_supplicant_set_non_wpa_policy()
685 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy()
687 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_MGMT_GROUP, in wpa_supplicant_set_non_wpa_policy()
[all …]
Devents.c67 wpa_sm_set_config(wpa_s->wpa, wpa_s->current_ssid); in wpa_supplicant_select_config()
105 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 || in wpa_find_assoc_pmkid()
110 pmksa_set = pmksa_cache_set_current(wpa_s->wpa, in wpa_find_assoc_pmkid()
137 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid, in wpa_supplicant_event_pmkid_candidate()
226 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init()
563 rsn_preauth_scan_results(wpa_s->wpa, results, num); in wpa_supplicant_event_scan_results()
621 if (wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, p, len)) in wpa_supplicant_event_associnfo()
631 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_event_associnfo()
651 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, p, len); in wpa_supplicant_event_associnfo()
657 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, p, len); in wpa_supplicant_event_associnfo()
[all …]
Dctrl_iface.c61 if (wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_LIFETIME, in wpa_supplicant_ctrl_iface_set()
66 if (wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_REAUTH_THRESHOLD, in wpa_supplicant_ctrl_iface_set()
70 if (wpa_sm_set_param(wpa_s->wpa, RSNA_SA_TIMEOUT, atoi(value))) in wpa_supplicant_ctrl_iface_set()
92 rsn_preauth_deinit(wpa_s->wpa); in wpa_supplicant_ctrl_iface_preauth()
93 if (rsn_preauth_init(wpa_s->wpa, bssid, wpa_s->current_ssid)) in wpa_supplicant_ctrl_iface_preauth()
117 return wpa_sm_stkstart(wpa_s->wpa, peer); in wpa_supplicant_ctrl_iface_stkstart()
250 pos += wpa_sm_get_status(wpa_s->wpa, pos, end - pos, verbose); in wpa_supplicant_ctrl_iface_status()
274 res = rsn_preauth_get_status(wpa_s->wpa, pos, end - pos, verbose); in wpa_supplicant_ctrl_iface_status()
1178 reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
1192 reply_len = pmksa_cache_list(wpa_s->wpa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
Ddriver_bsd.c192 wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy) in wpa_driver_bsd_set_wpa_internal() argument
198 __FUNCTION__, wpa, privacy); in wpa_driver_bsd_set_wpa_internal()
200 if (!wpa && wpa_driver_bsd_set_wpa_ie(drv, NULL, 0) < 0) in wpa_driver_bsd_set_wpa_internal()
204 if (set80211param(drv, IEEE80211_IOC_WPA, wpa) < 0) in wpa_driver_bsd_set_wpa_internal()
Dmlme.c331 u8 *wpa; member
412 elems->wpa = pos; in ieee802_11_parse_elems()
1655 if (elems.wpa && in ieee80211_bss_info()
1657 os_memcmp(bss->wpa_ie, elems.wpa, elems.wpa_len))) { in ieee80211_bss_info()
1661 os_memcpy(bss->wpa_ie, elems.wpa - 2, in ieee80211_bss_info()
1666 } else if (!elems.wpa && bss->wpa_ie) { in ieee80211_bss_info()
Dwpa_supplicant_i.h316 struct wpa_sm *wpa; member
DAndroid.mk604 OBJS += wpa.c preauth.c pmksa_cache.c
Deap_testing.txt8 - Replaced wpa_supplicant.c and wpa.c with test code that trigger
Ddefconfig55 #CFLAGS += -I../madwifi/wpa
DMakefile718 OBJS += wpa.o preauth.o pmksa_cache.o
DREADME160 (CFLAGS += -I../madwifi/wpa line in example defconfig).
/external/wpa_supplicant/wpa_gui/
Dnetworkconfig.ui.h322 int wpa = 0; in paramsFromConfig() local
326 wpa = 2; in paramsFromConfig()
328 wpa = 1; in paramsFromConfig()
337 auth = wpa & 2 ? AUTH_WPA2_EAP : AUTH_WPA_EAP; in paramsFromConfig()
339 auth = wpa & 2 ? AUTH_WPA2_PSK : AUTH_WPA_PSK; in paramsFromConfig()
/external/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp361 int wpa = 0; in paramsFromConfig() local
365 wpa = 2; in paramsFromConfig()
367 wpa = 1; in paramsFromConfig()
376 auth = wpa & 2 ? AUTH_WPA2_EAP : AUTH_WPA_EAP; in paramsFromConfig()
378 auth = wpa & 2 ? AUTH_WPA2_PSK : AUTH_WPA_PSK; in paramsFromConfig()