INET Framework for OMNeT++/OMNEST
ieee80211.h File Reference

Classes

struct  ieee80211_plcp_hdr
 
struct  ieee80211_frame
 
struct  ieee80211_qosframe
 
struct  ieee80211_qoscntl
 
struct  ieee80211_frame_addr4
 
struct  ieee80211_qosframe_addr4
 
struct  ieee80211_wme_info
 
struct  ieee80211_wme_tspec
 
struct  ieee80211_wme_acparams
 
struct  ieee80211_wme_param
 
struct  ieee80211_mnf
 
struct  ieee80211_action
 
struct  ieee80211_action_ht_txchwidth
 
struct  ieee80211_action_ht_mimopowersave
 
struct  ieee80211_action_ba_addbarequest
 
struct  ieee80211_action_ba_addbaresponse
 
struct  ieee80211_action_ba_delba
 
struct  ieee80211_ba_request
 
struct  ieee80211_frame_min
 
struct  ieee80211_frame_rts
 
struct  ieee80211_frame_cts
 
struct  ieee80211_frame_ack
 
struct  ieee80211_frame_pspoll
 
struct  ieee80211_frame_cfend
 
struct  ieee80211_frame_bar
 
struct  ieee80211_ie_wpa
 
struct  ieee80211_ie_htcap
 
struct  ieee80211_ie_htinfo
 
struct  ieee80211_tim_ie
 
struct  ieee80211_country_ie
 
struct  ieee80211_quiet_ie
 
struct  ieee80211_csa_ie
 
struct  ieee80211_duration
 

Macros

#define __PACKED__   __attribute__((packed))
 
#define IEEE80211_ADDR_LEN   6 /* size of 802.11 address */
 
#define IEEE80211_IS_MULTICAST(_a)   (*(_a) & 0x01)
 
#define IEEE80211_PLCP_SFD   0xF3A0
 
#define IEEE80211_PLCP_SERVICE   0x00
 
#define IEEE80211_PLCP_SERVICE_LOCKED   0x04
 
#define IEEE80211_PLCL_SERVICE_PBCC   0x08
 
#define IEEE80211_PLCP_SERVICE_LENEXT5   0x20
 
#define IEEE80211_PLCP_SERVICE_LENEXT6   0x40
 
#define IEEE80211_PLCP_SERVICE_LENEXT7   0x80
 
#define IEEE80211_FC0_VERSION_MASK   0x03
 
#define IEEE80211_FC0_VERSION_SHIFT   0
 
#define IEEE80211_FC0_VERSION_0   0x00
 
#define IEEE80211_FC0_TYPE_MASK   0x0c
 
#define IEEE80211_FC0_TYPE_SHIFT   2
 
#define IEEE80211_FC0_TYPE_MGT   0x00
 
#define IEEE80211_FC0_TYPE_CTL   0x04
 
#define IEEE80211_FC0_TYPE_DATA   0x08
 
#define IEEE80211_FC0_SUBTYPE_MASK   0xf0
 
#define IEEE80211_FC0_SUBTYPE_SHIFT   4
 
#define IEEE80211_FC0_SUBTYPE_ASSOC_REQ   0x00
 
#define IEEE80211_FC0_SUBTYPE_ASSOC_RESP   0x10
 
#define IEEE80211_FC0_SUBTYPE_REASSOC_REQ   0x20
 
#define IEEE80211_FC0_SUBTYPE_REASSOC_RESP   0x30
 
#define IEEE80211_FC0_SUBTYPE_PROBE_REQ   0x40
 
#define IEEE80211_FC0_SUBTYPE_PROBE_RESP   0x50
 
#define IEEE80211_FC0_SUBTYPE_BEACON   0x80
 
#define IEEE80211_FC0_SUBTYPE_ATIM   0x90
 
#define IEEE80211_FC0_SUBTYPE_DISASSOC   0xa0
 
#define IEEE80211_FC0_SUBTYPE_AUTH   0xb0
 
#define IEEE80211_FC0_SUBTYPE_DEAUTH   0xc0
 
#define IEEE80211_FC0_SUBTYPE_ACTION   0xd0
 
#define IEEE80211_FC0_SUBTYPE_ACTION_NOACK   0xe0
 
#define IEEE80211_FC0_SUBTYPE_BAR   0x80
 
#define IEEE80211_FC0_SUBTYPE_BA   0x90
 
#define IEEE80211_FC0_SUBTYPE_PS_POLL   0xa0
 
#define IEEE80211_FC0_SUBTYPE_RTS   0xb0
 
#define IEEE80211_FC0_SUBTYPE_CTS   0xc0
 
#define IEEE80211_FC0_SUBTYPE_ACK   0xd0
 
#define IEEE80211_FC0_SUBTYPE_CF_END   0xe0
 
#define IEEE80211_FC0_SUBTYPE_CF_END_ACK   0xf0
 
#define IEEE80211_FC0_SUBTYPE_DATA   0x00
 
#define IEEE80211_FC0_SUBTYPE_CF_ACK   0x10
 
#define IEEE80211_FC0_SUBTYPE_CF_POLL   0x20
 
#define IEEE80211_FC0_SUBTYPE_CF_ACPL   0x30
 
#define IEEE80211_FC0_SUBTYPE_NODATA   0x40
 
#define IEEE80211_FC0_SUBTYPE_CFACK   0x50
 
#define IEEE80211_FC0_SUBTYPE_CFPOLL   0x60
 
#define IEEE80211_FC0_SUBTYPE_CF_ACK_CF_ACK   0x70
 
#define IEEE80211_FC0_SUBTYPE_QOS   0x80
 
#define IEEE80211_FC0_SUBTYPE_QOS_NULL   0xc0
 
#define IEEE80211_FC1_DIR_MASK   0x03
 
#define IEEE80211_FC1_DIR_NODS   0x00 /* STA->STA */
 
#define IEEE80211_FC1_DIR_TODS   0x01 /* STA->AP */
 
#define IEEE80211_FC1_DIR_FROMDS   0x02 /* AP ->STA */
 
#define IEEE80211_FC1_DIR_DSTODS   0x03 /* AP ->AP */
 
#define IEEE80211_IS_DSTODS(wh)   (((wh)->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
 
#define IEEE80211_FC1_MORE_FRAG   0x04
 
#define IEEE80211_FC1_RETRY   0x08
 
#define IEEE80211_FC1_PWR_MGT   0x10
 
#define IEEE80211_FC1_MORE_DATA   0x20
 
#define IEEE80211_FC1_PROTECTED   0x40
 
#define IEEE80211_FC1_ORDER   0x80
 
#define IEEE80211_SEQ_FRAG_MASK   0x000f
 
#define IEEE80211_SEQ_FRAG_SHIFT   0
 
#define IEEE80211_SEQ_SEQ_MASK   0xfff0
 
#define IEEE80211_SEQ_SEQ_SHIFT   4
 
#define IEEE80211_SEQ_RANGE   4096
 
#define IEEE80211_SEQ_ADD(seq, incr)   (((seq) + (incr)) & (IEEE80211_SEQ_RANGE-1))
 
#define IEEE80211_SEQ_INC(seq)   IEEE80211_SEQ_ADD(seq,1)
 
#define IEEE80211_SEQ_SUB(a, b)   (((a) + IEEE80211_SEQ_RANGE - (b)) & (IEEE80211_SEQ_RANGE-1))
 
#define IEEE80211_SEQ_BA_RANGE   2048 /* 2^11 */
 
#define IEEE80211_SEQ_BA_BEFORE(a, b)   (IEEE80211_SEQ_SUB(b, a+1) < IEEE80211_SEQ_BA_RANGE-1)
 
#define IEEE80211_NWID_LEN   32
 
#define IEEE80211_MESHID_LEN   32
 
#define IEEE80211_QOS_TXOP   0x00ff
 
#define IEEE80211_QOS_AMSDU   0x80
 
#define IEEE80211_QOS_AMSDU_S   7
 
#define IEEE80211_QOS_ACKPOLICY   0x60
 
#define IEEE80211_QOS_ACKPOLICY_S   5
 
#define IEEE80211_QOS_ACKPOLICY_NOACK   0x20 /* No ACK required */
 
#define IEEE80211_QOS_ACKPOLICY_BA   0x60 /* Block ACK */
 
#define IEEE80211_QOS_EOSP   0x10 /* EndOfService Period*/
 
#define IEEE80211_QOS_EOSP_S   4
 
#define IEEE80211_QOS_TID   0x0f
 
#define IEEE80211_QOS_MC   0x01 /* Mesh control */
 
#define IEEE80211_QOS_MESH_PSL   0x02
 
#define IEEE80211_QOS_RSPI   0x04
 
#define IEEE80211_QOS_HAS_SEQ(wh)
 
#define WME_NUM_AC   4 /* 4 AC categories */
 
#define WME_NUM_TID   16 /* 16 tids */
 
#define WME_PARAM_ACI   0x60 /* Mask for ACI field */
 
#define WME_PARAM_ACI_S   5 /* Shift for ACI field */
 
#define WME_PARAM_ACM   0x10 /* Mask for ACM bit */
 
#define WME_PARAM_ACM_S   4 /* Shift for ACM bit */
 
#define WME_PARAM_AIFSN   0x0f /* Mask for aifsn field */
 
#define WME_PARAM_AIFSN_S   0 /* Shift for aifsn field */
 
#define WME_PARAM_LOGCWMIN   0x0f /* Mask for CwMin field (in log) */
 
#define WME_PARAM_LOGCWMIN_S   0 /* Shift for CwMin field */
 
#define WME_PARAM_LOGCWMAX   0xf0 /* Mask for CwMax field (in log) */
 
#define WME_PARAM_LOGCWMAX_S   4 /* Shift for CwMax field */
 
#define WME_AC_TO_TID(_ac)
 
#define TID_TO_WME_AC(_tid)
 
#define WME_QOSINFO_COUNT   0x0f /* Mask for param count field */
 
#define MNF_SETUP_REQ   0
 
#define MNF_SETUP_RESP   1
 
#define MNF_TEARDOWN   2
 
#define IEEE80211_ACTION_CAT_SM   0 /* Spectrum Management */
 
#define IEEE80211_ACTION_CAT_QOS   1 /* QoS */
 
#define IEEE80211_ACTION_CAT_DLS   2 /* DLS */
 
#define IEEE80211_ACTION_CAT_BA   3 /* BA */
 
#define IEEE80211_ACTION_CAT_HT   7 /* HT */
 
#define IEEE80211_ACTION_CAT_MESH   13 /* Mesh */
 
#define IEEE80211_ACTION_CAT_SELF_PROT   15 /* Self-protected */
 
#define IEEE80211_ACTION_CAT_VENDOR   127 /* Vendor Specific */
 
#define IEEE80211_ACTION_HT_TXCHWIDTH   0 /* recommended xmit chan width*/
 
