Home
last modified time | relevance | path

Searched refs:wps_state (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/wpa/src/wps/
H A Dwps_validate.c440 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) in wps_validate_wps_state() argument
442 if (wps_state == NULL) { in wps_validate_wps_state()
450 if (*wps_state != WPS_STATE_NOT_CONFIGURED && in wps_validate_wps_state()
451 *wps_state != WPS_STATE_CONFIGURED) { in wps_validate_wps_state()
453 "Setup State attribute value 0x%x", *wps_state); in wps_validate_wps_state()
1102 wps_validate_wps_state(attr.wps_state, 1) || in wps_validate_beacon()
1142 wps_validate_wps_state(attr.wps_state, 1) || in wps_validate_beacon_probe_resp()
1311 wps_validate_wps_state(attr.wps_state, 1) || in wps_validate_m1()
H A Dwps.c557 if (attr.wps_state) { in wps_attr_text()
558 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED) in wps_attr_text()
561 else if (*attr.wps_state == WPS_STATE_CONFIGURED) in wps_attr_text()
H A Dwps.h586 u8 wps_state; member
655 enum wps_state wps_state; member
H A Dwps_er.h44 u8 wps_state; member
H A Dwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member
H A Dwps_defs.h268 enum wps_state { enum
H A Dwps_er.c148 evap->wps_state = ap->wps_state; in wps_er_ap_event()
484 if (attr.wps_state) in wps_er_ap_get_m1()
485 ap->wps_state = *attr.wps_state; in wps_er_ap_get_m1()
H A Dwps_common.c383 if (wps->wps_state == WPS_STATE_NOT_CONFIGURED && data.new_psk && in wps_get_oob_cred()
398 wps->wps_state = WPS_STATE_CONFIGURED; in wps_get_oob_cred()
H A Dwps_attr_parse.c313 attr->wps_state = pos; in wps_set_attr()
H A Dwps_registrar.c480 wps->wps_state); in wps_build_wps_state()
483 wpabuf_put_u8(msg, wps->wps_state); in wps_build_wps_state()
1720 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->wps->ap && in wps_build_cred()
2663 wps_process_wps_state(wps, attr->wps_state) || in wps_process_m1()
3316 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->new_psk && in wps_process_wsc_done()
3336 wps->wps->wps_state = WPS_STATE_CONFIGURED; in wps_process_wsc_done()
H A Dwps_enrollee.c23 state = wps->wps->wps_state; in wps_build_wps_state()
/freebsd/contrib/wpa/src/ap/
H A Deap_user_db.c239 if (conf->wps_state && identity_len == WSC_ID_ENROLLEE_LEN && in hostapd_get_eap_user()
248 if (conf->wps_state && identity_len == WSC_ID_REGISTRAR_LEN && in hostapd_get_eap_user()
H A Dap_config.c1409 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) { in hostapd_config_check_bss()
1412 bss->wps_state = 0; in hostapd_config_check_bss()
1416 if (full_config && bss->wps_state && in hostapd_config_check_bss()
1420 bss->wps_state = 0; in hostapd_config_check_bss()
1424 if (full_config && bss->wps_state && bss->wpa && in hostapd_config_check_bss()
1431 bss->wps_state = 0; in hostapd_config_check_bss()
H A Dwps_hostapd.c360 bss->wps_state = 2; in hapd_wps_reconfig_in_memory()
529 hapd->wps->wps_state = WPS_STATE_CONFIGURED; in hapd_wps_cred_cb()
1088 if (conf->wps_state == 0) { in hostapd_init_wps()
1103 wps->wps_state = hapd->conf->wps_state; in hostapd_init_wps()
1255 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) { in hostapd_init_wps()
1508 if (conf->wps_state) in hostapd_update_wps()
H A Dbeacon.c859 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_probe_resp_fill_elems()
1658 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie && in hostapd_probe_resp_offloads()
2113 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_build_ap_params()
2342 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_build_ap_params()
H A Dieee802_1x.c1129 !hapd->conf->wps_state) in ieee802_1x_receive()
1216 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state) { in ieee802_1x_receive()
1328 if (hapd->conf->wps_state && in ieee802_1x_new_station()
1380 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state && in ieee802_1x_new_station()
H A Dap_config.h492 int wps_state; member
H A Ddrv_callbacks.c474 if (hapd->conf->wps_state) { in hostapd_notif_assoc()
488 if (hapd->conf->wps_state && ie[0] == 0xdd && ie[1] >= 4 && in hostapd_notif_assoc()
630 } else if (hapd->conf->wps_state) { in hostapd_notif_assoc()
H A Dap_drv_ops.c152 if (hapd->conf->wps_state) { in hostapd_build_ap_extra_ies()
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c1007 hapd->conf->wps_state == 0 ? "disabled" : in hostapd_ctrl_iface_get_config()
1008 (hapd->conf->wps_state == 1 ? "not configured" : in hostapd_ctrl_iface_get_config()
1014 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1023 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1054 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1064 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
H A DREADME-WPS98 wps_state=2
H A Dconfig_file.c3909 bss->wps_state = atoi(pos); in hostapd_config_fill()
3910 if (bss->wps_state < 0 || bss->wps_state > 2) { in hostapd_config_fill()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c158 attr.wps_state && in wpas_wps_eapol_cb()
159 *attr.wps_state == WPS_STATE_CONFIGURED) in wpas_wps_eapol_cb()
765 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
H A DREADME-WPS288 …9abc-def0-1234-56789abc0002 02:11:22:33:44:55 pri_dev_type=6-0050F204-1 wps_state=1 |Very friendly…
H A Dap.c771 bss->wps_state = 2; in wpa_supplicant_conf_ap()

12