Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/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.c556 if (attr.wps_state) { in wps_attr_text()
557 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED) in wps_attr_text()
559 "wps_state=unconfigured\n"); in wps_attr_text()
560 else if (*attr.wps_state == WPS_STATE_CONFIGURED) in wps_attr_text()
562 "wps_state=configured\n"); in wps_attr_text()
H A Dwps.h577 u8 wps_state; member
644 * wps_state - Current WPS state
646 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_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_defs.h268 enum wps_state { enum
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_registrar.c480 wps->wps_state); in wps_build_wps_state()
483 wpabuf_put_u8(msg, wps->wps_state); in wps_build_wps_state()
1737 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->wps->ap && in wps_build_cred()
2673 wps_process_wps_state(wps, attr->wps_state) || in wps_process_m1()
3326 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->new_psk && in wps_process_wsc_done()
3346 wps->wps->wps_state = WPS_STATE_CONFIGURED; in wps_process_wsc_done()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c562 if (attr.wps_state) { in wps_attr_text()
563 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED) in wps_attr_text()
565 "wps_state=unconfigured\n"); in wps_attr_text()
566 else if (*attr.wps_state == WPS_STATE_CONFIGURED) in wps_attr_text()
568 "wps_state=configured\n"); in wps_attr_text()
H A Dwps.h581 u8 wps_state; member
648 * wps_state - Current WPS state
650 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_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_defs.h268 enum wps_state { enum
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c1361 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) { in hostapd_config_check_bss()
1364 bss->wps_state = 0; in hostapd_config_check_bss()
1368 if (full_config && bss->wps_state && in hostapd_config_check_bss()
1372 bss->wps_state = 0; in hostapd_config_check_bss()
1376 if (full_config && bss->wps_state && bss->wpa && in hostapd_config_check_bss()
1383 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()
558 fprintf(nconf, "wps_state=2\n"); in hapd_wps_cred_cb()
678 str_starts(buf, "wps_state=") || in hapd_wps_cred_cb()
1087 if (conf->wps_state == 0) { in hostapd_init_wps()
1102 wps->wps_state = hapd->conf->wps_state; in hostapd_init_wps()
1254 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) { in hostapd_init_wps()
1507 if (conf->wps_state) in hostapd_update_wps()
H A Dbeacon.c602 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_gen_probe_resp()
1126 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie && in hostapd_probe_resp_offloads()
1441 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_build_ap_params()
1625 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_build_ap_params()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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.c1152 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) { in hostapd_config_check_bss()
1155 bss->wps_state = 0; in hostapd_config_check_bss()
1158 if (full_config && bss->wps_state && in hostapd_config_check_bss()
1162 bss->wps_state = 0; in hostapd_config_check_bss()
1165 if (full_config && bss->wps_state && bss->wpa && in hostapd_config_check_bss()
1172 bss->wps_state = 0; in hostapd_config_check_bss()
H A Dwps_hostapd.c320 bss->wps_state = 2; in hapd_wps_reconfig_in_memory()
481 hapd->wps->wps_state = WPS_STATE_CONFIGURED; in hapd_wps_cred_cb()
510 fprintf(nconf, "wps_state=2\n"); in hapd_wps_cred_cb()
624 str_starts(buf, "wps_state=") || in hapd_wps_cred_cb()
1018 if (conf->wps_state == 0) { in hostapd_init_wps()
1033 wps->wps_state = hapd->conf->wps_state; in hostapd_init_wps()
1167 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) { in hostapd_init_wps()
1323 if (hapd->conf->wps_state) in hostapd_update_wps()
H A Dbeacon.c533 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_gen_probe_resp()
1011 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie && in hostapd_probe_resp_offloads()
1068 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_build_ap_params()
1252 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_build_ap_params()

Completed in 39 milliseconds

12