iPXE
Defines
802.11 reason codes

These are returned to indicate the reason for a deauthentication or disassociation sent (usually) after authentication or association had succeeded. More...

Defines

#define IEEE80211_REASON_NONE   0
#define IEEE80211_REASON_UNSPECIFIED   1
#define IEEE80211_REASON_AUTH_NO_LONGER_VALID   2
#define IEEE80211_REASON_LEAVING   3
#define IEEE80211_REASON_INACTIVITY   4
#define IEEE80211_REASON_OUT_OF_RESOURCES   5
#define IEEE80211_REASON_NEED_AUTH   6
#define IEEE80211_REASON_NEED_ASSOC   7
#define IEEE80211_REASON_LEAVING_TO_ROAM   8
#define IEEE80211_REASON_REASSOC_INVALID   9
#define IEEE80211_REASON_BAD_POWER   10
#define IEEE80211_REASON_BAD_CHANNELS   11
#define IEEE80211_REASON_INVALID_IE   13
#define IEEE80211_REASON_MIC_FAILURE   14
#define IEEE80211_REASON_4WAY_TIMEOUT   15
#define IEEE80211_REASON_GROUPKEY_TIMEOUT   16
#define IEEE80211_REASON_4WAY_INVALID   17
#define IEEE80211_REASON_GROUP_CIPHER_INVALID   18
#define IEEE80211_REASON_PAIR_CIPHER_INVALID   19
#define IEEE80211_REASON_AKMP_INVALID   20
#define IEEE80211_REASON_RSN_VERSION_INVALID   21
#define IEEE80211_REASON_RSN_CAPAB_INVALID   22
#define IEEE80211_REASON_8021X_FAILURE   23
#define IEEE80211_REASON_CIPHER_REJECTED   24
#define IEEE80211_REASON_QOS_UNSPECIFIED   32
#define IEEE80211_REASON_QOS_OUT_OF_RESOURCES   33
#define IEEE80211_REASON_LINK_IS_HORRIBLE   34
#define IEEE80211_REASON_INVALID_TXOP   35
#define IEEE80211_REASON_REQUESTED_LEAVING   36
#define IEEE80211_REASON_REQUESTED_NO_USE   37
#define IEEE80211_REASON_REQUESTED_NEED_SETUP   38
#define IEEE80211_REASON_REQUESTED_TIMEOUT   39
#define IEEE80211_REASON_CIPHER_UNSUPPORTED   45

Detailed Description

These are returned to indicate the reason for a deauthentication or disassociation sent (usually) after authentication or association had succeeded.

In iPXE, the lower 5 bits of the reason code are encoded into the file-unique portion of an error code, the ERRFILE portion is always ERRFILE_net80211, and the POSIX error code is ECONNRESET for reason 0-31 or ENETRESET for reason 32-63.

For a complete table with non-abbreviated error messages, see IEEE Std 802.11-2007, Table 7-22, p.92.


Define Documentation

#define IEEE80211_REASON_NONE   0

Definition at line 511 of file ieee80211.h.

Definition at line 512 of file ieee80211.h.

Referenced by net80211_deauthenticate().

Definition at line 513 of file ieee80211.h.

#define IEEE80211_REASON_LEAVING   3

Definition at line 514 of file ieee80211.h.

Referenced by net80211_netdev_close().

Definition at line 515 of file ieee80211.h.

Definition at line 516 of file ieee80211.h.

Definition at line 517 of file ieee80211.h.

Definition at line 518 of file ieee80211.h.

Definition at line 519 of file ieee80211.h.

Definition at line 520 of file ieee80211.h.

#define IEEE80211_REASON_BAD_POWER   10

Definition at line 521 of file ieee80211.h.

Definition at line 522 of file ieee80211.h.

#define IEEE80211_REASON_INVALID_IE   13

Definition at line 523 of file ieee80211.h.

Definition at line 524 of file ieee80211.h.

Definition at line 525 of file ieee80211.h.

Definition at line 526 of file ieee80211.h.

Definition at line 527 of file ieee80211.h.

Definition at line 528 of file ieee80211.h.

Definition at line 529 of file ieee80211.h.

Definition at line 530 of file ieee80211.h.

Definition at line 531 of file ieee80211.h.

Definition at line 532 of file ieee80211.h.

Definition at line 533 of file ieee80211.h.

Definition at line 534 of file ieee80211.h.

Definition at line 535 of file ieee80211.h.

Definition at line 536 of file ieee80211.h.

Definition at line 537 of file ieee80211.h.

Definition at line 538 of file ieee80211.h.

Definition at line 539 of file ieee80211.h.

Definition at line 540 of file ieee80211.h.

Definition at line 541 of file ieee80211.h.

Definition at line 542 of file ieee80211.h.

Definition at line 543 of file ieee80211.h.