Searched refs:wps_state (Results 1 – 8 of 8) sorted by relevance
483 if (attr->wps_state) { in wps_attr_text()484 if (*attr->wps_state == WPS_STATE_NOT_CONFIGURED) in wps_attr_text()487 else if (*attr->wps_state == WPS_STATE_CONFIGURED) in wps_attr_text()
427 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) in wps_validate_wps_state() argument429 if (wps_state == NULL) { in wps_validate_wps_state()437 if (*wps_state != WPS_STATE_NOT_CONFIGURED && in wps_validate_wps_state()438 *wps_state != WPS_STATE_CONFIGURED) { in wps_validate_wps_state()440 "Setup State attribute value 0x%x", *wps_state); in wps_validate_wps_state()1113 wps_validate_wps_state(attr->wps_state, 1) || in wps_validate_beacon()1168 wps_validate_wps_state(attr->wps_state, 1) || in wps_validate_beacon_probe_resp()1401 wps_validate_wps_state(attr->wps_state, 1) || in wps_validate_m1()
523 u8 wps_state; member593 enum wps_state wps_state; member
34 const u8 *wps_state; /* 1 octet */ member
261 enum wps_state { enum
289 attr->wps_state = pos; in wps_set_attr()
442 wps->wps_state); in wps_build_wps_state()445 wpabuf_put_u8(msg, wps->wps_state); in wps_build_wps_state()1636 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->wps->ap && in wps_build_cred()2522 wps_process_wps_state(wps, attr->wps_state) || in wps_process_m1()3152 if (wps->wps->wps_state == WPS_STATE_NOT_CONFIGURED && wps->new_psk && in wps_process_wsc_done()3167 wps->wps->wps_state = WPS_STATE_CONFIGURED; in wps_process_wsc_done()
35 state = wps->wps->wps_state; in wps_build_wps_state()