Searched refs:wps_stats (Results 1 – 3 of 3) sorted by relevance
795 hapd->wps_stats.status = WPS_STATUS_FAILURE; in hostapd_pwd_auth_fail()796 hapd->wps_stats.failure_reason = WPS_EI_AUTH_FAILURE; in hostapd_pwd_auth_fail()797 os_memcpy(hapd->wps_stats.peer_addr, data->peer_macaddr, ETH_ALEN); in hostapd_pwd_auth_fail()829 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_OVERLAP; in hostapd_wps_event_pbc_overlap()836 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_TIMEOUT; in hostapd_wps_event_pbc_timeout()843 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_ACTIVE; in hostapd_wps_event_pbc_active()850 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_DISABLE; in hostapd_wps_event_pbc_disable()858 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_DISABLE; in hostapd_wps_event_success()859 hapd->wps_stats.status = WPS_STATUS_SUCCESS; in hostapd_wps_event_success()860 os_memcpy(hapd->wps_stats.peer_addr, success->peer_macaddr, ETH_ALEN); in hostapd_wps_event_success()[all …]
244 struct wps_stat wps_stats; member
554 pbc_status_str(hapd->wps_stats.pbc_status)); in hostapd_ctrl_iface_wps_get_status()561 (hapd->wps_stats.status == WPS_STATUS_SUCCESS ? in hostapd_ctrl_iface_wps_get_status()563 (hapd->wps_stats.status == WPS_STATUS_FAILURE ? in hostapd_ctrl_iface_wps_get_status()571 if(hapd->wps_stats.status == WPS_STATUS_FAILURE && in hostapd_ctrl_iface_wps_get_status()572 hapd->wps_stats.failure_reason > 0) { in hostapd_ctrl_iface_wps_get_status()575 wps_ei_str(hapd->wps_stats.failure_reason)); in hostapd_ctrl_iface_wps_get_status()582 if (hapd->wps_stats.status) { in hostapd_ctrl_iface_wps_get_status()584 MAC2STR(hapd->wps_stats.peer_addr)); in hostapd_ctrl_iface_wps_get_status()