Lines Matching refs:reason
42 uint16_t reason) const {
44 if (reason == IEEE_80211::kReasonCodeReserved0 ||
45 reason == IEEE_80211::kReasonCodeReserved12 ||
46 (reason >= IEEE_80211::kReasonCodeReservedBegin25 &&
47 reason <= IEEE_80211::kReasonCodeReservedEnd31) ||
48 (reason >= IEEE_80211::kReasonCodeReservedBegin40 &&
49 reason <= IEEE_80211::kReasonCodeReservedEnd44) ||
50 reason >= IEEE_80211::kReasonCodeMax) {
51 SLOG(this, 1) << "Invalid reason code in disconnect message";
54 reason_enum = static_cast<IEEE_80211::WiFiReasonCode>(reason);
75 uint16_t reason = IEEE_80211::kReasonCodeUnspecified;
88 reason = frame.reason();
92 // If there's no reason code, this is probably a STA-caused disconnect and
95 NL80211_ATTR_REASON_CODE, &reason)) {
96 SLOG(this, 5) << "No reason code in disconnect message, ignoring";
103 IEEE_80211::WiFiReasonCode reason_enum = WiFiReasonCodeFromUint16(reason);