Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/wps/
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()
Dwps.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()
Dwps.h539 u8 wps_state; member
608 enum wps_state wps_state; member
Dwps_er.h44 u8 wps_state; member
Dwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member
Dwps_defs.h267 enum wps_state { enum
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()
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()
Dwps_registrar.c449 wps->wps_state); in wps_build_wps_state()
452 wpabuf_put_u8(msg, wps->wps_state); in wps_build_wps_state()
1664 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->wps->ap && in wps_build_cred()
2600 wps_process_wps_state(wps, attr->wps_state) || in wps_process_m1()
3252 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->new_psk && in wps_process_wsc_done()
3272 wps->wps->wps_state = WPS_STATE_CONFIGURED; in wps_process_wsc_done()
Dwps_attr_parse.c302 attr->wps_state = pos; in wps_set_attr()
Dwps_enrollee.c23 state = wps->wps->wps_state; in wps_build_wps_state()
/external/wpa_supplicant_8/src/ap/
Dap_config.c924 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) { in hostapd_config_check_bss()
927 bss->wps_state = 0; in hostapd_config_check_bss()
930 if (full_config && bss->wps_state && in hostapd_config_check_bss()
934 bss->wps_state = 0; in hostapd_config_check_bss()
937 if (full_config && bss->wps_state && bss->wpa && in hostapd_config_check_bss()
942 bss->wps_state = 0; in hostapd_config_check_bss()
Deap_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()
Dwps_hostapd.c320 bss->wps_state = 2; in hapd_wps_reconfig_in_memory()
468 hapd->wps->wps_state = WPS_STATE_CONFIGURED; in hapd_wps_cred_cb()
979 if (conf->wps_state == 0) { in hostapd_init_wps()
994 wps->wps_state = hapd->conf->wps_state; in hostapd_init_wps()
1126 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) { in hostapd_init_wps()
1255 if (hapd->conf->wps_state) in hostapd_update_wps()
Dbeacon.c583 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_gen_probe_resp()
1042 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie && in hostapd_probe_resp_offloads()
1099 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_build_ap_params()
1270 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_build_ap_params()
Ddrv_callbacks.c256 if (hapd->conf->wps_state) { in hostapd_notif_assoc()
268 if (hapd->conf->wps_state && ie[0] == 0xdd && ie[1] >= 4 && in hostapd_notif_assoc()
376 } else if (hapd->conf->wps_state) { in hostapd_notif_assoc()
Dieee802_1x.c911 !hapd->conf->wps_state) in ieee802_1x_receive()
990 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state) { in ieee802_1x_receive()
1097 if (hapd->conf->wps_state && in ieee802_1x_new_station()
1149 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state && in ieee802_1x_new_station()
Dap_config.h418 int wps_state; member
Dap_drv_ops.c139 if (hapd->conf->wps_state) { in hostapd_build_ap_extra_ies()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c1151 hapd->conf->wps_state == 0 ? "disabled" : in hostapd_ctrl_iface_get_config()
1152 (hapd->conf->wps_state == 1 ? "not configured" : in hostapd_ctrl_iface_get_config()
1158 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1167 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
Dconfig_file.c3107 bss->wps_state = atoi(pos); in hostapd_config_fill()
3108 if (bss->wps_state < 0 || bss->wps_state > 2) { in hostapd_config_fill()
DREADME-WPS98 wps_state=2
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c147 attr.wps_state && in wpas_wps_eapol_cb()
148 *attr.wps_state == WPS_STATE_CONFIGURED) in wpas_wps_eapol_cb()
729 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
DREADME-WPS294 …9abc-def0-1234-56789abc0002 02:11:22:33:44:55 pri_dev_type=6-0050F204-1 wps_state=1 |Very friendly…
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp1116 int wps_state = items[4].mid(10).toInt(); in event_notify() local
1133 int type = wps_state == 2 ? PEER_TYPE_WPS_ER_AP: in event_notify()

12