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

/freebsd-10.1-release/contrib/wpa/src/wps/
H A Dwps_er.h44 u8 wps_state; member in struct:wps_er_ap
H A Dwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member in struct:wps_parse_attr
H A Dwps.c543 if (attr.wps_state) {
544 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED)
546 "wps_state=unconfigured\n");
547 else if (*attr.wps_state == WPS_STATE_CONFIGURED)
549 "wps_state=configured\n");
H A Dwps.h510 u8 wps_state; member in struct:wps_event_data::wps_event_er_ap
577 * wps_state - Current WPS state
579 enum wps_state wps_state; member in struct:wps_context
H A Dwps_validate.c438 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) argument
440 if (wps_state == NULL) {
448 if (*wps_state != WPS_STATE_NOT_CONFIGURED &&
449 *wps_state != WPS_STATE_CONFIGURED) {
451 "Setup State attribute value 0x%x", *wps_state);
1100 wps_validate_wps_state(attr.wps_state, 1) ||
1140 wps_validate_wps_state(attr.wps_state, 1) ||
1309 wps_validate_wps_state(attr.wps_state, 1) ||
H A Dwps_defs.h255 enum wps_state { enum
H A Dwps_er.c145 evap->wps_state = ap->wps_state;
484 if (attr.wps_state)
485 ap->wps_state = *attr.wps_state;
H A Dwps_attr_parse.c291 attr->wps_state = pos;
H A Dwps_registrar.c443 wps->wps_state);
446 wpabuf_put_u8(msg, wps->wps_state);
1627 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->wps->ap &&
2506 wps_process_wps_state(wps, attr->wps_state) ||
3136 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->new_psk &&
3151 wps->wps->wps_state = WPS_STATE_CONFIGURED;
H A Dwps_enrollee.c33 state = wps->wps->wps_state;
/freebsd-10.1-release/contrib/wpa/src/ap/
H A Deap_user_db.c219 if (conf->wps_state && identity_len == WSC_ID_ENROLLEE_LEN &&
228 if (conf->wps_state && identity_len == WSC_ID_REGISTRAR_LEN &&
H A Dbeacon.c277 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) {
522 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie &&
575 if (hapd->conf->wps_state && hapd->wps_beacon_ie)
670 if (hapd->conf->wps_state && hapd->wps_beacon_ie) {
H A Dwps_hostapd.c344 hapd->wps->wps_state = WPS_STATE_CONFIGURED;
373 fprintf(nconf, "wps_state=2\n");
479 str_starts(buf, "wps_state=") ||
783 if (conf->wps_state == 0) {
797 wps->wps_state = hapd->conf->wps_state;
937 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) {
1063 if (hapd->conf->wps_state)
H A Dap_config.h341 int wps_state; member in struct:hostapd_bss_config
H A Ddrv_callbacks.c124 if (hapd->conf->wps_state) {
137 if (hapd->conf->wps_state && ie[0] == 0xdd && ie[1] >= 4 &&
243 } else if (hapd->conf->wps_state) {
H A Dieee802_1x.c765 !hapd->conf->wps_state)
942 if (hapd->conf->wps_state && hapd->conf->wpa &&
H A Dap_drv_ops.c133 if (hapd->conf->wps_state) {
H A Dieee802_11.c836 if (hapd->conf->wps_state && elems.wps_ie) {
854 } else if (hapd->conf->wps_state && wpa_ie == NULL) {
/freebsd-10.1-release/contrib/wpa/hostapd/
H A Dconfig_file.c1218 if (bss->wps_state && bss->ignore_broadcast_ssid) {
1221 bss->wps_state = 0;
1224 if (bss->wps_state && bss->ssid.wep.keys_set && bss->wpa == 0) {
1227 bss->wps_state = 0;
1230 if (bss->wps_state && bss->wpa &&
1235 bss->wps_state = 0;
2542 } else if (os_strcmp(buf, "wps_state") == 0) {
2543 bss->wps_state = atoi(pos);
2544 if (bss->wps_state < 0 || bss->wps_state >
[all...]
H A Dctrl_iface.c555 ret = os_snprintf(pos, end - pos, "wps_state=%s\n",
556 hapd->conf->wps_state == 0 ? "disabled" :
557 (hapd->conf->wps_state == 1 ? "not configured" :
563 if (hapd->conf->wps_state && hapd->conf->wpa &&
572 if (hapd->conf->wps_state && hapd->conf->wpa &&
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/
H A Dap.c278 bss->wps_state = 2;
H A Dwps_supplicant.c581 " pri_dev_type=%s wps_state=%d |%s|%s|%s|%s|%s|%s|",
582 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state,

Completed in 263 milliseconds