Home
last modified time | relevance | path

Searched refs:deauth (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c452 mgmt->u.deauth.reason_code = in p2p_manager_disconnect()
454 pos = mgmt->u.deauth.variable; in p2p_manager_disconnect()
512 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_deauthenticate()
515 sizeof(mgmt.u.deauth), in hostapd_ctrl_iface_deauthenticate()
578 sizeof(mgmt.u.deauth), in hostapd_ctrl_iface_disassociate()
H A Dsta_info.c509 int deauth = sta->timeout_next == STA_DEAUTH; in ap_handle_timer() local
511 if (!deauth && !(sta->flags & WLAN_STA_ASSOC)) { in ap_handle_timer()
515 deauth = 1; in ap_handle_timer()
520 deauth ? "deauthentication" : "disassociation", in ap_handle_timer()
523 if (deauth) { in ap_handle_timer()
H A Dieee802_11.c3348 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()
3349 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()
4335 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.deauth)) { in handle_deauth()
4343 MAC2STR(mgmt->sa), le_to_host16(mgmt->u.deauth.reason_code)); in handle_deauth()
4361 hapd, sta, le_to_host16(mgmt->u.deauth.reason_code)); in handle_deauth()
/freebsd-12.1/contrib/wpa/src/drivers/
H A Ddriver_nl80211_event.c798 if (len >= 24 + sizeof(mgmt->u.deauth)) in mlme_event_deauth_disassoc()
799 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_deauth_disassoc()
831 if (frame + len > mgmt->u.deauth.variable) { in mlme_event_deauth_disassoc()
832 event.deauth_info.ie = mgmt->u.deauth.variable; in mlme_event_deauth_disassoc()
834 mgmt->u.deauth.variable; in mlme_event_deauth_disassoc()
862 if (len >= 24 + sizeof(mgmt->u.deauth)) in mlme_event_unprot_disconnect()
863 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_unprot_disconnect()
H A Ddriver_hostap.c1052 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostap_sta_deauth()
1054 sizeof(mgmt.u.deauth), 0, 0, NULL, 0); in hostap_sta_deauth()
/freebsd-12.1/contrib/wpa/src/rsn_supp/
H A Dwpa.c2595 int deauth = 0; in wpa_sm_pmksa_free_cb() local
2613 deauth = 1; in wpa_sm_pmksa_free_cb()
2622 deauth = 1; in wpa_sm_pmksa_free_cb()
2625 if (deauth) { in wpa_sm_pmksa_free_cb()
/freebsd-12.1/contrib/wpa/src/common/
H A Dieee802_11_defs.h876 } STRUCT_PACKED deauth; member
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Devents.c3538 const u8 *ie, size_t ie_len, int deauth) in wpas_event_disconnect() argument
3565 if (deauth && reason_code > 0) { in wpas_event_disconnect()