Home
last modified time | relevance | path

Searched refs:reason_code (Results 1 – 25 of 39) sorted by relevance

12

/external/wpa_supplicant_8/src/ap/
Dap_mlme.c77 struct sta_info *sta, u16 reason_code) in mlme_deauthenticate_indication() argument
82 MAC2STR(sta->addr), reason_code); in mlme_deauthenticate_indication()
149 struct sta_info *sta, u16 reason_code) in mlme_disassociate_indication() argument
154 MAC2STR(sta->addr), reason_code); in mlme_disassociate_indication()
Dctrl_iface_ap.c157 mgmt->u.deauth.reason_code = in p2p_manager_disconnect()
159 pos = (u8 *) (&mgmt->u.deauth.reason_code + 1); in p2p_manager_disconnect()
161 mgmt->u.disassoc.reason_code = in p2p_manager_disconnect()
163 pos = (u8 *) (&mgmt->u.disassoc.reason_code + 1); in p2p_manager_disconnect()
214 mgmt.u.deauth.reason_code = in hostapd_ctrl_iface_deauthenticate()
275 mgmt.u.disassoc.reason_code = in hostapd_ctrl_iface_disassociate()
Dap_mlme.h18 struct sta_info *sta, u16 reason_code);
27 struct sta_info *sta, u16 reason_code);
Dieee802_11.c1079 u16 reason_code) in send_deauth() argument
1092 reply.u.deauth.reason_code = host_to_le16(reason_code); in send_deauth()
1398 le_to_host16(mgmt->u.disassoc.reason_code)); in handle_disassoc()
1429 hapd, sta, le_to_host16(mgmt->u.disassoc.reason_code)); in handle_disassoc()
1446 MAC2STR(mgmt->sa), le_to_host16(mgmt->u.deauth.reason_code)); in handle_deauth()
1463 hapd, sta, le_to_host16(mgmt->u.deauth.reason_code)); in handle_deauth()
Dhostapd.h313 const u8 *addr, int reason_code);
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c1871 static int disconnect_reason_recoverable(u16 reason_code) argument
1873 return reason_code == WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY ||
1874 reason_code == WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA ||
1875 reason_code == WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA;
1880 u16 reason_code, argument
1902 MAC2STR(bssid), reason_code,
1908 static int could_be_psk_mismatch(struct wpa_supplicant *wpa_s, u16 reason_code, argument
1922 if (reason_code == WLAN_REASON_IE_IN_4WAY_DIFFERS)
1931 u16 reason_code, argument
1955 if (could_be_psk_mismatch(wpa_s, reason_code, locally_generated)) {
[all …]
Dsme.h30 const u8 *da, u16 reason_code);
83 u16 reason_code) in sme_event_unprot_disconnect() argument
Dp2p_supplicant.h127 u16 reason_code, const u8 *ie, size_t ie_len,
130 u16 reason_code, const u8 *ie, size_t ie_len,
Dpreauth_test.c41 static void _wpa_supplicant_deauthenticate(void *wpa_s, int reason_code) in _wpa_supplicant_deauthenticate() argument
43 wpa_supplicant_deauthenticate(wpa_s, reason_code); in _wpa_supplicant_deauthenticate()
Ddriver_i.h133 const u8 *addr, int reason_code) in wpa_drv_deauthenticate() argument
137 reason_code); in wpa_drv_deauthenticate()
/external/openssl/apps/
Dca.c2815 int reason_code = -1; in make_revoked() local
2823 i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str); in make_revoked()
2831 if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)) in make_revoked()
2834 if (!rtmp || !ASN1_ENUMERATED_set(rtmp, reason_code)) in make_revoked()
2851 if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS) in make_revoked()
2909 int reason_code = -1; in unpack_revinfo() local
2948 reason_code = i; in unpack_revinfo()
2952 if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS) in unpack_revinfo()
2958 if (reason_code == 7) in unpack_revinfo()
2959 reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL; in unpack_revinfo()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver.h1248 int (*deauthenticate)(void *priv, const u8 *addr, int reason_code);
3218 u16 reason_code; member
3249 u16 reason_code; member
3313 u16 reason_code; /* for teardown */ member
3329 u16 reason_code; member
3611 u16 reason_code; member
3617 u16 reason_code; member
Ddriver_madwifi.c91 int reason_code);
660 int reason_code) in madwifi_sta_deauth() argument
667 __func__, ether_sprintf(addr), reason_code); in madwifi_sta_deauth()
670 mlme.im_reason = reason_code; in madwifi_sta_deauth()
676 __func__, MAC2STR(addr), reason_code); in madwifi_sta_deauth()
684 int reason_code) in madwifi_sta_disassoc() argument
691 __func__, ether_sprintf(addr), reason_code); in madwifi_sta_disassoc()
694 mlme.im_reason = reason_code; in madwifi_sta_disassoc()
700 __func__, MAC2STR(addr), reason_code); in madwifi_sta_disassoc()
Ddriver_bsd.c615 int reason_code);
707 bsd_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr, int reason_code) in bsd_sta_deauth() argument
709 return bsd_send_mlme_param(priv, IEEE80211_MLME_DEAUTH, reason_code, in bsd_sta_deauth()
715 int reason_code) in bsd_sta_disassoc() argument
717 return bsd_send_mlme_param(priv, IEEE80211_MLME_DISASSOC, reason_code, in bsd_sta_disassoc()
969 wpa_driver_bsd_deauthenticate(void *priv, const u8 *addr, int reason_code) in wpa_driver_bsd_deauthenticate() argument
971 return bsd_send_mlme_param(priv, IEEE80211_MLME_DEAUTH, reason_code, in wpa_driver_bsd_deauthenticate()
Ddriver_hostap.h191 u16 reason_code; member
Ddriver_atheros.c80 int reason_code);
688 int reason_code) in atheros_sta_deauth() argument
695 __func__, ether_sprintf(addr), reason_code); in atheros_sta_deauth()
698 mlme.im_reason = reason_code; in atheros_sta_deauth()
704 __func__, MAC2STR(addr), reason_code); in atheros_sta_deauth()
712 int reason_code) in atheros_sta_disassoc() argument
719 __func__, ether_sprintf(addr), reason_code); in atheros_sta_disassoc()
722 mlme.im_reason = reason_code; in atheros_sta_disassoc()
728 __func__, MAC2STR(addr), reason_code); in atheros_sta_disassoc()
Ddriver_nl80211.c298 const u8 *addr, int cmd, u16 reason_code,
1237 data.deauth_info.reason_code = nla_get_u16(reason); in mlme_event_disconnect()
1392 u16 reason_code = 0; in mlme_event_deauth_disassoc() local
1423 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_deauth_disassoc()
1429 event.disassoc_info.reason_code = reason_code; in mlme_event_deauth_disassoc()
1439 event.deauth_info.reason_code = reason_code; in mlme_event_deauth_disassoc()
1457 u16 reason_code = 0; in mlme_event_unprot_disconnect() local
1472 reason_code = le_to_host16(mgmt->u.deauth.reason_code); in mlme_event_unprot_disconnect()
1477 event.unprot_disassoc.reason_code = reason_code; in mlme_event_unprot_disconnect()
1481 event.unprot_deauth.reason_code = reason_code; in mlme_event_unprot_disconnect()
[all …]
Ddriver_privsep.c297 int reason_code) in wpa_driver_privsep_deauthenticate() argument
301 __func__, MAC2STR(addr), reason_code); in wpa_driver_privsep_deauthenticate()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.h27 void (*deauthenticate)(void * ctx, int reason_code);
364 int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, u16 reason_code);
365 int wpa_tdls_teardown_link(struct wpa_sm *sm, const u8 *addr, u16 reason_code);
Dtdls.c268 u16 reason_code, int free_peer) in wpa_tdls_do_teardown() argument
273 ret = wpa_tdls_send_teardown(sm, peer->addr, reason_code); in wpa_tdls_do_teardown()
653 int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, u16 reason_code) in wpa_tdls_send_teardown() argument
698 if (reason_code != WLAN_REASON_DEAUTH_LEAVING) { in wpa_tdls_send_teardown()
700 reason_code = WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED; in wpa_tdls_send_teardown()
727 wpa_tdls_key_mic_teardown(peer->tpk.kck, 4, reason_code, in wpa_tdls_send_teardown()
737 reason_code, rbuf, pos - rbuf); in wpa_tdls_send_teardown()
747 int wpa_tdls_teardown_link(struct wpa_sm *sm, const u8 *addr, u16 reason_code) in wpa_tdls_teardown_link() argument
771 return wpa_tdls_do_teardown(sm, peer, reason_code, 0); in wpa_tdls_teardown_link()
798 u16 reason_code; in wpa_tdls_recv_teardown() local
[all …]
Dwpa_i.h140 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) in wpa_sm_deauthenticate() argument
143 sm->ctx->deauthenticate(sm->ctx->ctx, reason_code); in wpa_sm_deauthenticate()
/external/tcpdump/
Dprint-802_11.c469 pbody.reason_code = EXTRACT_LE_16BITS(p); in handle_disassoc()
472 (pbody.reason_code < NUM_REASONS) in handle_disassoc()
473 ? reason_text[pbody.reason_code] in handle_disassoc()
537 pbody.reason_code = EXTRACT_LE_16BITS(p); in handle_deauth()
540 reason = (pbody.reason_code < NUM_REASONS) in handle_deauth()
541 ? reason_text[pbody.reason_code] in handle_deauth()
Dieee802_11.h233 u_int16_t reason_code; member
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/
DTransportManager.java776 int reason_code = tr.readUINT32(); in receiveLoop() local
811 throw new IOException("Peer sent DISCONNECT message (reason code " + reason_code + "): " in receiveLoop()
/external/wpa_supplicant_8/src/p2p/
Dp2p.h1291 void p2p_deauth_notif(struct p2p_data *p2p, const u8 *bssid, u16 reason_code,
1294 void p2p_disassoc_notif(struct p2p_data *p2p, const u8 *bssid, u16 reason_code,

12