iPXE
Macros
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...

Macros

#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.

Macro Definition Documentation

◆ IEEE80211_REASON_NONE

#define IEEE80211_REASON_NONE   0

Definition at line 511 of file ieee80211.h.

◆ IEEE80211_REASON_UNSPECIFIED

#define IEEE80211_REASON_UNSPECIFIED   1

Definition at line 512 of file ieee80211.h.

◆ IEEE80211_REASON_AUTH_NO_LONGER_VALID

#define IEEE80211_REASON_AUTH_NO_LONGER_VALID   2

Definition at line 513 of file ieee80211.h.

◆ IEEE80211_REASON_LEAVING

#define IEEE80211_REASON_LEAVING   3

Definition at line 514 of file ieee80211.h.

◆ IEEE80211_REASON_INACTIVITY

#define IEEE80211_REASON_INACTIVITY   4

Definition at line 515 of file ieee80211.h.

◆ IEEE80211_REASON_OUT_OF_RESOURCES

#define IEEE80211_REASON_OUT_OF_RESOURCES   5

Definition at line 516 of file ieee80211.h.

◆ IEEE80211_REASON_NEED_AUTH

#define IEEE80211_REASON_NEED_AUTH   6

Definition at line 517 of file ieee80211.h.

◆ IEEE80211_REASON_NEED_ASSOC

#define IEEE80211_REASON_NEED_ASSOC   7

Definition at line 518 of file ieee80211.h.

◆ IEEE80211_REASON_LEAVING_TO_ROAM

#define IEEE80211_REASON_LEAVING_TO_ROAM   8

Definition at line 519 of file ieee80211.h.

◆ IEEE80211_REASON_REASSOC_INVALID

#define IEEE80211_REASON_REASSOC_INVALID   9

Definition at line 520 of file ieee80211.h.

◆ IEEE80211_REASON_BAD_POWER

#define IEEE80211_REASON_BAD_POWER   10

Definition at line 521 of file ieee80211.h.

◆ IEEE80211_REASON_BAD_CHANNELS

#define IEEE80211_REASON_BAD_CHANNELS   11

Definition at line 522 of file ieee80211.h.

◆ IEEE80211_REASON_INVALID_IE

#define IEEE80211_REASON_INVALID_IE   13

Definition at line 523 of file ieee80211.h.

◆ IEEE80211_REASON_MIC_FAILURE

#define IEEE80211_REASON_MIC_FAILURE   14

Definition at line 524 of file ieee80211.h.

◆ IEEE80211_REASON_4WAY_TIMEOUT

#define IEEE80211_REASON_4WAY_TIMEOUT   15

Definition at line 525 of file ieee80211.h.

◆ IEEE80211_REASON_GROUPKEY_TIMEOUT

#define IEEE80211_REASON_GROUPKEY_TIMEOUT   16

Definition at line 526 of file ieee80211.h.

◆ IEEE80211_REASON_4WAY_INVALID

#define IEEE80211_REASON_4WAY_INVALID   17

Definition at line 527 of file ieee80211.h.

◆ IEEE80211_REASON_GROUP_CIPHER_INVALID

#define IEEE80211_REASON_GROUP_CIPHER_INVALID   18

Definition at line 528 of file ieee80211.h.

◆ IEEE80211_REASON_PAIR_CIPHER_INVALID

#define IEEE80211_REASON_PAIR_CIPHER_INVALID   19

Definition at line 529 of file ieee80211.h.

◆ IEEE80211_REASON_AKMP_INVALID

#define IEEE80211_REASON_AKMP_INVALID   20

Definition at line 530 of file ieee80211.h.

◆ IEEE80211_REASON_RSN_VERSION_INVALID

#define IEEE80211_REASON_RSN_VERSION_INVALID   21

Definition at line 531 of file ieee80211.h.

◆ IEEE80211_REASON_RSN_CAPAB_INVALID

#define IEEE80211_REASON_RSN_CAPAB_INVALID   22

Definition at line 532 of file ieee80211.h.

◆ IEEE80211_REASON_8021X_FAILURE

#define IEEE80211_REASON_8021X_FAILURE   23

Definition at line 533 of file ieee80211.h.

◆ IEEE80211_REASON_CIPHER_REJECTED

#define IEEE80211_REASON_CIPHER_REJECTED   24

Definition at line 534 of file ieee80211.h.

◆ IEEE80211_REASON_QOS_UNSPECIFIED

#define IEEE80211_REASON_QOS_UNSPECIFIED   32

Definition at line 535 of file ieee80211.h.

◆ IEEE80211_REASON_QOS_OUT_OF_RESOURCES

#define IEEE80211_REASON_QOS_OUT_OF_RESOURCES   33

Definition at line 536 of file ieee80211.h.

◆ IEEE80211_REASON_LINK_IS_HORRIBLE

#define IEEE80211_REASON_LINK_IS_HORRIBLE   34

Definition at line 537 of file ieee80211.h.

◆ IEEE80211_REASON_INVALID_TXOP

#define IEEE80211_REASON_INVALID_TXOP   35

Definition at line 538 of file ieee80211.h.

◆ IEEE80211_REASON_REQUESTED_LEAVING

#define IEEE80211_REASON_REQUESTED_LEAVING   36

Definition at line 539 of file ieee80211.h.

◆ IEEE80211_REASON_REQUESTED_NO_USE

#define IEEE80211_REASON_REQUESTED_NO_USE   37

Definition at line 540 of file ieee80211.h.

◆ IEEE80211_REASON_REQUESTED_NEED_SETUP

#define IEEE80211_REASON_REQUESTED_NEED_SETUP   38

Definition at line 541 of file ieee80211.h.

◆ IEEE80211_REASON_REQUESTED_TIMEOUT

#define IEEE80211_REASON_REQUESTED_TIMEOUT   39

Definition at line 542 of file ieee80211.h.

◆ IEEE80211_REASON_CIPHER_UNSUPPORTED

#define IEEE80211_REASON_CIPHER_UNSUPPORTED   45

Definition at line 543 of file ieee80211.h.