#define IEEE80211_ACTION_HT_MIMOPWRSAVE   1 /* MIMO power save */
 
#define IEEE80211_A_HT_TXCHWIDTH_20   0
 
#define IEEE80211_A_HT_TXCHWIDTH_2040   1
 
#define IEEE80211_A_HT_MIMOPWRSAVE_ENA   0x01 /* PS enabled */
 
#define IEEE80211_A_HT_MIMOPWRSAVE_MODE   0x02
 
#define IEEE80211_A_HT_MIMOPWRSAVE_MODE_S   1
 
#define IEEE80211_A_HT_MIMOPWRSAVE_DYNAMIC   0x02 /* Dynamic Mode */
 
#define IEEE80211_A_HT_MIMOPWRSAVE_STATIC   0x00 /* no SM packets */
 
#define IEEE80211_ACTION_BA_ADDBA_REQUEST   0 /* ADDBA request */
 
#define IEEE80211_ACTION_BA_ADDBA_RESPONSE   1 /* ADDBA response */
 
#define IEEE80211_ACTION_BA_DELBA   2 /* DELBA */
 
#define IEEE80211_BAPS_BUFSIZ   0xffc0 /* buffer size */
 
#define IEEE80211_BAPS_BUFSIZ_S   6
 
#define IEEE80211_BAPS_TID   0x003c /* TID */
 
#define IEEE80211_BAPS_TID_S   2
 
#define IEEE80211_BAPS_POLICY   0x0002 /* block ack policy */
 
#define IEEE80211_BAPS_POLICY_S   1
 
#define IEEE80211_BAPS_POLICY_DELAYED   (0<<IEEE80211_BAPS_POLICY_S)
 
#define IEEE80211_BAPS_POLICY_IMMEDIATE   (1<<IEEE80211_BAPS_POLICY_S)
 
#define IEEE80211_BASEQ_START   0xfff0 /* starting seqnum */
 
#define IEEE80211_BASEQ_START_S   4
 
#define IEEE80211_BASEQ_FRAG   0x000f /* fragment number */
 
#define IEEE80211_BASEQ_FRAG_S   0
 
#define IEEE80211_DELBAPS_TID   0xf000 /* TID */
 
#define IEEE80211_DELBAPS_TID_S   12
 
#define IEEE80211_DELBAPS_INIT   0x0800 /* initiator */
 
#define IEEE80211_DELBAPS_INIT_S   11
 
#define IEEE80211_BAR_TID   0xf000 /* TID */
 
#define IEEE80211_BAR_TID_S   12
 
#define IEEE80211_BAR_COMP   0x0004 /* Compressed Bitmap */
 
#define IEEE80211_BAR_MTID   0x0002 /* Multi-TID */
 
#define IEEE80211_BAR_NOACK   0x0001 /* No-Ack policy */
 
#define IEEE80211_BAR_SEQ_START   0xfff0 /* starting seqnum */
 
#define IEEE80211_BAR_SEQ_START_S   4
 
#define IEEE80211_BEACON_INTERVAL(beacon)   ((beacon)[8] | ((beacon)[9] << 8))
 
#define IEEE80211_BEACON_CAPABILITY(beacon)   ((beacon)[10] | ((beacon)[11] << 8))
 
#define IEEE80211_CAPINFO_ESS   0x0001
 
#define IEEE80211_CAPINFO_IBSS   0x0002
 
#define IEEE80211_CAPINFO_CF_POLLABLE   0x0004
 
#define IEEE80211_CAPINFO_CF_POLLREQ   0x0008
 
#define IEEE80211_CAPINFO_PRIVACY   0x0010
 
#define IEEE80211_CAPINFO_SHORT_PREAMBLE   0x0020
 
#define IEEE80211_CAPINFO_PBCC   0x0040
 
#define IEEE80211_CAPINFO_CHNL_AGILITY   0x0080
 
#define IEEE80211_CAPINFO_SPECTRUM_MGMT   0x0100
 
#define IEEE80211_CAPINFO_SHORT_SLOTTIME   0x0400
 
#define IEEE80211_CAPINFO_RSN   0x0800
 
#define IEEE80211_CAPINFO_DSSSOFDM   0x2000
 
#define IEEE80211_CAPINFO_BITS
 
#define IEEE80211_HTCAP_LDPC   0x0001 /* LDPC supported */
 
#define IEEE80211_HTCAP_CHWIDTH40   0x0002 /* 20/40 supported */
 
#define IEEE80211_HTCAP_SMPS   0x000c /* SM Power Save mode */
 
#define IEEE80211_HTCAP_SMPS_OFF   0x000c /* disabled */
 
#define IEEE80211_HTCAP_SMPS_DYNAMIC   0x0004 /* send RTS first */
 
#define IEEE80211_HTCAP_SMPS_ENA   0x0000 /* enabled (static mode) */
 
#define IEEE80211_HTCAP_GREENFIELD   0x0010 /* Greenfield supported */
 
#define IEEE80211_HTCAP_SHORTGI20   0x0020 /* Short GI in 20MHz */
 
#define IEEE80211_HTCAP_SHORTGI40   0x0040 /* Short GI in 40MHz */
 
#define IEEE80211_HTCAP_TXSTBC   0x0080 /* STBC tx ok */
 
#define IEEE80211_HTCAP_RXSTBC   0x0300 /* STBC rx support */
 
#define IEEE80211_HTCAP_RXSTBC_S   8
 
#define IEEE80211_HTCAP_RXSTBC_1STREAM   0x0100 /* 1 spatial stream */
 
#define IEEE80211_HTCAP_RXSTBC_2STREAM   0x0200 /* 1-2 spatial streams*/
 
#define IEEE80211_HTCAP_RXSTBC_3STREAM   0x0300 /* 1-3 spatial streams*/
 
#define IEEE80211_HTCAP_DELBA   0x0400 /* HT DELBA supported */
 
#define IEEE80211_HTCAP_MAXAMSDU   0x0800 /* max A-MSDU length */
 
#define IEEE80211_HTCAP_MAXAMSDU_7935   0x0800 /* 7935 octets */
 
#define IEEE80211_HTCAP_MAXAMSDU_3839   0x0000 /* 3839 octets */
 
#define IEEE80211_HTCAP_DSSSCCK40   0x1000 /* DSSS/CCK in 40MHz */
 
#define IEEE80211_HTCAP_PSMP   0x2000 /* PSMP supported */
 
#define IEEE80211_HTCAP_40INTOLERANT   0x4000 /* 40MHz intolerant */
 
#define IEEE80211_HTCAP_LSIGTXOPPROT   0x8000 /* L-SIG TXOP prot */
 
#define IEEE80211_HTCAP_BITS
 
#define IEEE80211_HTCAP_MAXRXAMPDU   0x03 /* max rx A-MPDU factor */
 
#define IEEE80211_HTCAP_MAXRXAMPDU_S   0
 
#define IEEE80211_HTCAP_MAXRXAMPDU_8K   0
 
#define IEEE80211_HTCAP_MAXRXAMPDU_16K   1
 
#define IEEE80211_HTCAP_MAXRXAMPDU_32K   2
 
#define IEEE80211_HTCAP_MAXRXAMPDU_64K   3
 
#define IEEE80211_HTCAP_MPDUDENSITY   0x1c /* min MPDU start spacing */
 
#define IEEE80211_HTCAP_MPDUDENSITY_S   2
 
#define IEEE80211_HTCAP_MPDUDENSITY_NA   0 /* no time restriction */
 
#define IEEE80211_HTCAP_MPDUDENSITY_025   1 /* 1/4 us */
 
#define IEEE80211_HTCAP_MPDUDENSITY_05   2 /* 1/2 us */
 
#define IEEE80211_HTCAP_MPDUDENSITY_1   3 /* 1 us */
 
#define IEEE80211_HTCAP_MPDUDENSITY_2   4 /* 2 us */
 
#define IEEE80211_HTCAP_MPDUDENSITY_4   5 /* 4 us */
 
#define IEEE80211_HTCAP_MPDUDENSITY_8   6 /* 8 us */
 
#define IEEE80211_HTCAP_MPDUDENSITY_16   7 /* 16 us */
 
#define IEEE80211_HTCAP_PCO   0x0001 /* PCO capable */
 
#define IEEE80211_HTCAP_PCOTRANS   0x0006 /* PCO transition time */
 
#define IEEE80211_HTCAP_PCOTRANS_S   1
 
#define IEEE80211_HTCAP_PCOTRANS_04   0x0002 /* 400 us */
 
#define IEEE80211_HTCAP_PCOTRANS_15   0x0004 /* 1.5 ms */
 
#define IEEE80211_HTCAP_PCOTRANS_5   0x0006 /* 5 ms */
 
#define IEEE80211_HTCAP_MCSFBACK   0x0300 /* MCS feedback */
 
#define IEEE80211_HTCAP_MCSFBACK_S   8
 
#define IEEE80211_HTCAP_MCSFBACK_NONE   0x0000 /* nothing provided */
 
#define IEEE80211_HTCAP_MCSFBACK_UNSOL   0x0200 /* unsolicited feedback */
 
#define IEEE80211_HTCAP_MCSFBACK_MRQ   0x0300 /* " "+respond to MRQ */
 
#define IEEE80211_HTCAP_HTC   0x0400 /* +HTC support */
 
#define IEEE80211_HTCAP_RDR   0x0800 /* reverse direction responder*/
 
#define IEEE80211_HTINFO_2NDCHAN   0x03 /* secondary/ext chan offset */
 
#define IEEE80211_HTINFO_2NDCHAN_S   0
 
#define IEEE80211_HTINFO_2NDCHAN_NONE   0x00 /* no secondary/ext channel */
 
#define IEEE80211_HTINFO_2NDCHAN_ABOVE   0x01 /* above private channel */
 
#define IEEE80211_HTINFO_2NDCHAN_BELOW   0x03 /* below primary channel */
 
#define IEEE80211_HTINFO_TXWIDTH   0x04 /* tx channel width */
 
#define IEEE80211_HTINFO_TXWIDTH_20   0x00 /* 20MHz width */
 
#define IEEE80211_HTINFO_TXWIDTH_2040   0x04 /* any supported width */
 
#define IEEE80211_HTINFO_RIFSMODE   0x08 /* Reduced IFS (RIFS) use */
 
#define IEEE80211_HTINFO_RIFSMODE_PROH   0x00 /* RIFS use prohibited */
 
#define IEEE80211_HTINFO_RIFSMODE_PERM   0x08 /* RIFS use permitted */
 
#define IEEE80211_HTINFO_PMSPONLY   0x10 /* PSMP required to associate */
 
#define IEEE80211_HTINFO_SIGRAN   0xe0 /* shortest Service Interval */
 
#define IEEE80211_HTINFO_SIGRAN_S   5
 
