Home
last modified time | relevance | path

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

12

/NextBSD/contrib/wpa/src/wps/
HDwps_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()
HDwps.h539 u8 wps_state; member
608 enum wps_state wps_state; member
HDwps.c554 if (attr.wps_state) { in wps_attr_text()
555 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED) in wps_attr_text()
558 else if (*attr.wps_state == WPS_STATE_CONFIGURED) in wps_attr_text()
HDwps_er.h44 u8 wps_state; member
HDwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member
HDwps_defs.h263 enum wps_state { enum
HDwps_er.c148 evap->wps_state = ap->wps_state; in wps_er_ap_event()
485 if (attr.wps_state) in wps_er_ap_get_m1()
486 ap->wps_state = *attr.wps_state; in wps_er_ap_get_m1()
HDwps_common.c382 if (wps->wps_state == WPS_STATE_NOT_CONFIGURED && data.new_psk && in wps_get_oob_cred()
397 wps->wps_state = WPS_STATE_CONFIGURED; in wps_get_oob_cred()
HDwps_registrar.c449 wps->wps_state); in wps_build_wps_state()
452 wpabuf_put_u8(msg, wps->wps_state); in wps_build_wps_state()
1652 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->wps->ap && in wps_build_cred()
2570 wps_process_wps_state(wps, attr->wps_state) || in wps_process_m1()
3222 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->new_psk && in wps_process_wsc_done()
3242 wps->wps->wps_state = WPS_STATE_CONFIGURED; in wps_process_wsc_done()
HDwps_attr_parse.c302 attr->wps_state = pos; in wps_set_attr()
HDwps_enrollee.c23 state = wps->wps->wps_state; in wps_build_wps_state()
/NextBSD/contrib/wpa/src/ap/
HDap_config.c815 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) { in hostapd_config_check_bss()
818 bss->wps_state = 0; in hostapd_config_check_bss()
821 if (full_config && bss->wps_state && in hostapd_config_check_bss()
825 bss->wps_state = 0; in hostapd_config_check_bss()
828 if (full_config && bss->wps_state && bss->wpa && in hostapd_config_check_bss()
833 bss->wps_state = 0; in hostapd_config_check_bss()
HDeap_user_db.c231 if (conf->wps_state && identity_len == WSC_ID_ENROLLEE_LEN && in hostapd_get_eap_user()
240 if (conf->wps_state && identity_len == WSC_ID_REGISTRAR_LEN && in hostapd_get_eap_user()
HDwps_hostapd.c326 bss->wps_state = 2; in hapd_wps_reconfig_in_memory()
472 hapd->wps->wps_state = WPS_STATE_CONFIGURED; in hapd_wps_cred_cb()
982 if (conf->wps_state == 0) { in hostapd_init_wps()
997 wps->wps_state = hapd->conf->wps_state; in hostapd_init_wps()
1121 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) { in hostapd_init_wps()
1248 if (hapd->conf->wps_state) in hostapd_update_wps()
HDbeacon.c478 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_gen_probe_resp()
869 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie && in hostapd_probe_resp_offloads()
916 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_build_ap_params()
1047 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_build_ap_params()
HDdrv_callbacks.c170 if (hapd->conf->wps_state) { in hostapd_notif_assoc()
182 if (hapd->conf->wps_state && ie[0] == 0xdd && ie[1] >= 4 && in hostapd_notif_assoc()
289 } else if (hapd->conf->wps_state) { in hostapd_notif_assoc()
HDap_config.h379 int wps_state; member
HDieee802_1x.c854 !hapd->conf->wps_state) in ieee802_1x_receive()
924 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state) { in ieee802_1x_receive()
1031 if (hapd->conf->wps_state && in ieee802_1x_new_station()
1081 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state && in ieee802_1x_new_station()
HDap_drv_ops.c149 if (hapd->conf->wps_state) { in hostapd_build_ap_extra_ies()
HDieee802_11.c1429 if (hapd->conf->wps_state && elems.wps_ie) { in check_assoc_ies()
1447 } else if (hapd->conf->wps_state && wpa_ie == NULL) { in check_assoc_ies()
/NextBSD/contrib/wpa/hostapd/
HDctrl_iface.c1174 hapd->conf->wps_state == 0 ? "disabled" : in hostapd_ctrl_iface_get_config()
1175 (hapd->conf->wps_state == 1 ? "not configured" : in hostapd_ctrl_iface_get_config()
1181 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1190 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
HDconfig_file.c2839 bss->wps_state = atoi(pos); in hostapd_config_fill()
2840 if (bss->wps_state < 0 || bss->wps_state > 2) { in hostapd_config_fill()
HDREADME-WPS98 wps_state=2
/NextBSD/contrib/wpa/wpa_supplicant/
HDwps_supplicant.c147 attr.wps_state && in wpas_wps_eapol_cb()
148 *attr.wps_state == WPS_STATE_CONFIGURED) in wpas_wps_eapol_cb()
722 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
HDREADME-WPS294 …9abc-def0-1234-56789abc0002 02:11:22:33:44:55 pri_dev_type=6-0050F204-1 wps_state=1 |Very friendly…

12