Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/wpa_supplicant/
H A Dpasn_supplicant.c928 struct ieee80211_mgmt *deauth; in wpas_pasn_deauthenticate() local
956 deauth = wpabuf_put(buf, offsetof(struct ieee80211_mgmt, in wpas_pasn_deauthenticate()
957 u.deauth.variable)); in wpas_pasn_deauthenticate()
959 deauth->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpas_pasn_deauthenticate()
962 os_memcpy(deauth->da, peer_addr, ETH_ALEN); in wpas_pasn_deauthenticate()
963 os_memcpy(deauth->sa, own_addr, ETH_ALEN); in wpas_pasn_deauthenticate()
964 os_memcpy(deauth->bssid, peer_addr, ETH_ALEN); in wpas_pasn_deauthenticate()
965 deauth->u.deauth.reason_code = in wpas_pasn_deauthenticate()
H A Devents.c5037 const u8 *ie, size_t ie_len, int deauth) in wpas_event_disconnect() argument
5064 if (deauth && reason_code > 0) { in wpas_event_disconnect()
/freebsd/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c588 mgmt->u.deauth.reason_code = in p2p_manager_disconnect()
590 pos = mgmt->u.deauth.variable; in p2p_manager_disconnect()
647 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostapd_ctrl_iface_deauthenticate()
650 sizeof(mgmt.u.deauth), in hostapd_ctrl_iface_deauthenticate()
712 sizeof(mgmt.u.deauth), in hostapd_ctrl_iface_disassociate()
H A Dsta_info.c630 int deauth = sta->timeout_next == STA_DEAUTH; in ap_handle_timer() local
632 if (!deauth && !(sta->flags & WLAN_STA_ASSOC)) { in ap_handle_timer()
636 deauth = 1; in ap_handle_timer()
641 deauth ? "deauthentication" : "disassociation", in ap_handle_timer()
644 if (deauth) { in ap_handle_timer()
H A Dieee802_11.c4709 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()
4710 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()
5770 MAC2STR(mgmt->sa), le_to_host16(mgmt->u.deauth.reason_code)); in hostapd_deauth_sta()
5781 hapd, sta, le_to_host16(mgmt->u.deauth.reason_code)); in hostapd_deauth_sta()
5927 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.deauth)) { in handle_deauth()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_event.c1532 if (len >= 24 + sizeof(mgmt->u.deauth)) in mlme_event_deauth_disassoc()
1533 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_deauth_disassoc()
1565 if (frame + len > mgmt->u.deauth.variable) { in mlme_event_deauth_disassoc()
1566 event.deauth_info.ie = mgmt->u.deauth.variable; in mlme_event_deauth_disassoc()
1568 mgmt->u.deauth.variable; in mlme_event_deauth_disassoc()
1596 if (len >= 24 + sizeof(mgmt->u.deauth)) in mlme_event_unprot_disconnect()
1597 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, -1); in hostap_sta_deauth()
H A Ddriver_nl80211.c5904 int deauth, u16 reason_code) in wpa_driver_nl80211_sta_remove() argument
5912 (deauth == 0 && in wpa_driver_nl80211_sta_remove()
5915 (deauth == 1 && in wpa_driver_nl80211_sta_remove()
8272 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()
8275 sizeof(mgmt.u.deauth), 0, 0, 0, 0, in i802_sta_deauth()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa.c4065 int deauth = 0; in wpa_sm_pmksa_free_cb() local
4083 deauth = 1; in wpa_sm_pmksa_free_cb()
4092 deauth = 1; in wpa_sm_pmksa_free_cb()
4095 if (deauth) { in wpa_sm_pmksa_free_cb()
/freebsd/contrib/libpcap/
H A Dgrammar.y.in178 { IEEE80211_FC0_SUBTYPE_DEAUTH, "deauth" },
/freebsd/contrib/wpa/src/common/
H A Dieee802_11_defs.h1007 } STRUCT_PACKED deauth; member