#define IEEE80211_HTINFO_SIGRAN_5   0x00 /* 5 ms */
 
#define IEEE80211_HTINFO_OPMODE   0x03 /* operating mode */
 
#define IEEE80211_HTINFO_OPMODE_S   0
 
#define IEEE80211_HTINFO_OPMODE_PURE   0x00 /* no protection */
 
#define IEEE80211_HTINFO_OPMODE_PROTOPT   0x01 /* protection optional */
 
#define IEEE80211_HTINFO_OPMODE_HT20PR   0x02 /* protection for HT20 sta's */
 
#define IEEE80211_HTINFO_OPMODE_MIXED   0x03 /* protection for legacy sta's*/
 
#define IEEE80211_HTINFO_NONGF_PRESENT   0x04 /* non-GF sta's present */
 
#define IEEE80211_HTINFO_TXBL   0x08 /* transmit burst limit */
 
#define IEEE80211_HTINFO_NONHT_PRESENT   0x10 /* non-HT sta's present */
 
#define IEEE80211_HTINFO_2NDARYBEACON   0x01
 
#define IEEE80211_HTINFO_LSIGTXOPPROT   0x02
 
#define IEEE80211_HTINFO_PCO_ACTIVE   0x04
 
#define IEEE80211_HTINFO_40MHZPHASE   0x08
 
#define IEEE80211_HTINFO_BASIC_STBCMCS   0x7f
 
#define IEEE80211_HTINFO_BASIC_STBCMCS_S   0
 
#define IEEE80211_HTINFO_DUALPROTECTED   0x80
 
#define IEEE80211_COUNTRY_MAX_BANDS   84 /* max possible bands */
 
#define IEEE80211_COUNTRY_MAX_SIZE   (sizeof(struct ieee80211_country_ie) + 3*(IEEE80211_COUNTRY_MAX_BANDS-1))
 
#define IEEE80211_CSA_COUNT_MIN   2
 
#define IEEE80211_CSA_COUNT_MAX   255
 
#define IEEE80211_RATE_BASIC   0x80
 
#define IEEE80211_RATE_VAL   0x7f
 
#define IEEE80211_ERP_NON_ERP_PRESENT   0x01
 
#define IEEE80211_ERP_USE_PROTECTION   0x02
 
#define IEEE80211_ERP_LONG_PREAMBLE   0x04
 
#define IEEE80211_ERP_BITS   "\20\1NON_ERP_PRESENT\2USE_PROTECTION\3LONG_PREAMBLE"
 
#define ATH_OUI   0x7f0300 /* Atheros OUI */
 
#define ATH_OUI_TYPE   0x01 /* Atheros protocol ie */
 
#define TDMA_OUI   ATH_OUI
 
#define TDMA_OUI_TYPE   0x02 /* TDMA protocol ie */
 
#define BCM_OUI   0x4c9000 /* Broadcom OUI */
 
#define BCM_OUI_HTCAP   51 /* pre-draft HTCAP ie */
 
#define BCM_OUI_HTINFO   52 /* pre-draft HTINFO ie */
 
#define WPA_OUI   0xf25000
 
#define WPA_OUI_TYPE   0x01
 
#define WPA_VERSION   1 /* current supported version */
 
#define WPA_CSE_NULL   0x00
 
#define WPA_CSE_WEP40   0x01
 
#define WPA_CSE_TKIP   0x02
 
#define WPA_CSE_CCMP   0x04
 
#define WPA_CSE_WEP104   0x05
 
#define WPA_ASE_NONE   0x00
 
#define WPA_ASE_8021X_UNSPEC   0x01
 
#define WPA_ASE_8021X_PSK   0x02
 
#define WPS_OUI_TYPE   0x04
 
#define RSN_OUI   0xac0f00
 
#define RSN_VERSION   1 /* current supported version */
 
#define RSN_CSE_NULL   0x00
 
#define RSN_CSE_WEP40   0x01
 
#define RSN_CSE_TKIP   0x02
 
#define RSN_CSE_WRAP   0x03
 
#define RSN_CSE_CCMP   0x04
 
#define RSN_CSE_WEP104   0x05
 
#define RSN_ASE_NONE   0x00
 
#define RSN_ASE_8021X_UNSPEC   0x01
 
#define RSN_ASE_8021X_PSK   0x02
 
#define RSN_CAP_PREAUTH   0x01
 
#define WME_OUI   0xf25000
 
#define WME_OUI_TYPE   0x02
 
#define WME_INFO_OUI_SUBTYPE   0x00
 
#define WME_PARAM_OUI_SUBTYPE   0x01
 
#define WME_VERSION   1
 
#define WME_AC_BE   0 /* best effort */
 
#define WME_AC_BK   1 /* background */
 
#define WME_AC_VI   2 /* video */
 
#define WME_AC_VO   3 /* voice */
 
#define IEEE80211_CHALLENGE_LEN   128
 
#define IEEE80211_AUTH_ALG_OPEN   0x0000
 
#define IEEE80211_AUTH_ALG_SHARED   0x0001
 
#define IEEE80211_AUTH_ALG_LEAP   0x0080
 
#define IEEE80211_WEP_KEYLEN   5 /* 40bit */
 
#define IEEE80211_WEP_IVLEN   3 /* 24bit */
 
#define IEEE80211_WEP_KIDLEN   1 /* 1 octet */
 
#define IEEE80211_WEP_CRCLEN   4 /* CRC-32 */
 
#define IEEE80211_WEP_TOTLEN
 
#define IEEE80211_WEP_NKID   4 /* number of key ids */
 
#define IEEE80211_WEP_EXTIV   0x20
 
#define IEEE80211_WEP_EXTIVLEN   4 /* extended IV length */
 
#define IEEE80211_WEP_MICLEN   8 /* trailing MIC */
 
#define IEEE80211_CRC_LEN   4
 
#define IEEE80211_MTU_MAX   2290
 
#define IEEE80211_MTU_MIN   32
 
#define IEEE80211_MAX_LEN
 
#define IEEE80211_ACK_LEN   (sizeof(struct ieee80211_frame_ack) + IEEE80211_CRC_LEN)
 
#define IEEE80211_MIN_LEN   (sizeof(struct ieee80211_frame_min) + IEEE80211_CRC_LEN)
 
#define IEEE80211_AID_MAX   2007
 
#define IEEE80211_AID(b)   ((b) &~ 0xc000)
 
#define IEEE80211_RTS_MIN   1
 
#define IEEE80211_RTS_MAX   2346
 
#define IEEE80211_FRAG_MIN   256
 
#define IEEE80211_FRAG_MAX   2346
 
#define IEEE80211_BINTVAL_MAX   1000 /* max beacon interval (TU's) */
 
#define IEEE80211_BINTVAL_MIN   25 /* min beacon interval (TU's) */
 
#define IEEE80211_DTIM_MAX   15 /* max DTIM period */
 
#define IEEE80211_DTIM_MIN   1 /* min DTIM period */
 
#define IEEE80211_HWBMISS_MIN   1
 
#define IEEE80211_HWBMISS_MAX   255
 
#define IEEE80211_DUR_TU   1024
 
#define IEEE80211_DUR_DS_LONG_PREAMBLE   144
 
#define IEEE80211_DUR_DS_SHORT_PREAMBLE   72
 
#define IEEE80211_DUR_DS_SLOW_PLCPHDR   48
 
#define IEEE80211_DUR_DS_FAST_PLCPHDR   24
 
#define IEEE80211_DUR_DS_SLOW_ACK   112
 
#define IEEE80211_DUR_DS_FAST_ACK   56
 
#define IEEE80211_DUR_DS_SLOW_CTS   112
 
#define IEEE80211_DUR_DS_FAST_CTS   56
 
#define IEEE80211_DUR_DS_SLOT   20
 
#define IEEE80211_DUR_DS_SIFS   10
 
#define IEEE80211_DUR_DS_PIFS   (IEEE80211_DUR_DS_SIFS + IEEE80211_DUR_DS_SLOT)
 
#define IEEE80211_DUR_DS_DIFS
 
#define IEEE80211_DUR_DS_EIFS
 

Typedefs

typedef uint16_t ieee80211_seq
 

Enumerations

enum  {
  ieee80211_frame_i_fc_0 = 0, ieee80211_frame_i_fc_1 = 1, ieee80211_frame_i_dur = 2, ieee80211_frame_i_addr1 = 4,
  ieee80211_frame_i_addr2 = ieee80211_frame_i_addr1 + IEEE80211_ADDR_LEN, ieee80211_frame_i_addr3 = ieee80211_frame_i_addr2 + IEEE80211_ADDR_LEN, ieee80211_frame_i_seq = ieee80211_frame_i_addr3 + IEEE80211_ADDR_LEN, ieee80211_frame_i_END = ieee80211_frame_i_seq + 2
}
 
enum  {
  ieee80211_frame_rts_i_fc_0 = 0, ieee80211_frame_rts_i_fc_1 = 1, ieee80211_frame_rts_i_dur = 2, ieee80211_frame_rts_i_ra = 4,
  ieee80211_frame_rts_i_ta = ieee80211_frame_rts_i_ra + IEEE80211_ADDR_LEN, ieee80211_frame_rts_i_END = ieee80211_frame_rts_i_ta + IEEE80211_ADDR_LEN
}
 
enum  {
  ieee80211_frame_cts_i_fc_0 = 0, ieee80211_frame_cts_i_fc_1 = 1, ieee80211_frame_cts_i_dur = 2, ieee80211_frame_cts_i_ra = 4,
  ieee80211_frame_cts_i_END = 4 + IEEE80211_ADDR_LEN
}
 
