Searched refs:wps_stats (Results 1 – 3 of 3) sorted by relevance
709 hapd->wps_stats.status = WPS_STATUS_FAILURE; in hostapd_pwd_auth_fail()710 hapd->wps_stats.failure_reason = WPS_EI_AUTH_FAILURE; in hostapd_pwd_auth_fail()711 os_memcpy(hapd->wps_stats.peer_addr, data->peer_macaddr, ETH_ALEN); in hostapd_pwd_auth_fail()743 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_OVERLAP; in hostapd_wps_event_pbc_overlap()750 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_TIMEOUT; in hostapd_wps_event_pbc_timeout()757 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_ACTIVE; in hostapd_wps_event_pbc_active()764 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_DISABLE; in hostapd_wps_event_pbc_disable()772 hapd->wps_stats.pbc_status = WPS_PBC_STATUS_DISABLE; in hostapd_wps_event_success()773 hapd->wps_stats.status = WPS_STATUS_SUCCESS; in hostapd_wps_event_success()774 os_memcpy(hapd->wps_stats.peer_addr, success->peer_macaddr, ETH_ALEN); in hostapd_wps_event_success()[all …]
187 struct wps_stat wps_stats; member
544 pbc_status_str(hapd->wps_stats.pbc_status)); in hostapd_ctrl_iface_wps_get_status()551 (hapd->wps_stats.status == WPS_STATUS_SUCCESS ? in hostapd_ctrl_iface_wps_get_status()553 (hapd->wps_stats.status == WPS_STATUS_FAILURE ? in hostapd_ctrl_iface_wps_get_status()561 if(hapd->wps_stats.status == WPS_STATUS_FAILURE && in hostapd_ctrl_iface_wps_get_status()562 hapd->wps_stats.failure_reason > 0) { in hostapd_ctrl_iface_wps_get_status()565 wps_ei_str(hapd->wps_stats.failure_reason)); in hostapd_ctrl_iface_wps_get_status()572 if (hapd->wps_stats.status) { in hostapd_ctrl_iface_wps_get_status()574 MAC2STR(hapd->wps_stats.peer_addr)); in hostapd_ctrl_iface_wps_get_status()