Linux WiFi: Deauthenticated Reason Codes. OnDeauth error code

CodeReasonExplanation
0ReservedNormal working operation
1

Unspecific Reason

(WLAN_REASON_UNSPECIFIED)

We don’t know what’s wrong
2

Previous authentication no longer valid

(WLAN_REASON_PREV_AUTH_NOT_VALID)

Client has associated but is not authorised.
3

Deauthenticated because sending STA is leaving (or has left) IBSS or ESS

(WLAN_REASON_DEAUTH_LEAVING)

The access point went offline, deauthenticating the client.
4

Disassociated due to inactivity

(WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY)

Client session timeout exceeded.
5

Disassociated because AP is unable to handle all currently associated STAs

(WLAN_REASON_DISASSOC_AP_BUSY)

The access point is busy, performing load balancing, for example.
6

Class 2 frame received from nonauthenticated STA

(WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA)

Client attempted to transfer data before it was authenticated.
7

Class 3 frame received from nonassociated STA

(WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA)

Client attempted to transfer data before it was associated.
8

Disassociated because sending STA is leaving (or has left) BSS

(WLAN_REASON_DISASSOC_STA_HAS_LEFT)

Operating System moved the client to another access point using non-aggressive load balancing.
9

STA requesting (re)association is not authenticated with responding STA

(WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH)

Client not authorized yet, still attempting to associate with an access point.
10Disassociated because the information in the Power Capability element is unacceptable 
11Disassociated because the information in the Supported Channels element is unacceptable 
12ReservedNot Used or Special Purpose
13Invalid information element. 
14Message integrity code (MIC) failure 
154-Way Handshake timeout 
16Group Key Handshake timeout 
17Information element in 4-Way Handshake different from (Re)Association Request/Probe
Response/Beacon frame
 
18Invalid group cipher
or
Association denied due to requesting STA not supporting all of the data rates in the BSSBasicRateSet parameter
*NEW*
The link speed requested by the client or AP is incompatible. (i,e. trying to operate N only speeds on a G AP)
19Invalid pairwise cipher 
20Invalid AKMP 
21Unsupported RSN information element version 
22Invalid RSN information element capabilities 
23IEEE 802.1X authentication failed 
24Cipher suite rejected because of the security policy 
25-31ReservedNot Used or Special Purpose
32Disassociated for unspecified, QoS-related reasonQuality of Service has denied the action.
33Disassociated because QoS AP lacks sufficient bandwidth for this QoS STA 
34Disassociated because excessive number of frames need to be acknowledged, but are not
acknowledged due to AP transmissions and/or poor channel conditions
 
35Disassociated because STA is transmitting outside the limits of its TXOPs 
36Requested from peer STA as the STA is leaving the BSS (or resetting) 
37Requested from peer STA as it does not want to use the mechanism 
38Requested from peer STA as the STA received frames using the mechanism for which a
setup is required
 
39Requested from peer STA due to timeout 
45Peer STA does not support the requested cipher suite 
45-65

Reserved

(for Realtek)

#define WLAN_REASON_MESH_PEER_CANCELED 52
#define WLAN_REASON_MESH_MAX_PEERS 53
#define WLAN_REASON_MESH_CONFIG 54
#define WLAN_REASON_MESH_CLOSE 55
#define WLAN_REASON_MESH_MAX_RETRIES 56 
#define WLAN_REASON_MESH_CONFIRM_TIMEOUT 57
#define WLAN_REASON_MESH_INVALID_GTK 58
#define WLAN_REASON_MESH_INCONSISTENT_PARAM 59
#define WLAN_REASON_MESH_INVALID_SECURITY 60
#define WLAN_REASON_MESH_PATH_NOPROXY 61
#define WLAN_REASON_MESH_PATH_NOFORWARD 62
#define WLAN_REASON_MESH_PATH_DEST_UNREACHABLE 63
#define WLAN_REASON_MAC_EXISTS_IN_MBSS 64
#define WLAN_REASON_MESH_CHAN_REGULATORY 65
#define WLAN_REASON_MESH_CHAN 66
#define WLAN_REASON_SA_QUERY_TIMEOUT 65532
#define WLAN_REASON_ACTIVE_ROAM 65533
#define WLAN_REASON_JOIN_WRONG_CHANNEL       65534
#define WLAN_REASON_EXPIRATION_CHK 65535

Not Used or Special Purpose
99 Typically “No Reason Code” / Unknown State
535ReservedNot Used or Special Purpose

The first few reason codes where helpful while debugging my wifi related issues.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值