enum  {
  IEEE80211_ELEMID_SSID = 0, IEEE80211_ELEMID_RATES = 1, IEEE80211_ELEMID_FHPARMS = 2, IEEE80211_ELEMID_DSPARMS = 3,
  IEEE80211_ELEMID_CFPARMS = 4, IEEE80211_ELEMID_TIM = 5, IEEE80211_ELEMID_IBSSPARMS = 6, IEEE80211_ELEMID_COUNTRY = 7,
  IEEE80211_ELEMID_CHALLENGE = 16, IEEE80211_ELEMID_PWRCNSTR = 32, IEEE80211_ELEMID_PWRCAP = 33, IEEE80211_ELEMID_TPCREQ = 34,
  IEEE80211_ELEMID_TPCREP = 35, IEEE80211_ELEMID_SUPPCHAN = 36, IEEE80211_ELEMID_CSA = 37, IEEE80211_ELEMID_MEASREQ = 38,
  IEEE80211_ELEMID_MEASREP = 39, IEEE80211_ELEMID_QUIET = 40, IEEE80211_ELEMID_IBSSDFS = 41, IEEE80211_ELEMID_ERP = 42,
  IEEE80211_ELEMID_HTCAP = 45, IEEE80211_ELEMID_QOS = 46, IEEE80211_ELEMID_RSN = 48, IEEE80211_ELEMID_XRATES = 50,
  IEEE80211_ELEMID_HTINFO = 61, IEEE80211_ELEMID_TPC = 150, IEEE80211_ELEMID_CCKM = 156, IEEE80211_ELEMID_VENDOR = 221,
  IEEE80211_ELEMID_MESHCONF = 113, IEEE80211_ELEMID_MESHID = 114, IEEE80211_ELEMID_MESHLINK = 115, IEEE80211_ELEMID_MESHCNGST = 116,
  IEEE80211_ELEMID_MESHPEER = 117, IEEE80211_ELEMID_MESHCSA = 118, IEEE80211_ELEMID_MESHTIM = 39, IEEE80211_ELEMID_MESHAWAKEW = 119,
  IEEE80211_ELEMID_MESHBEACONT = 120, IEEE80211_ELEMID_MESHGANN = 125, IEEE80211_ELEMID_MESHRANN = 126, IEEE80211_ELEMID_MESHPREQ = 130,
  IEEE80211_ELEMID_MESHPREP = 131, IEEE80211_ELEMID_MESHPERR = 132, IEEE80211_ELEMID_MESHPXU = 137, IEEE80211_ELEMID_MESHPXUC = 138,
  IEEE80211_ELEMID_MESHAH = 60
}
 
enum  { IEEE80211_AUTH_OPEN_REQUEST = 1, IEEE80211_AUTH_OPEN_RESPONSE = 2 }
 
enum  { IEEE80211_AUTH_SHARED_REQUEST = 1, IEEE80211_AUTH_SHARED_CHALLENGE = 2, IEEE80211_AUTH_SHARED_RESPONSE = 3, IEEE80211_AUTH_SHARED_PASS = 4 }
 
enum  {
  IEEE80211_REASON_UNSPECIFIED = 1, IEEE80211_REASON_AUTH_EXPIRE = 2, IEEE80211_REASON_AUTH_LEAVE = 3, IEEE80211_REASON_ASSOC_EXPIRE = 4,
  IEEE80211_REASON_ASSOC_TOOMANY = 5, IEEE80211_REASON_NOT_AUTHED = 6, IEEE80211_REASON_NOT_ASSOCED = 7, IEEE80211_REASON_ASSOC_LEAVE = 8,
  IEEE80211_REASON_ASSOC_NOT_AUTHED = 9, IEEE80211_REASON_DISASSOC_PWRCAP_BAD = 10, IEEE80211_REASON_DISASSOC_SUPCHAN_BAD = 11, IEEE80211_REASON_IE_INVALID = 13,
  IEEE80211_REASON_MIC_FAILURE = 14, IEEE80211_REASON_4WAY_HANDSHAKE_TIMEOUT = 15, IEEE80211_REASON_GROUP_KEY_UPDATE_TIMEOUT = 16, IEEE80211_REASON_IE_IN_4WAY_DIFFERS = 17,
  IEEE80211_REASON_GROUP_CIPHER_INVALID = 18, IEEE80211_REASON_PAIRWISE_CIPHER_INVALID = 19, IEEE80211_REASON_AKMP_INVALID = 20, IEEE80211_REASON_UNSUPP_RSN_IE_VERSION = 21,
  IEEE80211_REASON_INVALID_RSN_IE_CAP = 22, IEEE80211_REASON_802_1X_AUTH_FAILED = 23, IEEE80211_REASON_CIPHER_SUITE_REJECTED = 24, IEEE80211_REASON_UNSPECIFIED_QOS = 32,
  IEEE80211_REASON_INSUFFICIENT_BW = 33, IEEE80211_REASON_TOOMANY_FRAMES = 34, IEEE80211_REASON_OUTSIDE_TXOP = 35, IEEE80211_REASON_LEAVING_QBSS = 36,
  IEEE80211_REASON_BAD_MECHANISM = 37, IEEE80211_REASON_SETUP_NEEDED = 38, IEEE80211_REASON_TIMEOUT = 39, IEEE80211_REASON_PEER_LINK_CANCELED = 52,
  IEEE80211_REASON_MESH_MAX_PEERS = 53, IEEE80211_REASON_MESH_CPVIOLATION = 54, IEEE80211_REASON_MESH_CLOSE_RCVD = 55, IEEE80211_REASON_MESH_MAX_RETRIES = 56,
  IEEE80211_REASON_MESH_CONFIRM_TIMEOUT = 57, IEEE80211_REASON_MESH_INVALID_GTK = 58, IEEE80211_REASON_MESH_INCONS_PARAMS = 59, IEEE80211_REASON_MESH_INVALID_SECURITY = 60,
  IEEE80211_REASON_MESH_PERR_NO_PROXY = 61, IEEE80211_REASON_MESH_PERR_NO_FI = 62, IEEE80211_REASON_MESH_PERR_DEST_UNREACH = 63, IEEE80211_REASON_MESH_MAC_ALRDY_EXISTS_MBSS = 64,
  IEEE80211_REASON_MESH_CHAN_SWITCH_REG = 65, IEEE80211_REASON_MESH_CHAN_SWITCH_UNSPEC = 66, IEEE80211_STATUS_SUCCESS = 0, IEEE80211_STATUS_UNSPECIFIED = 1,
  IEEE80211_STATUS_CAPINFO = 10, IEEE80211_STATUS_NOT_ASSOCED = 11, IEEE80211_STATUS_OTHER = 12, IEEE80211_STATUS_ALG = 13,
  IEEE80211_STATUS_SEQUENCE = 14, IEEE80211_STATUS_CHALLENGE = 15, IEEE80211_STATUS_TIMEOUT = 16, IEEE80211_STATUS_TOOMANY = 17,
  IEEE80211_STATUS_BASIC_RATE = 18, IEEE80211_STATUS_SP_REQUIRED = 19, IEEE80211_STATUS_PBCC_REQUIRED = 20, IEEE80211_STATUS_CA_REQUIRED = 21,
  IEEE80211_STATUS_SPECMGMT_REQUIRED = 22, IEEE80211_STATUS_PWRCAP_REQUIRED = 23, IEEE80211_STATUS_SUPCHAN_REQUIRED = 24, IEEE80211_STATUS_SHORTSLOT_REQUIRED = 25,
  IEEE80211_STATUS_DSSSOFDM_REQUIRED = 26, IEEE80211_STATUS_MISSING_HT_CAPS = 27, IEEE80211_STATUS_INVALID_IE = 40, IEEE80211_STATUS_GROUP_CIPHER_INVALID = 41,
  IEEE80211_STATUS_PAIRWISE_CIPHER_INVALID = 42, IEEE80211_STATUS_AKMP_INVALID = 43, IEEE80211_STATUS_UNSUPP_RSN_IE_VERSION = 44, IEEE80211_STATUS_INVALID_RSN_IE_CAP = 45,
  IEEE80211_STATUS_CIPHER_SUITE_REJECTED = 46
}
 

Variables

struct ieee80211_plcp_hdr __PACKED__
 

Macro Definition Documentation

