Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dpasn_supplicant.c1661 struct ieee80211_mgmt *deauth; in wpas_pasn_deauthenticate() local
1686 deauth = wpabuf_put(buf, offsetof(struct ieee80211_mgmt, in wpas_pasn_deauthenticate()
1687 u.deauth.variable)); in wpas_pasn_deauthenticate()
1689 deauth->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) | in wpas_pasn_deauthenticate()
1692 os_memcpy(deauth->da, bssid, ETH_ALEN); in wpas_pasn_deauthenticate()
1693 os_memcpy(deauth->sa, wpa_s->own_addr, ETH_ALEN); in wpas_pasn_deauthenticate()
1694 os_memcpy(deauth->bssid, bssid, ETH_ALEN); in wpas_pasn_deauthenticate()
1695 deauth->u.deauth.reason_code = in wpas_pasn_deauthenticate()
Devents.c4128 const u8 *ie, size_t ie_len, int deauth) in wpas_event_disconnect() argument
4155 if (deauth && reason_code > 0) { in wpas_event_disconnect()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
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()
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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
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()
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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
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()
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()
Ddriver_nl80211.c4771 int deauth, u16 reason_code) in wpa_driver_nl80211_sta_remove() argument
4779 (deauth == 0 && in wpa_driver_nl80211_sta_remove()
4782 (deauth == 1 && in wpa_driver_nl80211_sta_remove()
6648 mgmt.u.deauth.reason_code = host_to_le16(reason); in i802_sta_deauth()
6651 sizeof(mgmt.u.deauth), 0, 0, 0, 0, in i802_sta_deauth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
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()
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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dieee802_11_defs.h876 } STRUCT_PACKED deauth; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dieee802_11_defs.h929 } STRUCT_PACKED deauth; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Devents.c3544 const u8 *ie, size_t ie_len, int deauth) in wpas_event_disconnect() argument
3571 if (deauth && reason_code > 0) { in wpas_event_disconnect()