Lines Matching refs:reason_code
2250 static int disconnect_reason_recoverable(u16 reason_code) argument
2252 return reason_code == WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY ||
2253 reason_code == WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA ||
2254 reason_code == WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA;
2259 u16 reason_code, argument
2281 MAC2STR(bssid), reason_code,
2287 static int could_be_psk_mismatch(struct wpa_supplicant *wpa_s, u16 reason_code, argument
2301 if (reason_code == WLAN_REASON_IE_IN_4WAY_DIFFERS)
2310 u16 reason_code, argument
2334 if (could_be_psk_mismatch(wpa_s, reason_code, locally_generated)) {
2354 disconnect_reason_recoverable(reason_code)) {
2382 wpa_s->disconnect_reason = -reason_code;
2384 wpa_s->disconnect_reason = reason_code;
2640 data->tdls.reason_code);
2791 MAC2STR(e->sa), MAC2STR(e->da), e->reason_code);
2792 sme_event_unprot_disconnect(wpa_s, e->sa, e->da, e->reason_code);
2804 MAC2STR(e->sa), MAC2STR(e->da), e->reason_code);
2805 sme_event_unprot_disconnect(wpa_s, e->sa, e->da, e->reason_code);
2811 u16 reason_code, int locally_generated, argument
2829 wpa_supplicant_event_disassoc(wpa_s, reason_code, locally_generated);
2831 if (((reason_code == WLAN_REASON_IEEE_802_1X_AUTH_FAILED ||
2839 if (deauth && reason_code > 0) {
2840 if (wpas_p2p_deauth_notif(wpa_s, addr, reason_code, ie, ie_len,
2851 wpa_supplicant_event_disassoc_finish(wpa_s, reason_code,
2859 u16 reason_code = 0; local
2871 reason_code = info->reason_code;
2873 wpa_dbg(wpa_s, MSG_DEBUG, " * reason %u%s", reason_code,
2897 wpa_s, info->addr, reason_code, info->ie, info->ie_len,
2905 wpas_event_disconnect(wpa_s, addr, reason_code, locally_generated,
2913 u16 reason_code = 0; local
2925 reason_code = info->reason_code;
2928 reason_code,
2940 wpas_event_disconnect(wpa_s, addr, reason_code,