#define __PACKED__   __attribute__((packed))
#define ATH_OUI   0x7f0300 /* Atheros OUI */
#define ATH_OUI_TYPE   0x01 /* Atheros protocol ie */
#define BCM_OUI   0x4c9000 /* Broadcom OUI */
#define BCM_OUI_HTCAP   51 /* pre-draft HTCAP ie */
#define BCM_OUI_HTINFO   52 /* pre-draft HTINFO ie */
#define IEEE80211_A_HT_MIMOPWRSAVE_DYNAMIC   0x02 /* Dynamic Mode */
#define IEEE80211_A_HT_MIMOPWRSAVE_ENA   0x01 /* PS enabled */
#define IEEE80211_A_HT_MIMOPWRSAVE_MODE   0x02
#define IEEE80211_A_HT_MIMOPWRSAVE_MODE_S   1
#define IEEE80211_A_HT_MIMOPWRSAVE_STATIC   0x00 /* no SM packets */
#define IEEE80211_A_HT_TXCHWIDTH_20   0
#define IEEE80211_A_HT_TXCHWIDTH_2040   1
#define IEEE80211_ACK_LEN   (sizeof(struct ieee80211_frame_ack) + IEEE80211_CRC_LEN)
#define IEEE80211_ACTION_BA_ADDBA_REQUEST   0 /* ADDBA request */
#define IEEE80211_ACTION_BA_ADDBA_RESPONSE   1 /* ADDBA response */
#define IEEE80211_ACTION_BA_DELBA   2 /* DELBA */
#define IEEE80211_ACTION_CAT_BA   3 /* BA */
#define IEEE80211_ACTION_CAT_DLS   2 /* DLS */
#define IEEE80211_ACTION_CAT_HT   7 /* HT */
#define IEEE80211_ACTION_CAT_MESH   13 /* Mesh */
#define IEEE80211_ACTION_CAT_QOS   1 /* QoS */
#define IEEE80211_ACTION_CAT_SELF_PROT   15 /* Self-protected */
#define IEEE80211_ACTION_CAT_SM   0 /* Spectrum Management */
#define IEEE80211_ACTION_CAT_VENDOR   127 /* Vendor Specific */
#define IEEE80211_ACTION_HT_MIMOPWRSAVE   1 /* MIMO power save */
#define IEEE80211_ACTION_HT_TXCHWIDTH   0 /* recommended xmit chan width*/
#define IEEE80211_ADDR_LEN   6 /* size of 802.11 address */
#define IEEE80211_AID (   b)    ((b) &~ 0xc000)
#define IEEE80211_AID_MAX   2007
#define IEEE80211_AUTH_ALG_LEAP   0x0080
#define IEEE80211_AUTH_ALG_OPEN   0x0000
#define IEEE80211_AUTH_ALG_SHARED   0x0001
#define IEEE80211_BAPS_BUFSIZ   0xffc0 /* buffer size */
#define IEEE80211_BAPS_BUFSIZ_S   6
#define IEEE80211_BAPS_POLICY   0x0002 /* block ack policy */
#define IEEE80211_BAPS_POLICY_DELAYED   (0<<IEEE80211_BAPS_POLICY_S)
#define IEEE80211_BAPS_POLICY_IMMEDIATE   (1<<IEEE80211_BAPS_POLICY_S)
#define IEEE80211_BAPS_POLICY_S   1
#define IEEE80211_BAPS_TID   0x003c /* TID */
#define IEEE80211_BAPS_TID_S   2
#define IEEE80211_BAR_COMP   0x0004 /* Compressed Bitmap */
#define IEEE80211_BAR_MTID   0x0002 /* Multi-TID */
#define IEEE80211_BAR_NOACK   0x0001 /* No-Ack policy */
#define IEEE80211_BAR_SEQ_START   0xfff0 /* starting seqnum */
#define IEEE80211_BAR_SEQ_START_S   4
#define IEEE80211_BAR_TID   0xf000 /* TID */
#define IEEE80211_BAR_TID_S   12
#define IEEE80211_BASEQ_FRAG   0x000f /* fragment number */
#define IEEE80211_BASEQ_FRAG_S   0
#define IEEE80211_BASEQ_START   0xfff0 /* starting seqnum */
#define IEEE80211_BASEQ_START_S   4
#define IEEE80211_BEACON_CAPABILITY (   beacon)    ((beacon)[10] | ((beacon)[11] << 8))
#define IEEE80211_BEACON_INTERVAL (   beacon)    ((beacon)[8] | ((beacon)[9] << 8))
#define IEEE80211_BINTVAL_MAX   1000 /* max beacon interval (TU's) */
#define IEEE80211_BINTVAL_MIN   25 /* min beacon interval (TU's) */
#define IEEE80211_CAPINFO_BITS
Value:
"\20\1ESS\2IBSS\3CF_POLLABLE\4CF_POLLREQ\5PRIVACY\6SHORT_PREAMBLE" \
"\7PBCC\10CHNL_AGILITY\11SPECTRUM_MGMT\13SHORT_SLOTTIME\14RSN" \
"\16DSSOFDM"
#define IEEE80211_CAPINFO_CF_POLLABLE   0x0004
#define IEEE80211_CAPINFO_CF_POLLREQ   0x0008
#define IEEE80211_CAPINFO_CHNL_AGILITY   0x0080
#define IEEE80211_CAPINFO_DSSSOFDM   0x2000
#define IEEE80211_CAPINFO_ESS   0x0001
#define IEEE80211_CAPINFO_IBSS   0x0002
#define IEEE80211_CAPINFO_PBCC   0x0040
#define IEEE80211_CAPINFO_PRIVACY   0x0010
#define IEEE80211_CAPINFO_RSN   0x0800
#define IEEE80211_CAPINFO_SHORT_PREAMBLE   0x0020
#define IEEE80211_CAPINFO_SHORT_SLOTTIME   0x0400
#define IEEE80211_CAPINFO_SPECTRUM_MGMT   0x0100
#define IEEE80211_CHALLENGE_LEN   128
#define IEEE80211_COUNTRY_MAX_BANDS   84 /* max possible bands */
#define IEEE80211_COUNTRY_MAX_SIZE   (sizeof(struct ieee80211_country_ie) + 3*(IEEE80211_COUNTRY_MAX_BANDS-1))
#define IEEE80211_CRC_LEN   4
#define IEEE80211_CSA_COUNT_MAX   255
#define IEEE80211_CSA_COUNT_MIN   2
#define IEEE80211_DELBAPS_INIT   0x0800 /* initiator */
#define IEEE80211_DELBAPS_INIT_S   11
#define IEEE80211_DELBAPS_TID   0xf000 /* TID */
#define IEEE80211_DELBAPS_TID_S   12
#define IEEE80211_DTIM_MAX   15 /* max DTIM period */
#define IEEE80211_DTIM_MIN   1 /* min DTIM period */
#define IEEE80211_DUR_DS_DIFS
Value:
#define IEEE80211_DUR_DS_SLOT
Definition: ieee80211.h:1140
#define IEEE80211_DUR_DS_SIFS
Definition: ieee80211.h:1141
#define IEEE80211_DUR_DS_EIFS
Value:
IEEE80211_DUR_DIFS)
#define IEEE80211_DUR_DS_SLOW_PLCPHDR
Definition: ieee80211.h:1133
#define IEEE80211_DUR_DS_SIFS
Definition: ieee80211.h:1141
#define IEEE80211_DUR_DS_SLOW_ACK
Definition: ieee80211.h:1135
#define IEEE80211_DUR_DS_LONG_PREAMBLE
Definition: ieee80211.h:1130
#define IEEE80211_DUR_DS_FAST_ACK   56
#define IEEE80211_DUR_DS_FAST_CTS   56
#define IEEE80211_DUR_DS_FAST_PLCPHDR   24
#define IEEE80211_DUR_DS_LONG_PREAMBLE   144
#define IEEE80211_DUR_DS_PIFS   (IEEE80211_DUR_DS_SIFS + IEEE80211_DUR_DS_SLOT)
#define IEEE80211_DUR_DS_SHORT_PREAMBLE   72
#define IEEE80211_DUR_DS_SIFS   10
#define IEEE80211_DUR_DS_SLOT   20
#define IEEE80211_DUR_DS_SLOW_ACK   112
#define IEEE80211_DUR_DS_SLOW_CTS   112
#define IEEE80211_DUR_DS_SLOW_PLCPHDR   48
#define IEEE80211_DUR_TU   1024
#define IEEE80211_ERP_BITS   "\20\1NON_ERP_PRESENT\2USE_PROTECTION\3LONG_PREAMBLE"
#define IEEE80211_ERP_LONG_PREAMBLE   0x04
#define IEEE80211_ERP_NON_ERP_PRESENT   0x01
#define IEEE80211_ERP_USE_PROTECTION   0x02
#define IEEE80211_FC0_SUBTYPE_ACK   0xd0
#define IEEE80211_FC0_SUBTYPE_ACTION   0xd0
#define IEEE80211_FC0_SUBTYPE_ACTION_NOACK   0xe0
#define IEEE80211_FC0_SUBTYPE_ASSOC_REQ   0x00
#define IEEE80211_FC0_SUBTYPE_ASSOC_RESP   0x10
#define IEEE80211_FC0_SUBTYPE_ATIM   0x90
#define IEEE80211_FC0_SUBTYPE_AUTH   0xb0
#define IEEE80211_FC0_SUBTYPE_BA   0x90
#define IEEE80211_FC0_SUBTYPE_BAR   0x80
#define IEEE80211_FC0_SUBTYPE_BEACON   0x80
#define IEEE80211_FC0_SUBTYPE_CF_ACK   0x10
#define IEEE80211_FC0_SUBTYPE_CF_ACK_CF_ACK   0x70
#define IEEE80211_FC0_SUBTYPE_CF_ACPL   0x30
#define IEEE80211_FC0_SUBTYPE_CF_END   0xe0
#define IEEE80211_FC0_SUBTYPE_CF_END_ACK   0xf0
#define IEEE80211_FC0_SUBTYPE_CF_POLL   0x20
#define IEEE80211_FC0_SUBTYPE_CFACK   0x50
#define IEEE80211_FC0_SUBTYPE_CFPOLL   0x60
#define IEEE80211_FC0_SUBTYPE_CTS   0xc0
#define IEEE80211_FC0_SUBTYPE_DATA   0x00
#define IEEE80211_FC0_SUBTYPE_DEAUTH   0xc0
#define IEEE80211_FC0_SUBTYPE_DISASSOC   0xa0
#define IEEE80211_FC0_SUBTYPE_MASK   0xf0
#define IEEE80211_FC0_SUBTYPE_NODATA   0x40
#define IEEE80211_FC0_SUBTYPE_PROBE_REQ   0x40
#define IEEE80211_FC0_SUBTYPE_PROBE_RESP   0x50
#define IEEE80211_FC0_SUBTYPE_PS_POLL   0xa0
#define IEEE80211_FC0_SUBTYPE_QOS   0x80
#define IEEE80211_FC0_SUBTYPE_QOS_NULL   0xc0
#define IEEE80211_FC0_SUBTYPE_REASSOC_REQ   0x20
#define IEEE80211_FC0_SUBTYPE_REASSOC_RESP   0x30
#define IEEE80211_FC0_SUBTYPE_RTS   0xb0
#define IEEE80211_FC0_SUBTYPE_SHIFT   4
#define IEEE80211_FC0_TYPE_CTL   0x04
#define IEEE80211_FC0_TYPE_DATA   0x08
#define IEEE80211_FC0_TYPE_MASK   0x0c
#define IEEE80211_FC0_TYPE_MGT   0x00
#define IEEE80211_FC0_TYPE_SHIFT   2
#define IEEE80211_FC0_VERSION_0   0x00
#define IEEE80211_FC0_VERSION_MASK   0x03
#define IEEE80211_FC0_VERSION_SHIFT   0
#define IEEE80211_FC1_DIR_DSTODS   0x03 /* AP ->AP */
#define IEEE80211_FC1_DIR_FROMDS   0x02 /* AP ->STA */
#define IEEE80211_FC1_DIR_MASK   0x03
#define IEEE80211_FC1_DIR_NODS   0x00 /* STA->STA */
#define IEEE80211_FC1_DIR_TODS   0x01 /* STA->AP */
#define IEEE80211_FC1_MORE_DATA   0x20
#define IEEE80211_FC1_MORE_FRAG   0x04
#define IEEE80211_FC1_ORDER   0x80
#define IEEE80211_FC1_PROTECTED   0x40
#define IEEE80211_FC1_PWR_MGT   0x10
#define IEEE80211_FC1_RETRY   0x08
#define IEEE80211_FRAG_MAX   2346
#define IEEE80211_FRAG_MIN   256
#define IEEE80211_HTCAP_40INTOLERANT   0x4000 /* 40MHz intolerant */
#define IEEE80211_HTCAP_BITS
Value:
"\20\1LDPC\2CHWIDTH40\5GREENFIELD\6SHORTGI20\7SHORTGI40\10TXSTBC" \
"\13DELBA\14AMSDU(7935)\15DSSSCCK40\16PSMP\1740INTOLERANT" \
"\20LSIGTXOPPROT"
#define IEEE80211_HTCAP_CHWIDTH40   0x0002 /* 20/40 supported */
#define IEEE80211_HTCAP_DELBA   0x0400 /* HT DELBA supported */
#define IEEE80211_HTCAP_DSSSCCK40   0x1000 /* DSSS/CCK in 40MHz */
#define IEEE80211_HTCAP_GREENFIELD   0x0010 /* Greenfield supported */
#define IEEE80211_HTCAP_HTC   0x0400 /* +HTC support */
#define IEEE80211_HTCAP_LDPC   0x0001 /* LDPC supported */
#define IEEE80211_HTCAP_LSIGTXOPPROT   0x8000 /* L-SIG TXOP prot */
#define IEEE80211_HTCAP_MAXAMSDU   0x0800 /* max A-MSDU length */
#define IEEE80211_HTCAP_MAXAMSDU_3839   0x0000 /* 3839 octets */
#define IEEE80211_HTCAP_MAXAMSDU_7935   0x0800 /* 7935 octets */
#define IEEE80211_HTCAP_MAXRXAMPDU   0x03 /* max rx A-MPDU factor */
#define IEEE80211_HTCAP_MAXRXAMPDU_16K   1
#define IEEE80211_HTCAP_MAXRXAMPDU_32K   2
#define IEEE80211_HTCAP_MAXRXAMPDU_64K   3
#define IEEE80211_HTCAP_MAXRXAMPDU_8K   0
#define IEEE80211_HTCAP_MAXRXAMPDU_S   0
#define IEEE80211_HTCAP_MCSFBACK   0x0300 /* MCS feedback */
#define IEEE80211_HTCAP_MCSFBACK_MRQ   0x0300 /* " "+respond to MRQ */
#define IEEE80211_HTCAP_MCSFBACK_NONE   0x0000 /* nothing provided */
#define IEEE80211_HTCAP_MCSFBACK_S   8
#define IEEE80211_HTCAP_MCSFBACK_UNSOL   0x0200 /* unsolicited feedback */
#define IEEE80211_HTCAP_MPDUDENSITY   0x1c /* min MPDU start spacing */
#define IEEE80211_HTCAP_MPDUDENSITY_025   1 /* 1/4 us */
#define IEEE80211_HTCAP_MPDUDENSITY_05   2 /* 1/2 us */
#define IEEE80211_HTCAP_MPDUDENSITY_1   3 /* 1 us */
#define IEEE80211_HTCAP_MPDUDENSITY_16   7 /* 16 us */
#define IEEE80211_HTCAP_MPDUDENSITY_2   4 /* 2 us */
#define IEEE80211_HTCAP_MPDUDENSITY_4   5 /* 4 us */
#define IEEE80211_HTCAP_MPDUDENSITY_8   6 /* 8 us */
#define IEEE80211_HTCAP_MPDUDENSITY_NA   0 /* no time restriction */
#define IEEE80211_HTCAP_MPDUDENSITY_S   2
#define IEEE80211_HTCAP_PCO   0x0001 /* PCO capable */
#define IEEE80211_HTCAP_PCOTRANS   0x0006 /* PCO transition time */
#define IEEE80211_HTCAP_PCOTRANS_04   0x0002 /* 400 us */
#define IEEE80211_HTCAP_PCOTRANS_15   0x0004 /* 1.5 ms */
#define IEEE80211_HTCAP_PCOTRANS_5   0x0006 /* 5 ms */
#define IEEE80211_HTCAP_PCOTRANS_S   1
#define IEEE80211_HTCAP_PSMP   0x2000 /* PSMP supported */
#define IEEE80211_HTCAP_RDR   0x0800 /* reverse direction responder*/
#define IEEE80211_HTCAP_RXSTBC   0x0300 /* STBC rx support */
#define IEEE80211_HTCAP_RXSTBC_1STREAM   0x0100 /* 1 spatial stream */
#define IEEE80211_HTCAP_RXSTBC_2STREAM   0x0200 /* 1-2 spatial streams*/
#define IEEE80211_HTCAP_RXSTBC_3STREAM   0x0300 /* 1-3 spatial streams*/
#define IEEE80211_HTCAP_RXSTBC_S   8
#define IEEE80211_HTCAP_SHORTGI20   0x0020 /* Short GI in 20MHz */
#define IEEE80211_HTCAP_SHORTGI40   0x0040 /* Short GI in 40MHz */
#define IEEE80211_HTCAP_SMPS   0x000c /* SM Power Save mode */
#define IEEE80211_HTCAP_SMPS_DYNAMIC   0x0004 /* send RTS first */
#define IEEE80211_HTCAP_SMPS_ENA   0x0000 /* enabled (static mode) */
#define IEEE80211_HTCAP_SMPS_OFF   0x000c /* disabled */
#define IEEE80211_HTCAP_TXSTBC   0x0080 /* STBC tx ok */
#define IEEE80211_HTINFO_2NDARYBEACON   0x01
#define IEEE80211_HTINFO_2NDCHAN   0x03 /* secondary/ext chan offset */
#define IEEE80211_HTINFO_2NDCHAN_ABOVE   0x01 /* above private channel */
#define IEEE80211_HTINFO_2NDCHAN_BELOW   0x03 /* below primary channel */
#define IEEE80211_HTINFO_2NDCHAN_NONE   0x00 /* no secondary/ext channel */
#define IEEE80211_HTINFO_2NDCHAN_S   0
#define IEEE80211_HTINFO_40MHZPHASE   0x08
#define IEEE80211_HTINFO_BASIC_STBCMCS   0x7f
#define IEEE80211_HTINFO_BASIC_STBCMCS_S   0
#define IEEE80211_HTINFO_DUALPROTECTED   0x80
#define IEEE80211_HTINFO_LSIGTXOPPROT   0x02
#define IEEE80211_HTINFO_NONGF_PRESENT   0x04 /* non-GF sta's present */
#define IEEE80211_HTINFO_NONHT_PRESENT   0x10 /* non-HT sta's present */
#define IEEE80211_HTINFO_OPMODE   0x03 /* operating mode */
#define IEEE80211_HTINFO_OPMODE_HT20PR   0x02 /* protection for HT20 sta's */
#define IEEE80211_HTINFO_OPMODE_MIXED   0x03 /* protection for legacy sta's*/
#define IEEE80211_HTINFO_OPMODE_PROTOPT   0x01 /* protection optional */
#define IEEE80211_HTINFO_OPMODE_PURE   0x00 /* no protection */
#define IEEE80211_HTINFO_OPMODE_S   0
#define IEEE80211_HTINFO_PCO_ACTIVE   0x04
#define IEEE80211_HTINFO_PMSPONLY   0x10 /* PSMP required to associate */
#define IEEE80211_HTINFO_RIFSMODE   0x08 /* Reduced IFS (RIFS) use */
#define IEEE80211_HTINFO_RIFSMODE_PERM   0x08 /* RIFS use permitted */
#define IEEE80211_HTINFO_RIFSMODE_PROH   0x00 /* RIFS use prohibited */
#define IEEE80211_HTINFO_SIGRAN   0xe0 /* shortest Service Interval */
#define IEEE80211_HTINFO_SIGRAN_5   0x00 /* 5 ms */
#define IEEE80211_HTINFO_SIGRAN_S   5
#define IEEE80211_HTINFO_TXBL   0x08 /* transmit burst limit */
#define IEEE80211_HTINFO_TXWIDTH   0x04 /* tx channel width */
#define IEEE80211_HTINFO_TXWIDTH_20   0x00 /* 20MHz width */
#define IEEE80211_HTINFO_TXWIDTH_2040   0x04 /* any supported width */
#define IEEE80211_HWBMISS_MAX   255
#define IEEE80211_HWBMISS_MIN   1
#define IEEE80211_IS_DSTODS (   wh)    (((wh)->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
#define IEEE80211_IS_MULTICAST (   _a)    (*(_a) & 0x01)
#define IEEE80211_MAX_LEN
Value:
(2300 + IEEE80211_CRC_LEN + \
#define IEEE80211_CRC_LEN
Definition: ieee80211.h:1044
#define IEEE80211_WEP_CRCLEN
Definition: ieee80211.h:1027
#define IEEE80211_WEP_IVLEN
Definition: ieee80211.h:1025
#define IEEE80211_WEP_KIDLEN
Definition: ieee80211.h:1026
#define IEEE80211_MESHID_LEN   32
#define IEEE80211_MIN_LEN   (sizeof(struct ieee80211_frame_min) + IEEE80211_CRC_LEN)
#define IEEE80211_MTU_MAX   2290
#define IEEE80211_MTU_MIN   32
#define IEEE80211_NWID_LEN   32
#define IEEE80211_PLCL_SERVICE_PBCC   0x08
#define IEEE80211_PLCP_SERVICE   0x00
#define IEEE80211_PLCP_SERVICE_LENEXT5   0x20
#define IEEE80211_PLCP_SERVICE_LENEXT6   0x40
#define IEEE80211_PLCP_SERVICE_LENEXT7   0x80
#define IEEE80211_PLCP_SERVICE_LOCKED   0x04
#define IEEE80211_PLCP_SFD   0xF3A0
#define IEEE80211_QOS_ACKPOLICY   0x60
#define IEEE80211_QOS_ACKPOLICY_BA   0x60 /* Block ACK */
#define IEEE80211_QOS_ACKPOLICY_NOACK   0x20 /* No ACK required */
#define IEEE80211_QOS_ACKPOLICY_S   5
#define IEEE80211_QOS_AMSDU   0x80
#define IEEE80211_QOS_AMSDU_S   7
#define IEEE80211_QOS_EOSP   0x10 /* EndOfService Period*/
#define IEEE80211_QOS_EOSP_S   4
#define IEEE80211_QOS_HAS_SEQ (   wh)
Value:
(((wh)->i_fc[0] & \
#define IEEE80211_FC0_SUBTYPE_QOS
Definition: ieee80211.h:171
#define IEEE80211_FC0_TYPE_DATA
Definition: ieee80211.h:135
#define IEEE80211_FC0_TYPE_MASK
Definition: ieee80211.h:131
#define IEEE80211_QOS_MC   0x01 /* Mesh control */
#define IEEE80211_QOS_MESH_PSL   0x02
#define IEEE80211_QOS_RSPI   0x04
#define IEEE80211_QOS_TID   0x0f
#define IEEE80211_QOS_TXOP   0x00ff
#define IEEE80211_RATE_BASIC   0x80
#define IEEE80211_RATE_VAL   0x7f
#define IEEE80211_RTS_MAX   2346
#define IEEE80211_RTS_MIN   1
#define IEEE80211_SEQ_ADD (   seq,
  incr 
)    (((seq) + (incr)) & (IEEE80211_SEQ_RANGE-1))
#define IEEE80211_SEQ_BA_BEFORE (   a,
 
)    (IEEE80211_SEQ_SUB(b, a+1) < IEEE80211_SEQ_BA_RANGE-1)
#define IEEE80211_SEQ_BA_RANGE   2048 /* 2^11 */
#define IEEE80211_SEQ_FRAG_MASK   0x000f
#define IEEE80211_SEQ_FRAG_SHIFT   0
#define IEEE80211_SEQ_INC (   seq)    IEEE80211_SEQ_ADD(seq,1)
#define IEEE80211_SEQ_RANGE   4096
#define IEEE80211_SEQ_SEQ_MASK   0xfff0
#define IEEE80211_SEQ_SEQ_SHIFT   4
#define IEEE80211_SEQ_SUB (   a,
 
)    (((a) + IEEE80211_SEQ_RANGE - (b)) & (IEEE80211_SEQ_RANGE-1))
#define IEEE80211_WEP_CRCLEN   4 /* CRC-32 */
#define IEEE80211_WEP_EXTIV   0x20
#define IEEE80211_WEP_EXTIVLEN   4 /* extended IV length */
#define IEEE80211_WEP_IVLEN   3 /* 24bit */
#define IEEE80211_WEP_KEYLEN   5 /* 40bit */
#define IEEE80211_WEP_KIDLEN   1 /* 1 octet */
#define IEEE80211_WEP_MICLEN   8 /* trailing MIC */
#define IEEE80211_WEP_NKID   4 /* number of key ids */
#define IEEE80211_WEP_TOTLEN
Value:
#define IEEE80211_WEP_CRCLEN
Definition: ieee80211.h:1027
#define IEEE80211_WEP_IVLEN
Definition: ieee80211.h:1025
#define IEEE80211_WEP_KIDLEN
Definition: ieee80211.h:1026
#define MNF_SETUP_REQ   0
#define MNF_SETUP_RESP   1
#define MNF_TEARDOWN   2
#define RSN_ASE_8021X_PSK   0x02
#define RSN_ASE_8021X_UNSPEC   0x01
#define RSN_ASE_NONE   0x00
#define RSN_CAP_PREAUTH   0x01
#define RSN_CSE_CCMP   0x04
#define RSN_CSE_NULL   0x00
#define RSN_CSE_TKIP   0x02
#define RSN_CSE_WEP104   0x05
#define RSN_CSE_WEP40   0x01
#define RSN_CSE_WRAP   0x03
#define RSN_OUI   0xac0f00
#define RSN_VERSION   1 /* current supported version */
#define TDMA_OUI   ATH_OUI
#define TDMA_OUI_TYPE   0x02 /* TDMA protocol ie */
#define TID_TO_WME_AC (   _tid)
Value:
( \
((_tid) == 0 || (_tid) == 3) ? WME_AC_BE : \
((_tid) < 3) ? WME_AC_BK : \
((_tid) < 6) ? WME_AC_VI : \
#define WME_AC_BE
Definition: ieee80211.h:901
#define WME_AC_VO
Definition: ieee80211.h:904
#define WME_AC_BK
Definition: ieee80211.h:902
#define WME_AC_VI
Definition: ieee80211.h:903
#define WME_AC_BE   0 /* best effort */
#define WME_AC_BK   1 /* background */
#define WME_AC_TO_TID (   _ac)
Value:
( \
((_ac) == WME_AC_VO) ? 6 : \
((_ac) == WME_AC_VI) ? 5 : \
((_ac) == WME_AC_BK) ? 1 : \
0)
#define WME_AC_VO
Definition: ieee80211.h:904
#define WME_AC_BK
Definition: ieee80211.h:902
#define WME_AC_VI
Definition: ieee80211.h:903
#define WME_AC_VI   2 /* video */
#define WME_AC_VO   3 /* voice */
#define WME_INFO_OUI_SUBTYPE   0x00
#define WME_NUM_AC   4 /* 4 AC categories */
#define WME_NUM_TID   16 /* 16 tids */
#define WME_OUI   0xf25000
#define WME_OUI_TYPE   0x02
#define WME_PARAM_ACI   0x60 /* Mask for ACI field */
#define WME_PARAM_ACI_S   5 /* Shift for ACI field */
#define WME_PARAM_ACM   0x10 /* Mask for ACM bit */
#define WME_PARAM_ACM_S   4 /* Shift for ACM bit */
#define WME_PARAM_AIFSN   0x0f /* Mask for aifsn field */
#define WME_PARAM_AIFSN_S   0 /* Shift for aifsn field */
#define WME_PARAM_LOGCWMAX   0xf0 /* Mask for CwMax field (in log) */
#define WME_PARAM_LOGCWMAX_S   4 /* Shift for CwMax field */
#define WME_PARAM_LOGCWMIN   0x0f /* Mask for CwMin field (in log) */
#define WME_PARAM_LOGCWMIN_S   0 /* Shift for CwMin field */
#define WME_PARAM_OUI_SUBTYPE   0x01
#define WME_QOSINFO_COUNT   0x0f /* Mask for param count field */
#define WME_VERSION   1
#define WPA_ASE_8021X_PSK   0x02
#define WPA_ASE_8021X_UNSPEC   0x01
#define WPA_ASE_NONE   0x00
#define WPA_CSE_CCMP   0x04
#define WPA_CSE_NULL   0x00
#define WPA_CSE_TKIP   0x02
#define WPA_CSE_WEP104   0x05
#define WPA_CSE_WEP40   0x01
#define WPA_OUI   0xf25000
#define WPA_OUI_TYPE   0x01
#define WPA_VERSION   1 /* current supported version */
#define WPS_OUI_TYPE   0x04

Typedef Documentation

typedef uint16_t ieee80211_seq

Enumeration Type Documentation

anonymous enum
Enumerator
IEEE80211_AUTH_OPEN_REQUEST 
IEEE80211_AUTH_OPEN_RESPONSE 
924  {
927 };
Definition: ieee80211.h:926
Definition: ieee80211.h:925
anonymous enum
Enumerator
IEEE80211_AUTH_SHARED_REQUEST 
IEEE80211_AUTH_SHARED_CHALLENGE 
IEEE80211_AUTH_SHARED_RESPONSE 
IEEE80211_AUTH_SHARED_PASS 
929  {
934 };
Definition: ieee80211.h:931
Definition: ieee80211.h:933
Definition: ieee80211.h:930
Definition: ieee80211.h:932
anonymous enum
Enumerator
IEEE80211_REASON_UNSPECIFIED 
IEEE80211_REASON_AUTH_EXPIRE 
IEEE80211_REASON_AUTH_LEAVE 
IEEE80211_REASON_ASSOC_EXPIRE 
IEEE80211_REASON_ASSOC_TOOMANY 
IEEE80211_REASON_NOT_AUTHED 
IEEE80211_REASON_NOT_ASSOCED 
IEEE80211_REASON_ASSOC_LEAVE 
IEEE80211_REASON_ASSOC_NOT_AUTHED 
IEEE80211_REASON_DISASSOC_PWRCAP_BAD 
IEEE80211_REASON_DISASSOC_SUPCHAN_BAD 
IEEE80211_REASON_IE_INVALID 
IEEE80211_REASON_MIC_FAILURE 
IEEE80211_REASON_4WAY_HANDSHAKE_TIMEOUT 
IEEE80211_REASON_GROUP_KEY_UPDATE_TIMEOUT 
IEEE80211_REASON_IE_IN_4WAY_DIFFERS 
IEEE80211_REASON_GROUP_CIPHER_INVALID 
IEEE80211_REASON_PAIRWISE_CIPHER_INVALID 
IEEE80211_REASON_AKMP_INVALID 
IEEE80211_REASON_UNSUPP_RSN_IE_VERSION 
IEEE80211_REASON_INVALID_RSN_IE_CAP 
IEEE80211_REASON_802_1X_AUTH_FAILED 
IEEE80211_REASON_CIPHER_SUITE_REJECTED 
IEEE80211_REASON_UNSPECIFIED_QOS 
IEEE80211_REASON_INSUFFICIENT_BW 
IEEE80211_REASON_TOOMANY_FRAMES 
IEEE80211_REASON_OUTSIDE_TXOP 
IEEE80211_REASON_LEAVING_QBSS 
IEEE80211_REASON_BAD_MECHANISM 
IEEE80211_REASON_SETUP_NEEDED 
IEEE80211_REASON_TIMEOUT 
IEEE80211_REASON_PEER_LINK_CANCELED 
IEEE80211_REASON_MESH_MAX_PEERS 
IEEE80211_REASON_MESH_CPVIOLATION 
IEEE80211_REASON_MESH_CLOSE_RCVD 
IEEE80211_REASON_MESH_MAX_RETRIES 
IEEE80211_REASON_MESH_CONFIRM_TIMEOUT 
IEEE80211_REASON_MESH_INVALID_GTK 
IEEE80211_REASON_MESH_INCONS_PARAMS 
IEEE80211_REASON_MESH_INVALID_SECURITY 
IEEE80211_REASON_MESH_PERR_NO_PROXY 
IEEE80211_REASON_MESH_PERR_NO_FI 
IEEE80211_REASON_MESH_PERR_DEST_UNREACH 
IEEE80211_REASON_MESH_MAC_ALRDY_EXISTS_MBSS 
IEEE80211_REASON_MESH_CHAN_SWITCH_REG 
IEEE80211_REASON_MESH_CHAN_SWITCH_UNSPEC 
IEEE80211_STATUS_SUCCESS 
IEEE80211_STATUS_UNSPECIFIED 
IEEE80211_STATUS_CAPINFO 
IEEE80211_STATUS_NOT_ASSOCED 
IEEE80211_STATUS_OTHER 
IEEE80211_STATUS_ALG 
IEEE80211_STATUS_SEQUENCE 
IEEE80211_STATUS_CHALLENGE 
IEEE80211_STATUS_TIMEOUT 
IEEE80211_STATUS_TOOMANY 
IEEE80211_STATUS_BASIC_RATE 
IEEE80211_STATUS_SP_REQUIRED 
IEEE80211_STATUS_PBCC_REQUIRED 
IEEE80211_STATUS_CA_REQUIRED 
IEEE80211_STATUS_SPECMGMT_REQUIRED 
IEEE80211_STATUS_PWRCAP_REQUIRED 
IEEE80211_STATUS_SUPCHAN_REQUIRED 
IEEE80211_STATUS_SHORTSLOT_REQUIRED 
IEEE80211_STATUS_DSSSOFDM_REQUIRED 
IEEE80211_STATUS_MISSING_HT_CAPS 
IEEE80211_STATUS_INVALID_IE 
IEEE80211_STATUS_GROUP_CIPHER_INVALID 
IEEE80211_STATUS_PAIRWISE_CIPHER_INVALID 
IEEE80211_STATUS_AKMP_INVALID 
IEEE80211_STATUS_UNSUPP_RSN_IE_VERSION 
IEEE80211_STATUS_INVALID_RSN_IE_CAP 
IEEE80211_STATUS_CIPHER_SUITE_REJECTED 
946  {
958  IEEE80211_REASON_IE_INVALID = 13, /* 11i */
959  IEEE80211_REASON_MIC_FAILURE = 14, /* 11i */
965  IEEE80211_REASON_AKMP_INVALID = 20, /* 11i */
970  IEEE80211_REASON_UNSPECIFIED_QOS = 32, /* 11e */
971  IEEE80211_REASON_INSUFFICIENT_BW = 33, /* 11e */
972  IEEE80211_REASON_TOOMANY_FRAMES = 34, /* 11e */
973  IEEE80211_REASON_OUTSIDE_TXOP = 35, /* 11e */
974  IEEE80211_REASON_LEAVING_QBSS = 36, /* 11e */
975  IEEE80211_REASON_BAD_MECHANISM = 37, /* 11e */
976  IEEE80211_REASON_SETUP_NEEDED = 38, /* 11e */
977  IEEE80211_REASON_TIMEOUT = 39, /* 11e */
978 
980  IEEE80211_REASON_MESH_MAX_PEERS = 53, /* 11s */
981  IEEE80211_REASON_MESH_CPVIOLATION = 54, /* 11s */
982  IEEE80211_REASON_MESH_CLOSE_RCVD = 55, /* 11s */
983  IEEE80211_REASON_MESH_MAX_RETRIES = 56, /* 11s */
985  IEEE80211_REASON_MESH_INVALID_GTK = 58, /* 11s */
989  IEEE80211_REASON_MESH_PERR_NO_FI = 62, /* 11s */
994 
1000  IEEE80211_STATUS_ALG = 13,
1006  IEEE80211_STATUS_SP_REQUIRED = 19, /* 11b */
1007  IEEE80211_STATUS_PBCC_REQUIRED = 20, /* 11b */
1008  IEEE80211_STATUS_CA_REQUIRED = 21, /* 11b */
1009  IEEE80211_STATUS_SPECMGMT_REQUIRED = 22, /* 11h */
1010  IEEE80211_STATUS_PWRCAP_REQUIRED = 23, /* 11h */
1011  IEEE80211_STATUS_SUPCHAN_REQUIRED = 24, /* 11h */
1012  IEEE80211_STATUS_SHORTSLOT_REQUIRED = 25, /* 11g */
1013  IEEE80211_STATUS_DSSSOFDM_REQUIRED = 26, /* 11g */
1014  IEEE80211_STATUS_MISSING_HT_CAPS = 27, /* 11n D3.0 */
1015  IEEE80211_STATUS_INVALID_IE = 40, /* 11i */
1018  IEEE80211_STATUS_AKMP_INVALID = 43, /* 11i */
1020  IEEE80211_STATUS_INVALID_RSN_IE_CAP = 45, /* 11i */
1022 };
Definition: ieee80211.h:993
Definition: ieee80211.h:1010
Definition: ieee80211.h:1015
Definition: ieee80211.h:954
Definition: ieee80211.h:971
Definition: ieee80211.h:1011
Definition: ieee80211.h:950
Definition: ieee80211.h:969
Definition: ieee80211.h:1007
Definition: ieee80211.h:988
Definition: ieee80211.h:953
Definition: ieee80211.h:1006
Definition: ieee80211.h:986
Definition: ieee80211.h:1002
Definition: ieee80211.h:992
Definition: ieee80211.h:982
Definition: ieee80211.h:963
Definition: ieee80211.h:1018
Definition: ieee80211.h:1014
Definition: ieee80211.h:973
Definition: ieee80211.h:1017
Definition: ieee80211.h:951
Definition: ieee80211.h:1019
Definition: ieee80211.h:995
Definition: ieee80211.h:1003
Definition: ieee80211.h:965
Definition: ieee80211.h:979
Definition: ieee80211.h:1000
Definition: ieee80211.h:985
Definition: ieee80211.h:956
Definition: ieee80211.h:967
Definition: ieee80211.h:989
Definition: ieee80211.h:962
Definition: ieee80211.h:972
Definition: ieee80211.h:980
Definition: ieee80211.h:1016
Definition: ieee80211.h:1013
Definition: ieee80211.h:1020
Definition: ieee80211.h:1012
Definition: ieee80211.h:970
Definition: ieee80211.h:955
Definition: ieee80211.h:975
Definition: ieee80211.h:999
Definition: ieee80211.h:960
Definition: ieee80211.h:1004
Definition: ieee80211.h:968
Definition: ieee80211.h:1005
Definition: ieee80211.h:983
Definition: ieee80211.h:948
Definition: ieee80211.h:997
Definition: ieee80211.h:1008
Definition: ieee80211.h:966
Definition: ieee80211.h:998
Definition: ieee80211.h:1009
Definition: ieee80211.h:981
Definition: ieee80211.h:987
Definition: ieee80211.h:1001
Definition: ieee80211.h:976
Definition: ieee80211.h:952
Definition: ieee80211.h:947
Definition: ieee80211.h:949
Definition: ieee80211.h:984
Definition: ieee80211.h:1021
Definition: ieee80211.h:996
Definition: ieee80211.h:977
Definition: ieee80211.h:959
Definition: ieee80211.h:964
Definition: ieee80211.h:974
Definition: ieee80211.h:957
Definition: ieee80211.h:958
Definition: ieee80211.h:990
anonymous enum
Enumerator
ieee80211_frame_i_fc_0 
ieee80211_frame_i_fc_1 
ieee80211_frame_i_dur 
ieee80211_frame_i_addr1 
ieee80211_frame_i_addr2 
ieee80211_frame_i_addr3 
ieee80211_frame_i_seq 
ieee80211_frame_i_END 
78  {
85  ieee80211_frame_i_seq = ieee80211_frame_i_addr3 + IEEE80211_ADDR_LEN,
86  ieee80211_frame_i_END = ieee80211_frame_i_seq + 2
87 };
Definition: ieee80211.h:82
Definition: ieee80211.h:80
Definition: ieee80211.h:81
Definition: ieee80211.h:83
Definition: ieee80211.h:86
Definition: ieee80211.h:79
#define IEEE80211_ADDR_LEN
Definition: ieee80211.h:41
Definition: ieee80211.h:84
Definition: ieee80211.h:85
anonymous enum
Enumerator
ieee80211_frame_rts_i_fc_0 
ieee80211_frame_rts_i_fc_1 
ieee80211_frame_rts_i_dur 
ieee80211_frame_rts_i_ra 
ieee80211_frame_rts_i_ta 
ieee80211_frame_rts_i_END 
470  {
477 };
Definition: ieee80211.h:472
Definition: ieee80211.h:474
Definition: ieee80211.h:473
Definition: ieee80211.h:476
#define IEEE80211_ADDR_LEN
Definition: ieee80211.h:41
Definition: ieee80211.h:471
Definition: ieee80211.h:475
anonymous enum
Enumerator
ieee80211_frame_cts_i_fc_0 
ieee80211_frame_cts_i_fc_1 
ieee80211_frame_cts_i_dur 
ieee80211_frame_cts_i_ra 
ieee80211_frame_cts_i_END 
485  {
491 };
Definition: ieee80211.h:486
Definition: ieee80211.h:487
Definition: ieee80211.h:488
Definition: ieee80211.h:489
#define IEEE80211_ADDR_LEN
Definition: ieee80211.h:41
Definition: ieee80211.h:490
anonymous enum
Enumerator
IEEE80211_ELEMID_SSID 
IEEE80211_ELEMID_RATES 
IEEE80211_ELEMID_FHPARMS 
IEEE80211_ELEMID_DSPARMS 
IEEE80211_ELEMID_CFPARMS 
IEEE80211_ELEMID_TIM 
IEEE80211_ELEMID_IBSSPARMS 
IEEE80211_ELEMID_COUNTRY 
IEEE80211_ELEMID_CHALLENGE 
IEEE80211_ELEMID_PWRCNSTR 
IEEE80211_ELEMID_PWRCAP 
IEEE80211_ELEMID_TPCREQ 
IEEE80211_ELEMID_TPCREP 
IEEE80211_ELEMID_SUPPCHAN 
IEEE80211_ELEMID_CSA 
IEEE80211_ELEMID_MEASREQ 
IEEE80211_ELEMID_MEASREP 
IEEE80211_ELEMID_QUIET 
IEEE80211_ELEMID_IBSSDFS 
IEEE80211_ELEMID_ERP 
IEEE80211_ELEMID_HTCAP 
IEEE80211_ELEMID_QOS 
IEEE80211_ELEMID_RSN 
IEEE80211_ELEMID_XRATES 
IEEE80211_ELEMID_HTINFO 
IEEE80211_ELEMID_TPC 
IEEE80211_ELEMID_CCKM 
IEEE80211_ELEMID_VENDOR 
IEEE80211_ELEMID_MESHCONF 
IEEE80211_ELEMID_MESHID 
IEEE80211_ELEMID_MESHLINK 
IEEE80211_ELEMID_MESHCNGST 
IEEE80211_ELEMID_MESHPEER 
IEEE80211_ELEMID_MESHCSA 
IEEE80211_ELEMID_MESHTIM 
IEEE80211_ELEMID_MESHAWAKEW 
IEEE80211_ELEMID_MESHBEACONT 
IEEE80211_ELEMID_MESHGANN 
IEEE80211_ELEMID_MESHRANN 
IEEE80211_ELEMID_MESHPREQ 
IEEE80211_ELEMID_MESHPREP 
IEEE80211_ELEMID_MESHPERR 
IEEE80211_ELEMID_MESHPXU 
IEEE80211_ELEMID_MESHPXUC 
IEEE80211_ELEMID_MESHAH 
724  {
734  /* 17-31 reserved for challenge text extension */
751  IEEE80211_ELEMID_TPC = 150,
752  IEEE80211_ELEMID_CCKM = 156,
753  IEEE80211_ELEMID_VENDOR = 221, /* vendor private */
754 
755  /*
756  * 802.11s IEs
757  * NB: On vanilla Linux still IEEE80211_ELEMID_MESHPEER = 55,
758  * but they defined a new with id 117 called PEER_MGMT.
759  * NB: complies with open80211
760  */
767  IEEE80211_ELEMID_MESHTIM = 39, /* XXX: remove */
770  /* 121-124 MMCAOP not implemented yet */
773  /* 127 Extended Capabilities */
774  /* 128-129 reserved */
778  /* 133-136 reserved */
781  IEEE80211_ELEMID_MESHAH = 60, /* XXX: remove */
782 };
Definition: ieee80211.h:767
Definition: ieee80211.h:731
Definition: ieee80211.h:752
Definition: ieee80211.h:764
Definition: ieee80211.h:776
Definition: ieee80211.h:737
Definition: ieee80211.h:751
Definition: ieee80211.h:766
Definition: ieee80211.h:725
Definition: ieee80211.h:744
Definition: ieee80211.h:771
Definition: ieee80211.h:772
Definition: ieee80211.h:740
Definition: ieee80211.h:748
Definition: ieee80211.h:765
Definition: ieee80211.h:741
Definition: ieee80211.h:728
Definition: ieee80211.h:736
Definition: ieee80211.h:777
Definition: ieee80211.h:735
Definition: ieee80211.h:747
Definition: ieee80211.h:781
Definition: ieee80211.h:729
Definition: ieee80211.h:727
Definition: ieee80211.h:732
Definition: ieee80211.h:779
Definition: ieee80211.h:761
Definition: ieee80211.h:780
Definition: ieee80211.h:775
Definition: ieee80211.h:768
Definition: ieee80211.h:743
Definition: ieee80211.h:726
Definition: ieee80211.h:745
Definition: ieee80211.h:762
Definition: ieee80211.h:742
Definition: ieee80211.h:769
Definition: ieee80211.h:753
Definition: ieee80211.h:750
Definition: ieee80211.h:739
Definition: ieee80211.h:738
Definition: ieee80211.h:763
Definition: ieee80211.h:730
Definition: ieee80211.h:733
Definition: ieee80211.h:749
Definition: ieee80211.h:746

Variable Documentation

struct ieee80211_csa_ie __PACKED__