Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Dpasn_supplicant.c1665 struct ieee80211_mgmt *deauth; in wpas_pasn_deauthenticate() local
1690 deauth = wpabuf_put(buf, offsetof(struct ieee80211_mgmt, in wpas_pasn_deauthenticate()
1691 u.deauth.variable)); in wpas_pasn_deauthenticate()
1693 deauth->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpas_pasn_deauthenticate()
1696 os_memcpy(deauth->da, bssid, ETH_ALEN); in wpas_pasn_deauthenticate()
1697 os_memcpy(deauth->sa, wpa_s->own_addr, ETH_ALEN); in wpas_pasn_deauthenticate()
1698 os_memcpy(deauth->bssid, bssid, ETH_ALEN); in wpas_pasn_deauthenticate()
1699 deauth->u.deauth.reason_code = in wpas_pasn_deauthenticate()
H A Devents.c4122 const u8 *ie, size_t ie_len, int deauth) in wpas_event_disconnect() argument
4149 if (deauth && reason_code > 0) { in wpas_event_disconnect()
/freebsd-13.1/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c485 mgmt->u.deauth.reason_code = in p2p_manager_disconnect()
487 pos = mgmt->u.deauth.variable; in p2p_manager_disconnect()
544 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_deauthenticate()
547 sizeof(mgmt.u.deauth), in hostapd_ctrl_iface_deauthenticate()
609 sizeof(mgmt.u.deauth), in hostapd_ctrl_iface_disassociate()
H A Dsta_info.c544 int deauth = sta->timeout_next == STA_DEAUTH; in ap_handle_timer() local
546 if (!deauth && !(sta->flags & WLAN_STA_ASSOC)) { in ap_handle_timer()
550 deauth = 1; in ap_handle_timer()
555 deauth ? "deauthentication" : "disassociation", in ap_handle_timer()
558 if (deauth) { in ap_handle_timer()
H A Dieee802_11.c4912 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()
4913 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()
5911 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.deauth)) { in handle_deauth()
5919 MAC2STR(mgmt->sa), le_to_host16(mgmt->u.deauth.reason_code)); in handle_deauth()
5941 hapd, sta, le_to_host16(mgmt->u.deauth.reason_code)); in handle_deauth()
/freebsd-13.1/contrib/wpa/src/drivers/
H A Ddriver_nl80211_event.c971 if (len >= 24 + sizeof(mgmt->u.deauth)) in mlme_event_deauth_disassoc()
972 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_deauth_disassoc()
1004 if (frame + len > mgmt->u.deauth.variable) { in mlme_event_deauth_disassoc()
1005 event.deauth_info.ie = mgmt->u.deauth.variable; in mlme_event_deauth_disassoc()
1007 mgmt->u.deauth.variable; in mlme_event_deauth_disassoc()
1035 if (len >= 24 + sizeof(mgmt->u.deauth)) in mlme_event_unprot_disconnect()
1036 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_unprot_disconnect()
H A Ddriver_hostap.c1056 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostap_sta_deauth()
1058 sizeof(mgmt.u.deauth), 0, 0, NULL, 0, 0, 0); in hostap_sta_deauth()
H A Ddriver_nl80211.c5339 int deauth, u16 reason_code) in wpa_driver_nl80211_sta_remove() argument
5347 (deauth == 0 && in wpa_driver_nl80211_sta_remove()
5350 (deauth == 1 && in wpa_driver_nl80211_sta_remove()
7355 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()
7358 sizeof(mgmt.u.deauth), 0, 0, 0, 0, in i802_sta_deauth()
/freebsd-13.1/contrib/wpa/src/rsn_supp/
H A Dwpa.c2868 int deauth = 0; in wpa_sm_pmksa_free_cb() local
2886 deauth = 1; in wpa_sm_pmksa_free_cb()
2895 deauth = 1; in wpa_sm_pmksa_free_cb()
2898 if (deauth) { in wpa_sm_pmksa_free_cb()
/freebsd-13.1/contrib/wpa/src/common/
H A Dieee802_11_defs.h929 } STRUCT_PACKED deauth; member