Wi-Fi 802.11 reason and status codes
Paste a line from the log of an access point, a wireless controller or a Linux client, such as reason=15 or status 17, or type a code. A reason code says why a station was deauthenticated or disassociated; a status code is the answer to an authentication or association request. The page says what the code means in plain words. It reads the text in your browser.
Reason codes
A deauthentication or disassociation frame carries a reason code. The name is the one the Linux kernel uses for the code, where it has one. Select a code to read it above.
| Code | Linux name | What it means |
|---|---|---|
| 1 | WLAN_ | Unspecified reason. |
| 2 | WLAN_ | The authentication the station had is no longer valid. |
| 3 | WLAN_ | Deauthenticated because the station that sent the frame is leaving the network, or has left it. |
| 4 | WLAN_ | Disassociated because the station was inactive. |
| 5 | WLAN_ | Disassociated because the access point cannot handle all the stations associated with it. |
| 6 | WLAN_ | The access point received a frame that needs authentication from a station that is not authenticated. |
| 7 | WLAN_ | The access point received a frame that needs association from a station that is not associated. |
| 8 | WLAN_ | Disassociated because the station that sent the frame is leaving the network, or has left it. |
| 9 | WLAN_ | The station asked to associate or reassociate without being authenticated with the access point. |
| 10 | WLAN_ | Disassociated because the information in the Power Capability element is not acceptable. |
| 11 | WLAN_ | Disassociated because the information in the Supported Channels element is not acceptable. |
| 12 | Disassociated as part of BSS transition management. | |
| 13 | WLAN_ | An element in a frame does not meet the specification. |
| 14 | WLAN_ | A message integrity code (MIC) check failed. |
| 15 | WLAN_ | The 4-way handshake, which sets up the encryption keys, timed out. |
| 16 | WLAN_ | The group key handshake timed out. |
| 17 | WLAN_ | An element in the 4-way handshake differs from the one in the (Re)Association Request, Probe Response or Beacon frame. |
| 18 | WLAN_ | The group cipher is not valid. |
| 19 | WLAN_ | The pairwise cipher is not valid. |
| 20 | WLAN_ | The authentication and key management suite (AKM) is not valid. |
| 21 | WLAN_ | The version of the RSN element is not supported. |
| 22 | WLAN_ | The capabilities in the RSN element are not valid. |
| 23 | WLAN_ | IEEE 802.1X authentication failed. |
| 24 | WLAN_ | The cipher suite was rejected because of the security policy. |
| 25 | WLAN_ | A TDLS direct link was taken down because the peer could not be reached over it. |
| 26 | WLAN_ | A TDLS direct link was taken down for an unspecified reason. |
| 27 | Disassociated because the session was ended at the request of the subscription service provider (SSP). | |
| 28 | Disassociated because there is no roaming agreement with the subscription service provider. | |
| 29 | The requested service was refused because of the cipher suite or AKM the subscription service provider requires. | |
| 30 | The requested service is not authorized in this location. | |
| 31 | A traffic stream was deleted because the QoS access point lacks the bandwidth for it after a change in the network. | |
| 32 | WLAN_ | Disassociated for an unspecified reason related to QoS. |
| 33 | WLAN_ | Disassociated because the QoS access point lacks the bandwidth for this station. |
| 34 | WLAN_ | Disassociated because too many frames need to be acknowledged and are not, because of the access point's transmissions or poor channel conditions. |
| 35 | WLAN_ | Disassociated because the station transmits outside the limits of its transmit opportunities (TXOPs). |
| 36 | WLAN_ | Requested by the peer station because it is leaving the network or resetting. |
| 37 | WLAN_ | The requesting station no longer uses the stream or session. |
| 38 | WLAN_ | The requesting station received frames for a mechanism whose setup has not been completed. |
| 39 | WLAN_ | Requested by the peer station because of a timeout. |
| 45 | WLAN_ | The peer station does not support the requested cipher suite. |
| 46 | Disassociated because the authorized access limit was reached. | |
| 47 | Disassociated because of external service requirements. | |
| 48 | The action frame count of a fast BSS transition (802.11r) is not valid. | |
| 49 | The pairwise master key identifier (PMKID) is not valid. | |
| 50 | The mobility domain element (802.11r) is not valid. | |
| 51 | The fast BSS transition element (802.11r) is not valid. | |
| 52 | WLAN_ | Mesh peering was canceled for an unknown reason. |
| 53 | WLAN_ | The mesh station has reached the most peer mesh stations it supports. |
| 54 | WLAN_ | The received information violates the mesh configuration policy of the mesh station. |
| 55 | WLAN_ | The mesh station received a Mesh Peering Close message. |
| 56 | WLAN_ | The mesh station sent Mesh Peering Open messages the most times allowed without receiving a Mesh Peering Confirm. |
| 57 | WLAN_ | The confirm timer of the mesh peering timed out. |
| 58 | WLAN_ | The mesh station could not unwrap the group key (GTK), or the wrapped values do not match. |
| 59 | WLAN_ | The mesh station received inconsistent mesh parameters in Mesh Peering Management frames. |
| 60 | WLAN_ | Authenticated mesh peering failed because no pairwise or group cipher suite could be selected. |
| 61 | WLAN_ | The mesh station has no proxy information for this external destination. |
| 62 | WLAN_ | The mesh station has no forwarding information for this destination. |
| 63 | WLAN_ | The link to the next hop of an active mesh path is no longer usable. |
| 64 | WLAN_ | Deauthenticated because the MAC address of the station already exists in the mesh network. |
| 65 | WLAN_ | The mesh station switches channel to meet regulatory requirements. |
| 66 | WLAN_ | The mesh station switches channel for an unspecified reason. |
| 67 | Setting up the link on an alternative channel failed. | |
| 68 | The alternative channel is occupied. | |
| 71 | Disassociated because the signal (RSSI) is poor. |
Status codes
The answer to an authentication, association or reassociation request carries a status code: 0 is success. Codes the standard keeps as reserved are left out, except three that older versions used.
| Code | Linux name | What it means |
|---|---|---|
| 0 | WLAN_ | The request succeeded. |
| 1 | WLAN_ | Unspecified failure. |
| 2 | The TDLS wake-up schedule was rejected, and an alternative schedule is offered. | |
| 3 | The TDLS wake-up schedule was rejected. | |
| 5 | Security is disabled. | |
| 6 | The lifetime is not acceptable. | |
| 7 | The stations are not in the same network (BSS). | |
| 10 | WLAN_ | Not all the capabilities requested in the Capability Information field can be supported. |
| 11 | WLAN_ | Reassociation denied because the access point cannot confirm that an association exists. |
| 12 | WLAN_ | Association denied for a reason that the 802.11 standard does not cover. |
| 13 | WLAN_ | The responding station does not support the authentication algorithm asked for. |
| 14 | WLAN_ | An Authentication frame arrived with a transaction sequence number out of order. |
| 15 | WLAN_ | Authentication rejected because the challenge failed. |
| 16 | WLAN_ | Authentication rejected because of a timeout while waiting for the next frame. |
| 17 | WLAN_ | Association denied because the access point cannot take more stations. |
| 18 | WLAN_ | Association denied because the station does not support all the basic rates of the network, or its basic HT or VHT MCS sets. |
| 19 | WLAN_ | Association denied because the station does not support the short preamble. |
| 20 | WLAN_ | Reserved in the current standard. 802.11b used it when the station did not support PBCC modulation. |
| 21 | WLAN_ | Reserved in the current standard. 802.11b used it when the station did not support channel agility. |
| 22 | WLAN_ | Association rejected because spectrum management capability is required. |
| 23 | WLAN_ | Association rejected because the information in the Power Capability element is not acceptable. |
| 24 | WLAN_ | Association rejected because the information in the Supported Channels element is not acceptable. |
| 25 | WLAN_ | Association denied because the station does not support the short slot time. |
| 26 | WLAN_ | Reserved in the current standard. 802.11g used it when the station did not support DSSS-OFDM. |
| 27 | Association denied because the station does not support HT (802.11n) features. | |
| 28 | The R0 key holder of the fast BSS transition (802.11r) cannot be reached. | |
| 30 | WLAN_ | Association rejected for now; the station should try again later. Protected management frames (802.11w) use it. |
| 31 | WLAN_ | The robust management frame policy was violated (protected management frames, 802.11w). |
| 32 | WLAN_ | Failed for an unspecified reason related to QoS. |
| 33 | WLAN_ | Association denied because the QoS access point lacks the bandwidth for another QoS station. |
| 34 | WLAN_ | Association denied because of excessive frame loss or poor conditions on the current channel. |
| 35 | WLAN_ | Association denied because the station does not support QoS, which this network requires. |
| 37 | WLAN_ | The request was declined. |
| 38 | WLAN_ | The request failed because one or more of its parameters have invalid values. |
| 39 | WLAN_ | The traffic stream or allocation was not created, and a suggested TSPEC is offered so the station can try again with changes. |
| 40 | WLAN_ | An element does not meet the specification. |
| 41 | WLAN_ | The group cipher is not valid. |
| 42 | WLAN_ | The pairwise cipher is not valid. |
| 43 | WLAN_ | The authentication and key management suite (AKM) is not valid. |
| 44 | WLAN_ | The version of the RSN element is not supported. |
| 45 | WLAN_ | The capabilities in the RSN element are not valid. |
| 46 | WLAN_ | The cipher suite was rejected because of the security policy. |
| 47 | WLAN_ | The traffic stream or allocation was not created; the station may ask again after the delay given in the TS Delay element. |
| 49 | WLAN_ | The destination station is not in this network. |
| 50 | WLAN_ | The destination station is not a QoS station. |
| 51 | Association denied because the listen interval is too large. | |
| 52 | The action frame count of a fast BSS transition (802.11r) is not valid. | |
| 53 | The pairwise master key identifier (PMKID) is not valid. | |
| 54 | The mobility domain element (802.11r) is not valid. | |
| 55 | The fast BSS transition element (802.11r) is not valid. | |
| 56 | The access point does not support the TCLAS processing asked for. | |
| 57 | The access point lacks the TCLAS processing resources the request needs. | |
| 58 | The traffic stream was not created; the network suggests that the station move to another access point to set it up. | |
| 59 | The GAS advertisement protocol asked for is not supported. | |
| 60 | No GAS request is outstanding. | |
| 61 | No GAS response came from the advertisement server. | |
| 62 | The station timed out waiting for the GAS query response. | |
| 63 | The GAS response is larger than the query response length limit. | |
| 64 | Refused because the home network does not support the request. | |
| 65 | The advertisement server in the network cannot be reached now. | |
| 67 | Refused because of permissions received over the SSPN interface. | |
| 68 | Refused because the access point does not support unauthenticated access. | |
| 72 | The contents of the RSN element are not valid, for a reason other than its version, its capabilities, the AKM or the pairwise cipher. | |
| 73 | U-APSD coexistence is not supported. | |
| 74 | The U-APSD coexistence mode asked for is not supported. | |
| 75 | The interval or duration asked for cannot be supported with U-APSD coexistence. | |
| 76 | WLAN_ | Authentication rejected because an anti-clogging token is required (SAE). |
| 77 | Authentication rejected because the finite cyclic group offered for SAE is not supported. | |
| 78 | WLAN_ | The TBTT adjustment request failed because no alternative TBTT was found. |
| 79 | Transmission failure. | |
| 80 | The TCLAS asked for is not supported. | |
| 81 | The TCLAS resources are exhausted. | |
| 82 | Rejected, with a suggested transition to another access point. | |
| 83 | WLAN_ | Rejected, with a recommended schedule. |
| 84 | Rejected because no wake-up schedule was given. | |
| 85 | Success; the destination station is in power save mode. | |
| 86 | WLAN_ | Fast session transfer pending: the session is being admitted. |
| 87 | WLAN_ | The fast session transfer is being performed now. |
| 88 | WLAN_ | Fast session transfer pending: there are gaps in the block ack window. |
| 89 | WLAN_ | Rejected because of the U-PID setting. |
| 92 | Association or reassociation refused for an external reason. | |
| 93 | Association or reassociation refused because of memory limits at the access point. | |
| 94 | Association or reassociation refused because the access point does not support emergency services. | |
| 95 | The GAS query response has not been received yet. | |
| 96 | WLAN_ | Rejected because the transition is to a band under DSE procedures and the FST initiator is a dependent station. |
| 97 | The access point ended the TCLAS processing asked for. | |
| 98 | The traffic stream schedule conflicts with an existing one; an alternative schedule is offered. | |
| 99 | WLAN_ | Association denied, but Multi-band elements are included that the station can use to join the network. |
| 100 | The request failed because of a reservation conflict. | |
| 101 | The request failed because the MAF limit was exceeded. | |
| 102 | The request failed because the MCCA track limit was exceeded. | |
| 103 | WLAN_ | Association denied because the information in the Spectrum Management field is not acceptable. |
| 104 | Association denied because the station does not support VHT (802.11ac) features. | |
| 105 | Enablement denied. | |
| 106 | Enablement denied because of a restriction from an authorized geolocation database. | |
| 107 | Authorization was deenabled. | |
| 108 | Association or reassociation refused, or the station disassociated, because the access point does not support energy-limited operation. | |
| 109 | WLAN_ | Block ack negotiation refused because the recipient prefers to send only NDP BlockAck frames. |
| 110 | Association denied, or the station disassociated, because the suggested maximum away duration is not acceptable. | |
| 111 | Association or reassociation refused, or the station disassociated, because the station does not support flow control. | |
| 112 | WLAN_ | Authentication rejected because FILS authentication failed. |
| 113 | WLAN_ | Authentication rejected because the authentication server is unknown. |
| 116 | Denied because the notification period could not be allocated. | |
| 117 | Denied because the channel splitting request failed. | |
| 118 | Denied because the allocation request failed. | |
| 119 | Association denied because the station does not support CMMG features. | |
| 120 | The GAS fragment asked for is not available. | |
| 121 | Success: the CAG version of the station is the latest the server provides. | |
| 122 | The station is not authorized to use GLK by local policy. | |
| 123 | Authentication rejected because the password identifier (SAE) is unknown. | |
| 125 | Denied because the source address of the request does not follow the local MAC address policy. | |
| 126 | WLAN_ | SAE uses hash-to-element: the password element is found by direct hashing instead of looping. |
| 128 | The access point ended the TCLAS processing because of insufficient QoS capacity. | |
| 129 | The access point ended the TCLAS processing because of a conflict with higher layer QoS policies. | |
| 130 | Association denied because the station belongs to a non-AP MLD that is already associated with the AP MLD (802.11be). | |
| 131 | EPCS priority access denied because the non-AP MLD is not authorized to use it. | |
| 132 | EPCS priority access denied for a reason outside the standard. | |
| 133 | WLAN_ | Denied because the TID-to-link mapping asked for is not acceptable. |
| 134 | WLAN_ | A preferred TID-to-link mapping is suggested. |
| 135 | Association denied because the station does not support EHT (802.11be) features. | |
| 139 | The link on which the (Re)Association Request was sent is not accepted. | |
| 140 | EPCS priority access denied for now, because the AP MLD cannot verify that the non-AP MLD is authorized. | |
| 141 | The operation parameter update was denied because the parameters or capabilities asked for are not acceptable. | |
| 142 | The MAC address of the station is already used by an associated station. |
Windows reason codes are a different list
The WLAN AutoConfig events of Windows give a reason of their own, a WLAN_REASON_CODE such as 0x00050007. Those are Windows codes, not 802.11 codes: a program turns them into text with WlanReasonCodeToString, and Microsoft's documentation of WLAN_REASON_CODE lists them.
Sources
- Codes: the reason code and status code tables of the IEEE 802.11 standard, as Wireshark's 802.11 dissector lists them. The meanings are written here in plain words.
- Names: the reason code and status code lists in ieee80211.h of the Linux kernel.
- Windows: Microsoft's documentation of WLAN_REASON_CODE.
More Network tools
-
CIDR subnet calculator
Network, broadcast, host range, subnet mask and wildcard mask for IPv4 and IPv6 prefixes.
-
IP range to CIDR converter
Turn a range such as 10.0.0.5-10.0.0.70 into CIDR blocks, merge a list of blocks, and check whether an address is in it.
-
IP address type checker
See whether an address is private, CGNAT, link-local, loopback, documentation, multicast or public, with its RFC.
-
IPv6 expander, compressor and reverse name
Write an IPv6 address in full or in its shortest form, get its ip6.arpa name, or build one from a MAC address.
-
MAC address format converter
Convert MAC addresses between colons, dashes, Cisco's dotted form and plain hex, and read the multicast and local bits.
-
MTU and MSS calculator
Work out the MTU and TCP MSS inside PPPoE, GRE, VXLAN, WireGuard and IPsec, with ping commands that test them.
-
Port number lookup
Look up a port such as 445 or 5985, or a service name, in IANA's registry, with what Windows and Active Directory use it for.
-
DHCP option encoder and decoder
Build or read the hex of option 121 and 249 static routes, option 119 search lists and option 43 for Cisco and UniFi.
-
NPS reason code lookup
Read why Network Policy Server denied a request: events 6273 and 6274, and reason codes such as 16, 48 and 65.
-
DSCP and ToS converter
Convert DSCP, ToS and CoS values, with the Wi-Fi priorities of RFC 8325 and the Teams QoS markings.