Searched refs:wps_stats (Results 1 – 3 of 3) sorted by relevance
703 hapd->wps_stats.status = WPS_STATUS_FAILURE; in hostapd_pwd_auth_fail()704 hapd->wps_stats.failure_reason = WPS_EI_AUTH_FAILURE; in hostapd_pwd_auth_fail()705 os_memcpy(hapd->wps_stats.peer_addr, data->peer_macaddr, ETH_ALEN); in hostapd_pwd_auth_fail()737 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_OVERLAP; in hostapd_wps_event_pbc_overlap()744 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_TIMEOUT; in hostapd_wps_event_pbc_timeout()751 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_ACTIVE; in hostapd_wps_event_pbc_active()758 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_DISABLE; in hostapd_wps_event_pbc_disable()766 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_DISABLE; in hostapd_wps_event_success()767 hapd->wps_stats.status = WPS_STATUS_SUCCESS; in hostapd_wps_event_success()768 os_memcpy(hapd->wps_stats.peer_addr, success->peer_macaddr, ETH_ALEN); in hostapd_wps_event_success()[all …]
199 struct wps_stat wps_stats; member
547 pbc_status_str(hapd->wps_stats.pbc_status)); in hostapd_ctrl_iface_wps_get_status()554 (hapd->wps_stats.status == WPS_STATUS_SUCCESS ? in hostapd_ctrl_iface_wps_get_status()556 (hapd->wps_stats.status == WPS_STATUS_FAILURE ? in hostapd_ctrl_iface_wps_get_status()564 if(hapd->wps_stats.status == WPS_STATUS_FAILURE && in hostapd_ctrl_iface_wps_get_status()565 hapd->wps_stats.failure_reason > 0) { in hostapd_ctrl_iface_wps_get_status()568 wps_ei_str(hapd->wps_stats.failure_reason)); in hostapd_ctrl_iface_wps_get_status()575 if (hapd->wps_stats.status) { in hostapd_ctrl_iface_wps_get_status()577 MAC2STR(hapd->wps_stats.peer_addr)); in hostapd_ctrl_iface_wps_get_status()