Lines Matching defs:reason
417 int reason;
528 reason = (sta->timeout_next == STA_DISASSOC) ?
532 hostapd_drv_sta_disassoc(hapd, sta->addr, reason);
558 reason = (sta->timeout_next == STA_DISASSOC) ?
567 mlme_disassociate_indication(hapd, sta, reason);
800 u16 reason)
829 sta->disassoc_reason = reason;
851 u16 reason)
857 ap_sta_disassociate(hapd, sta, reason);
878 sta->deauth_reason = reason;
1307 const u8 *addr, u16 reason)
1310 wpa_printf(MSG_DEBUG, "%s: %s STA " MACSTR " reason=%u",
1312 reason);
1314 wpa_printf(MSG_DEBUG, "%s: %s addr " MACSTR " reason=%u",
1316 reason);
1322 hostapd_drv_sta_deauth(hapd, addr, reason);
1344 sta->disassoc_reason = reason;
1354 sta->deauth_reason = reason;
1450 u16 reason;
1456 reason = sta->disconnect_reason_code;
1457 if (!reason)
1458 reason = WLAN_REASON_IEEE_802_1X_AUTH_FAILED;
1459 ap_sta_disconnect(hapd, sta, sta->addr, reason);