Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/wps/
Dwps_validate.c438 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) in wps_validate_wps_state() argument
440 if (wps_state == NULL) { in wps_validate_wps_state()
448 if (*wps_state != WPS_STATE_NOT_CONFIGURED && in wps_validate_wps_state()
449 *wps_state != WPS_STATE_CONFIGURED) { in wps_validate_wps_state()
451 "Setup State attribute value 0x%x", *wps_state); in wps_validate_wps_state()
1100 wps_validate_wps_state(attr.wps_state, 1) || in wps_validate_beacon()
1140 wps_validate_wps_state(attr.wps_state, 1) || in wps_validate_beacon_probe_resp()
1309 wps_validate_wps_state(attr.wps_state, 1) || in wps_validate_m1()
Dwps.h510 u8 wps_state; member
579 enum wps_state wps_state; member
Dwps.c552 if (attr.wps_state) { in wps_attr_text()
553 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED) in wps_attr_text()
556 else if (*attr.wps_state == WPS_STATE_CONFIGURED) in wps_attr_text()
Dwps_er.h44 u8 wps_state; member
Dwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member
Dwps_defs.h255 enum wps_state { enum
Dwps_er.c148 evap->wps_state = ap->wps_state; in wps_er_ap_event()
487 if (attr.wps_state) in wps_er_ap_get_m1()
488 ap->wps_state = *attr.wps_state; in wps_er_ap_get_m1()
Dwps_attr_parse.c291 attr->wps_state = pos; in wps_set_attr()
Dwps_registrar.c448 wps->wps_state); in wps_build_wps_state()
451 wpabuf_put_u8(msg, wps->wps_state); in wps_build_wps_state()
1640 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->wps->ap && in wps_build_cred()
2519 wps_process_wps_state(wps, attr->wps_state) || in wps_process_m1()
3149 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->new_psk && in wps_process_wsc_done()
3164 wps->wps->wps_state = WPS_STATE_CONFIGURED; in wps_process_wsc_done()
Dwps_enrollee.c33 state = wps->wps->wps_state; in wps_build_wps_state()
/external/wpa_supplicant_8/src/ap/
Deap_user_db.c219 if (conf->wps_state && identity_len == WSC_ID_ENROLLEE_LEN && in hostapd_get_eap_user()
228 if (conf->wps_state && identity_len == WSC_ID_REGISTRAR_LEN && in hostapd_get_eap_user()
Dbeacon.c277 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_gen_probe_resp()
522 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie && in hostapd_probe_resp_offloads()
575 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_set_beacon()
670 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_set_beacon()
Dwps_hostapd.c296 bss->wps_state = 2; in hapd_wps_reconfig_in_memory()
461 hapd->wps->wps_state = WPS_STATE_CONFIGURED; in hapd_wps_cred_cb()
901 if (conf->wps_state == 0) { in hostapd_init_wps()
915 wps->wps_state = hapd->conf->wps_state; in hostapd_init_wps()
1055 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) { in hostapd_init_wps()
1181 if (hapd->conf->wps_state) in hostapd_update_wps()
Ddrv_callbacks.c125 if (hapd->conf->wps_state) { in hostapd_notif_assoc()
138 if (hapd->conf->wps_state && ie[0] == 0xdd && ie[1] >= 4 && in hostapd_notif_assoc()
244 } else if (hapd->conf->wps_state) { in hostapd_notif_assoc()
Dap_config.h341 int wps_state; member
Dap_drv_ops.c133 if (hapd->conf->wps_state) { in hostapd_build_ap_extra_ies()
Dieee802_1x.c765 !hapd->conf->wps_state) in ieee802_1x_receive()
942 if (hapd->conf->wps_state && hapd->conf->wpa && in ieee802_1x_new_station()
Dieee802_11.c919 if (hapd->conf->wps_state && elems.wps_ie) { in check_assoc_ies()
937 } else if (hapd->conf->wps_state && wpa_ie == NULL) { in check_assoc_ies()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1181 if (bss->wps_state && bss->ignore_broadcast_ssid) { in hostapd_config_check_bss()
1184 bss->wps_state = 0; in hostapd_config_check_bss()
1187 if (bss->wps_state && bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss()
1190 bss->wps_state = 0; in hostapd_config_check_bss()
1193 if (bss->wps_state && bss->wpa && in hostapd_config_check_bss()
1198 bss->wps_state = 0; in hostapd_config_check_bss()
2506 bss->wps_state = atoi(pos); in hostapd_config_fill()
2507 if (bss->wps_state < 0 || bss->wps_state > 2) { in hostapd_config_fill()
Dctrl_iface.c609 hapd->conf->wps_state == 0 ? "disabled" : in hostapd_ctrl_iface_get_config()
610 (hapd->conf->wps_state == 1 ? "not configured" : in hostapd_ctrl_iface_get_config()
616 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
625 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
DREADME-WPS100 wps_state=2
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c116 attr.wps_state && in wpas_wps_eapol_cb()
117 *attr.wps_state == WPS_STATE_CONFIGURED) in wpas_wps_eapol_cb()
605 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
Dap.c272 bss->wps_state = 2; in wpa_supplicant_conf_ap()
DREADME-WPS295 …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()