Lines Matching defs:reason_code
2422 static int disconnect_reason_recoverable(u16 reason_code)
2424 return reason_code == WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY ||
2425 reason_code == WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA ||
2426 reason_code == WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA;
2431 u16 reason_code,
2453 MAC2STR(bssid), reason_code,
2459 static int could_be_psk_mismatch(struct wpa_supplicant *wpa_s, u16 reason_code,
2473 if (reason_code == WLAN_REASON_IE_IN_4WAY_DIFFERS)
2482 u16 reason_code,
2506 if (could_be_psk_mismatch(wpa_s, reason_code, locally_generated)) {
2527 disconnect_reason_recoverable(reason_code)) {
2556 wpa_s->disconnect_reason = -reason_code;
2558 wpa_s->disconnect_reason = reason_code;
2822 data->tdls.reason_code);
2973 MAC2STR(e->sa), MAC2STR(e->da), e->reason_code);
2974 sme_event_unprot_disconnect(wpa_s, e->sa, e->da, e->reason_code);
2986 MAC2STR(e->sa), MAC2STR(e->da), e->reason_code);
2987 sme_event_unprot_disconnect(wpa_s, e->sa, e->da, e->reason_code);
2993 u16 reason_code, int locally_generated,
3011 wpa_supplicant_event_disassoc(wpa_s, reason_code, locally_generated);
3013 if (((reason_code == WLAN_REASON_IEEE_802_1X_AUTH_FAILED ||
3021 if (deauth && reason_code > 0) {
3022 if (wpas_p2p_deauth_notif(wpa_s, addr, reason_code, ie, ie_len,
3033 wpa_supplicant_event_disassoc_finish(wpa_s, reason_code,
3041 u16 reason_code = 0;
3053 reason_code = info->reason_code;
3055 wpa_dbg(wpa_s, MSG_DEBUG, " * reason %u%s", reason_code,
3079 wpa_s, info->addr, reason_code, info->ie, info->ie_len,
3087 wpas_event_disconnect(wpa_s, addr, reason_code, locally_generated,
3095 u16 reason_code = 0;
3107 reason_code = info->reason_code;
3110 reason_code,
3122 wpas_event_disconnect(wpa_s, addr, reason_code,