Searched refs:auth_alg (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dap_mlme.c56 * AuthenticationType = sta->auth_alg (WLAN_AUTH_OPEN / WLAN_AUTH_SHARED_KEY)
64 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg));
65 if (sta->auth_alg != WLAN_AUTH_FT && !(sta->flags & WLAN_STA_MFP))
111 if (sta->auth_alg != WLAN_AUTH_FT)
137 if (sta->auth_alg != WLAN_AUTH_FT)
H A Dieee802_11.c255 u16 auth_alg, u16 auth_transaction, u16 resp,
274 reply->u.auth.auth_alg = host_to_le16(auth_alg);
282 " auth_alg=%d auth_transaction=%d resp=%d (IE len=%lu)",
283 MAC2STR(dst), auth_alg, auth_transaction,
321 u16 auth_alg, auth_transaction, status_code; local
338 auth_alg = le_to_host16(mgmt->u.auth.auth_alg);
349 wpa_printf(MSG_DEBUG, "authentication: STA=" MACSTR " auth_alg=%d "
351 MAC2STR(mgmt->sa), auth_alg, auth_transactio
253 send_auth_reply(struct hostapd_data *hapd, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument
1475 u16 auth_alg, auth_transaction, status_code; local
[all...]
H A Dsta_info.h59 u16 auth_alg; member in struct:sta_info
H A Dwpa_auth_ft.c608 size_t max_len, int auth_alg,
631 if (auth_alg == WLAN_AUTH_FT) {
653 if (auth_alg == WLAN_AUTH_FT) {
702 if (auth_alg == WLAN_AUTH_FT)
708 if (auth_alg == WLAN_AUTH_FT)
716 if (auth_alg == WLAN_AUTH_FT &&
607 wpa_sm_write_assoc_resp_ies(struct wpa_state_machine *sm, u8 *pos, size_t max_len, int auth_alg, const u8 *req_ies, size_t req_ies_len) argument
H A Dwpa_auth_glue.c415 sta->auth_alg = WLAN_AUTH_FT;
424 sta->auth_alg = WLAN_AUTH_FT;
H A Dwpa_auth.h265 size_t max_len, int auth_alg,
H A Dap_drv_ops.c133 sta->auth_alg == WLAN_AUTH_FT) &&
H A Dhostapd.c882 if (sta->auth_alg != WLAN_AUTH_FT &&
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dsme.c72 params.auth_alg = WPA_AUTH_ALG_OPEN;
77 params.auth_alg = WPA_AUTH_ALG_LEAP;
79 params.auth_alg |= WPA_AUTH_ALG_LEAP;
83 wpa_printf(MSG_DEBUG, "Automatic auth_alg selection: 0x%x",
84 params.auth_alg);
85 if (ssid->auth_alg) {
86 params.auth_alg = ssid->auth_alg;
87 wpa_printf(MSG_DEBUG, "Overriding auth_alg selection: 0x%x",
88 params.auth_alg);
[all...]
H A Dconfig_ssid.h162 * auth_alg - Bitfield of allowed authentication algorithms
166 int auth_alg; member in struct:wpa_ssid
H A Dwpa_supplicant_i.h241 int auth_alg; /* currently used IEEE 802.11 authentication algorithm */ member in struct:wpa_client_mlme
421 int auth_alg; member in struct:wpa_supplicant::__anon4464
H A Dmlme.c248 mgmt->u.auth.auth_alg = host_to_le16(wpa_s->mlme.auth_alg);
303 wpa_s->mlme.auth_alg = WLAN_AUTH_FT;
409 if (wpa_s->mlme.extra_ie && wpa_s->mlme.auth_alg != WLAN_AUTH_FT) {
418 wpa_s->mlme.auth_alg != WLAN_AUTH_FT &&
433 wpa_s->mlme.auth_alg == WLAN_AUTH_FT && wpa_s->mlme.ft_ies) {
754 u16 auth_alg, auth_transaction, status_code; local
789 auth_alg = le_to_host16(mgmt->u.auth.auth_alg);
795 MAC2STR(mgmt->sa), auth_alg, auth_transactio
[all...]
H A Dwpa_supplicant.conf302 # auth_alg: list of allowed IEEE 802.11 authentication algorithms
790 auth_alg=SHARED
H A Dwps_supplicant.c304 ssid->auth_alg = WPA_AUTH_ALG_OPEN;
309 ssid->auth_alg = WPA_AUTH_ALG_SHARED;
314 ssid->auth_alg = WPA_AUTH_ALG_OPEN;
319 ssid->auth_alg = WPA_AUTH_ALG_OPEN;
324 ssid->auth_alg = WPA_AUTH_ALG_OPEN;
329 ssid->auth_alg = WPA_AUTH_ALG_OPEN;
H A Dconfig.c850 wpa_printf(MSG_ERROR, "Line %d: invalid auth_alg '%s'",
863 "Line %d: no auth_alg values configured.", line);
867 wpa_printf(MSG_MSGDUMP, "auth_alg: 0x%x", val);
868 ssid->auth_alg = val;
885 if (ssid->auth_alg & WPA_AUTH_ALG_OPEN) {
895 if (ssid->auth_alg & WPA_AUTH_ALG_SHARED) {
905 if (ssid->auth_alg & WPA_AUTH_ALG_LEAP) {
1443 { FUNC(auth_alg) },
H A Dwpa_priv.c219 params.auth_alg = assoc->auth_alg;
H A Dwpa_supplicant.c1079 wpa_printf(MSG_DEBUG, "Automatic auth_alg selection: 0x%x", algs);
1080 if (ssid->auth_alg) {
1081 algs = ssid->auth_alg;
1082 wpa_printf(MSG_DEBUG, "Overriding auth_alg selection: 0x%x",
1193 params.auth_alg = algs;
/freebsd-9.3-release/contrib/wpa/src/common/
H A Dprivsep_commands.h44 int auth_alg; member in struct:privsep_cmd_associate
H A Dieee802_11_defs.h268 le16 auth_alg; member in struct:ieee80211_mgmt::__anon4291::__anon4292
/freebsd-9.3-release/contrib/wpa/src/drivers/
H A Ddriver_ndiswrapper.c57 int auth_alg; member in struct:wpa_assoc_info
74 static int wpa_ndiswrapper_set_auth_alg(void *priv, int auth_alg);
230 if (wpa_ndiswrapper_set_auth_alg(drv, params->auth_alg) < 0)
245 wpa_assoc_info.auth_alg = params->auth_alg;
256 static int wpa_ndiswrapper_set_auth_alg(void *priv, int auth_alg) argument
264 priv_req.u.param.value = auth_alg;
H A Ddriver.h275 int auth_alg; member in struct:wpa_driver_auth_params
359 * auth_alg - Allowed authentication algorithms
362 int auth_alg; member in struct:wpa_driver_associate_params
/freebsd-9.3-release/usr.sbin/wpa/wpa_supplicant/
H A Ddriver_freebsd.c388 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) argument
393 if ((auth_alg & WPA_AUTH_ALG_OPEN) &&
394 (auth_alg & WPA_AUTH_ALG_SHARED))
396 else if (auth_alg & WPA_AUTH_ALG_SHARED)
402 __func__, auth_alg, authmode);
470 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0)
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-802_11.c1127 pbody.auth_alg = EXTRACT_LE_16BITS(p);
1139 if ((pbody.auth_alg == 1) &&
1143 (pbody.auth_alg < NUM_AUTH_ALGS)
1144 ? auth_alg_text[pbody.auth_alg]
1154 (pbody.auth_alg < NUM_AUTH_ALGS)
1155 ? auth_alg_text[pbody.auth_alg]
H A Dieee802_11.h232 u_int16_t auth_alg; member in struct:mgmt_body_t
/freebsd-9.3-release/sbin/setkey/
H A Dparse.y288 : F_ENC enc_alg F_AUTH auth_alg
293 : F_AUTH auth_alg
407 auth_alg

Completed in 328 milliseconds

12