FreeBSD kernel WLAN code
_ieee80211.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ieee80211_channel
 
struct  ieee80211_rateset
 
struct  ieee80211_htrateset
 
struct  ieee80211_txparam
 
struct  ieee80211_roamparam
 
struct  ieee80211_regdomain
 
struct  ieee80211_mimo_chan_info
 
struct  ieee80211_mimo_info
 
struct  ieee80211_rx_stats
 
struct  ieee80211_rx_params
 

Macros

#define IEEE80211_T_CCK   IEEE80211_T_DS /* more common nomenclature */
 
#define IEEE80211_MODE_MAX   (IEEE80211_MODE_VHT_5GHZ+1)
 
#define IEEE80211_MODE_BYTES   howmany(IEEE80211_MODE_MAX, NBBY)
 
#define IEEE80211_OPMODE_MAX   (IEEE80211_M_MBSS+1)
 
#define IEEE80211_CHAN_MAX   1024
 
#define IEEE80211_CHAN_BYTES   howmany(IEEE80211_CHAN_MAX, NBBY)
 
#define IEEE80211_CHAN_ANY   0xffff /* token for ``any channel'' */
 
#define IEEE80211_CHAN_ANYC    ((struct ieee80211_channel *) IEEE80211_CHAN_ANY)
 
#define IEEE80211_CHAN_PRIV0   0x00000001 /* driver private bit 0 */
 
#define IEEE80211_CHAN_PRIV1   0x00000002 /* driver private bit 1 */
 
#define IEEE80211_CHAN_PRIV2   0x00000004 /* driver private bit 2 */
 
#define IEEE80211_CHAN_PRIV3   0x00000008 /* driver private bit 3 */
 
#define IEEE80211_CHAN_TURBO   0x00000010 /* Turbo channel */
 
#define IEEE80211_CHAN_CCK   0x00000020 /* CCK channel */
 
#define IEEE80211_CHAN_OFDM   0x00000040 /* OFDM channel */
 
#define IEEE80211_CHAN_2GHZ   0x00000080 /* 2 GHz spectrum channel. */
 
#define IEEE80211_CHAN_5GHZ   0x00000100 /* 5 GHz spectrum channel */
 
#define IEEE80211_CHAN_PASSIVE   0x00000200 /* Only passive scan allowed */
 
#define IEEE80211_CHAN_DYN   0x00000400 /* Dynamic CCK-OFDM channel */
 
#define IEEE80211_CHAN_GFSK   0x00000800 /* GFSK channel (FHSS PHY) */
 
#define IEEE80211_CHAN_GSM   0x00001000 /* 900 MHz spectrum channel */
 
#define IEEE80211_CHAN_STURBO   0x00002000 /* 11a static turbo channel only */
 
#define IEEE80211_CHAN_HALF   0x00004000 /* Half rate channel */
 
#define IEEE80211_CHAN_QUARTER   0x00008000 /* Quarter rate channel */
 
#define IEEE80211_CHAN_HT20   0x00010000 /* HT 20 channel */
 
#define IEEE80211_CHAN_HT40U   0x00020000 /* HT 40 channel w/ ext above */
 
#define IEEE80211_CHAN_HT40D   0x00040000 /* HT 40 channel w/ ext below */
 
#define IEEE80211_CHAN_DFS   0x00080000 /* DFS required */
 
#define IEEE80211_CHAN_4MSXMIT   0x00100000 /* 4ms limit on frame length */
 
#define IEEE80211_CHAN_NOADHOC   0x00200000 /* adhoc mode not allowed */
 
#define IEEE80211_CHAN_NOHOSTAP   0x00400000 /* hostap mode not allowed */
 
#define IEEE80211_CHAN_11D   0x00800000 /* 802.11d required */
 
#define IEEE80211_CHAN_VHT20   0x01000000 /* VHT20 channel */
 
#define IEEE80211_CHAN_VHT40U   0x02000000 /* VHT40 channel, ext above */
 
#define IEEE80211_CHAN_VHT40D   0x04000000 /* VHT40 channel, ext below */
 
#define IEEE80211_CHAN_VHT80   0x08000000 /* VHT80 channel */
 
#define IEEE80211_CHAN_VHT160   0x10000000 /* VHT160 channel */
 
#define IEEE80211_CHAN_VHT80P80   0x20000000 /* VHT80+80 channel */
 
#define IEEE80211_CHAN_HT40   (IEEE80211_CHAN_HT40U | IEEE80211_CHAN_HT40D)
 
#define IEEE80211_CHAN_HT   (IEEE80211_CHAN_HT20 | IEEE80211_CHAN_HT40)
 
#define IEEE80211_CHAN_VHT40   (IEEE80211_CHAN_VHT40U | IEEE80211_CHAN_VHT40D)
 
#define IEEE80211_CHAN_VHT
 
#define IEEE80211_CHAN_BITS
 
#define IEEE80211_CHAN_FHSS    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_GFSK)
 
#define IEEE80211_CHAN_A    (IEEE80211_CHAN_5GHZ | IEEE80211_CHAN_OFDM)
 
#define IEEE80211_CHAN_B    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_CCK)
 
#define IEEE80211_CHAN_PUREG    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_OFDM)
 
#define IEEE80211_CHAN_G    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_DYN)
 
#define IEEE80211_CHAN_108A    (IEEE80211_CHAN_A | IEEE80211_CHAN_TURBO)
 
#define IEEE80211_CHAN_108G    (IEEE80211_CHAN_PUREG | IEEE80211_CHAN_TURBO)
 
#define IEEE80211_CHAN_ST    (IEEE80211_CHAN_108A | IEEE80211_CHAN_STURBO)
 
#define IEEE80211_CHAN_ALL
 
#define IEEE80211_CHAN_ALLTURBO    (IEEE80211_CHAN_ALL | IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO)
 
#define IEEE80211_IS_CHAN_FHSS(_c)    (((_c)->ic_flags & IEEE80211_CHAN_FHSS) == IEEE80211_CHAN_FHSS)
 
#define IEEE80211_IS_CHAN_A(_c)    (((_c)->ic_flags & IEEE80211_CHAN_A) == IEEE80211_CHAN_A)
 
#define IEEE80211_IS_CHAN_B(_c)    (((_c)->ic_flags & IEEE80211_CHAN_B) == IEEE80211_CHAN_B)
 
#define IEEE80211_IS_CHAN_PUREG(_c)    (((_c)->ic_flags & IEEE80211_CHAN_PUREG) == IEEE80211_CHAN_PUREG)
 
#define IEEE80211_IS_CHAN_G(_c)    (((_c)->ic_flags & IEEE80211_CHAN_G) == IEEE80211_CHAN_G)
 
#define IEEE80211_IS_CHAN_ANYG(_c)    (IEEE80211_IS_CHAN_PUREG(_c) || IEEE80211_IS_CHAN_G(_c))
 
#define IEEE80211_IS_CHAN_ST(_c)    (((_c)->ic_flags & IEEE80211_CHAN_ST) == IEEE80211_CHAN_ST)
 
#define IEEE80211_IS_CHAN_108A(_c)    (((_c)->ic_flags & IEEE80211_CHAN_108A) == IEEE80211_CHAN_108A)
 
#define IEEE80211_IS_CHAN_108G(_c)    (((_c)->ic_flags & IEEE80211_CHAN_108G) == IEEE80211_CHAN_108G)
 
#define IEEE80211_IS_CHAN_2GHZ(_c)    (((_c)->ic_flags & IEEE80211_CHAN_2GHZ) != 0)
 
#define IEEE80211_IS_CHAN_5GHZ(_c)    (((_c)->ic_flags & IEEE80211_CHAN_5GHZ) != 0)
 
#define IEEE80211_IS_CHAN_PASSIVE(_c)    (((_c)->ic_flags & IEEE80211_CHAN_PASSIVE) != 0)
 
#define IEEE80211_IS_CHAN_OFDM(_c)    (((_c)->ic_flags & (IEEE80211_CHAN_OFDM | IEEE80211_CHAN_DYN)) != 0)
 
#define IEEE80211_IS_CHAN_CCK(_c)    (((_c)->ic_flags & (IEEE80211_CHAN_CCK | IEEE80211_CHAN_DYN)) != 0)
 
#define IEEE80211_IS_CHAN_DYN(_c)    (((_c)->ic_flags & IEEE80211_CHAN_DYN) == IEEE80211_CHAN_DYN)
 
#define IEEE80211_IS_CHAN_GFSK(_c)    (((_c)->ic_flags & IEEE80211_CHAN_GFSK) != 0)
 
#define IEEE80211_IS_CHAN_TURBO(_c)    (((_c)->ic_flags & IEEE80211_CHAN_TURBO) != 0)
 
#define IEEE80211_IS_CHAN_STURBO(_c)    (((_c)->ic_flags & IEEE80211_CHAN_STURBO) != 0)
 
#define IEEE80211_IS_CHAN_DTURBO(_c)
 
#define IEEE80211_IS_CHAN_HALF(_c)    (((_c)->ic_flags & IEEE80211_CHAN_HALF) != 0)
 
#define IEEE80211_IS_CHAN_QUARTER(_c)    (((_c)->ic_flags & IEEE80211_CHAN_QUARTER) != 0)
 
#define IEEE80211_IS_CHAN_FULL(_c)    (((_c)->ic_flags & (IEEE80211_CHAN_QUARTER | IEEE80211_CHAN_HALF)) == 0)
 
#define IEEE80211_IS_CHAN_GSM(_c)    (((_c)->ic_flags & IEEE80211_CHAN_GSM) != 0)
 
#define IEEE80211_IS_CHAN_HT(_c)    (((_c)->ic_flags & IEEE80211_CHAN_HT) != 0)
 
#define IEEE80211_IS_CHAN_HT20(_c)    (((_c)->ic_flags & IEEE80211_CHAN_HT20) != 0)
 
#define IEEE80211_IS_CHAN_HT40(_c)    (((_c)->ic_flags & IEEE80211_CHAN_HT40) != 0)
 
#define IEEE80211_IS_CHAN_HT40U(_c)    (((_c)->ic_flags & IEEE80211_CHAN_HT40U) != 0)
 
#define IEEE80211_IS_CHAN_HT40D(_c)    (((_c)->ic_flags & IEEE80211_CHAN_HT40D) != 0)
 
#define IEEE80211_IS_CHAN_HTA(_c)
 
#define IEEE80211_IS_CHAN_HTG(_c)
 
#define IEEE80211_IS_CHAN_DFS(_c)    (((_c)->ic_flags & IEEE80211_CHAN_DFS) != 0)
 
#define IEEE80211_IS_CHAN_NOADHOC(_c)    (((_c)->ic_flags & IEEE80211_CHAN_NOADHOC) != 0)
 
#define IEEE80211_IS_CHAN_NOHOSTAP(_c)    (((_c)->ic_flags & IEEE80211_CHAN_NOHOSTAP) != 0)
 
#define IEEE80211_IS_CHAN_11D(_c)    (((_c)->ic_flags & IEEE80211_CHAN_11D) != 0)
 
#define IEEE80211_IS_CHAN_VHT(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)
 
#define IEEE80211_IS_CHAN_VHT_2GHZ(_c)
 
#define IEEE80211_IS_CHAN_VHT_5GHZ(_c)
 
#define IEEE80211_IS_CHAN_VHT20(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT20) != 0)
 
#define IEEE80211_IS_CHAN_VHT40(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT40) != 0)
 
#define IEEE80211_IS_CHAN_VHT40U(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT40U) != 0)
 
#define IEEE80211_IS_CHAN_VHT40D(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT40D) != 0)
 
#define IEEE80211_IS_CHAN_VHTA(_c)
 
#define IEEE80211_IS_CHAN_VHTG(_c)
 
#define IEEE80211_IS_CHAN_VHT80(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT80) != 0)
 
#define IEEE80211_IS_CHAN_VHT160(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT160) != 0)
 
#define IEEE80211_IS_CHAN_VHT80P80(_c)    (((_c)->ic_flags & IEEE80211_CHAN_VHT80P80) != 0)
 
#define IEEE80211_CHAN2IEEE(_c)   (_c)->ic_ieee
 
#define IEEE80211_CHANSTATE_RADAR   0x01 /* radar detected */
 
#define IEEE80211_CHANSTATE_CACDONE   0x02 /* CAC completed */
 
#define IEEE80211_CHANSTATE_CWINT   0x04 /* interference detected */
 
#define IEEE80211_CHANSTATE_NORADAR   0x10 /* post notify on radar clear */
 
#define IEEE80211_IS_CHAN_RADAR(_c)    (((_c)->ic_state & IEEE80211_CHANSTATE_RADAR) != 0)
 
#define IEEE80211_IS_CHAN_CACDONE(_c)    (((_c)->ic_state & IEEE80211_CHANSTATE_CACDONE) != 0)
 
#define IEEE80211_IS_CHAN_CWINT(_c)    (((_c)->ic_state & IEEE80211_CHANSTATE_CWINT) != 0)
 
#define IEEE80211_FH_CHANMOD   80
 
#define IEEE80211_FH_CHAN(set, pat)   (((set)-1)*IEEE80211_FH_CHANMOD+(pat))
 
#define IEEE80211_FH_CHANSET(chan)   ((chan)/IEEE80211_FH_CHANMOD+1)
 
#define IEEE80211_FH_CHANPAT(chan)   ((chan)%IEEE80211_FH_CHANMOD)
 
#define IEEE80211_TID_SIZE   (WME_NUM_TID+1) /* WME TID's +1 for non-QoS */
 
#define IEEE80211_NONQOS_TID   WME_NUM_TID /* index for non-QoS sta */
 
#define IEEE80211_AID_DEF   128
 
#define IEEE80211_AID_MIN   16
 
#define IEEE80211_RATE_SIZE   8 /* 802.11 standard */
 
#define IEEE80211_RATE_MAXSIZE   15 /* max rates we'll handle */
 
#define IEEE80211_HTRATE_MAXSIZE   77
 
#define IEEE80211_RATE_MCS   0x80
 
#define IEEE80211_MAX_CHAINS   4
 
#define IEEE80211_MAX_CHAIN_PRISEC   4
 
#define IEEE80211_MAX_EVM_DWORDS   16 /* 16 pilots, 4 chains */
 
#define IEEE80211_MAX_EVM_PILOTS   16 /* 468 subcarriers, 16 pilots */
 
#define IEEE80211_C_STA   0x00000001 /* CAPABILITY: STA available */
 
#define IEEE80211_C_8023ENCAP   0x00000002 /* CAPABILITY: 802.3 encap */
 
#define IEEE80211_C_FF   0x00000040 /* CAPABILITY: ATH FF avail */
 
#define IEEE80211_C_TURBOP   0x00000080 /* CAPABILITY: ATH Turbo avail*/
 
#define IEEE80211_C_IBSS   0x00000100 /* CAPABILITY: IBSS available */
 
#define IEEE80211_C_PMGT   0x00000200 /* CAPABILITY: Power mgmt */
 
#define IEEE80211_C_HOSTAP   0x00000400 /* CAPABILITY: HOSTAP avail */
 
#define IEEE80211_C_AHDEMO   0x00000800 /* CAPABILITY: Old Adhoc Demo */
 
#define IEEE80211_C_SWRETRY   0x00001000 /* CAPABILITY: sw tx retry */
 
#define IEEE80211_C_TXPMGT   0x00002000 /* CAPABILITY: tx power mgmt */
 
#define IEEE80211_C_SHSLOT   0x00004000 /* CAPABILITY: short slottime */
 
#define IEEE80211_C_SHPREAMBLE   0x00008000 /* CAPABILITY: short preamble */
 
#define IEEE80211_C_MONITOR   0x00010000 /* CAPABILITY: monitor mode */
 
#define IEEE80211_C_DFS   0x00020000 /* CAPABILITY: DFS/radar avail*/
 
#define IEEE80211_C_MBSS   0x00040000 /* CAPABILITY: MBSS available */
 
#define IEEE80211_C_SWSLEEP   0x00080000 /* CAPABILITY: do sleep here */
 
#define IEEE80211_C_SWAMSDUTX   0x00100000 /* CAPABILITY: software A-MSDU TX */
 
#define IEEE80211_C_UAPSD   0x00200000 /* CAPABILITY: U-APSD */
 
#define IEEE80211_C_WPA1   0x00800000 /* CAPABILITY: WPA1 avail */
 
#define IEEE80211_C_WPA2   0x01000000 /* CAPABILITY: WPA2 avail */
 
#define IEEE80211_C_WPA   0x01800000 /* CAPABILITY: WPA1+WPA2 avail*/
 
#define IEEE80211_C_BURST   0x02000000 /* CAPABILITY: frame bursting */
 
#define IEEE80211_C_WME   0x04000000 /* CAPABILITY: WME avail */
 
#define IEEE80211_C_WDS   0x08000000 /* CAPABILITY: 4-addr support */
 
#define IEEE80211_C_BGSCAN   0x20000000 /* CAPABILITY: bg scanning */
 
#define IEEE80211_C_TXFRAG   0x40000000 /* CAPABILITY: tx fragments */
 
#define IEEE80211_C_TDMA   0x80000000 /* CAPABILITY: TDMA avail */
 
#define IEEE80211_C_OPMODE
 
#define IEEE80211_C_BITS
 
#define IEEE80211_HTC_AMPDU   0x00010000 /* CAPABILITY: A-MPDU tx */
 
#define IEEE80211_HTC_AMSDU   0x00020000 /* CAPABILITY: A-MSDU tx */
 
#define IEEE80211_HTC_HT   0x00040000 /* CAPABILITY: HT operation */
 
#define IEEE80211_HTC_SMPS   0x00080000 /* CAPABILITY: MIMO power save*/
 
#define IEEE80211_HTC_RIFS   0x00100000 /* CAPABILITY: RIFS support */
 
#define IEEE80211_HTC_RXUNEQUAL   0x00200000 /* CAPABILITY: RX unequal MCS */
 
#define IEEE80211_HTC_RXMCS32   0x00400000 /* CAPABILITY: MCS32 support */
 
#define IEEE80211_HTC_TXUNEQUAL   0x00800000 /* CAPABILITY: TX unequal MCS */
 
#define IEEE80211_HTC_TXMCS32   0x01000000 /* CAPABILITY: MCS32 support */
 
#define IEEE80211_HTC_TXLDPC   0x02000000 /* CAPABILITY: TX using LDPC */
 
#define IEEE80211_HTC_RX_AMSDU_AMPDU   0x04000000 /* CAPABILITY: RX A-MSDU in A-MPDU */
 
#define IEEE80211_HTC_TX_AMSDU_AMPDU   0x08000000 /* CAPABILITY: TX A-MSDU in A-MPDU */
 
#define IEEE80211_C_HTCAP_BITS
 
#define IEEE80211_R_NF   0x00000001 /* global NF value valid */
 
#define IEEE80211_R_RSSI   0x00000002 /* global RSSI value valid */
 
#define IEEE80211_R_C_CHAIN   0x00000004 /* RX chain count valid */
 
#define IEEE80211_R_C_NF   0x00000008 /* per-chain NF value valid */
 
#define IEEE80211_R_C_RSSI   0x00000010 /* per-chain RSSI value valid */
 
#define IEEE80211_R_C_EVM   0x00000020 /* per-chain EVM valid */
 
#define IEEE80211_R_C_HT40   0x00000040 /* RX'ed packet is 40mhz, pilots 4,5 valid */
 
#define IEEE80211_R_FREQ   0x00000080 /* Freq value populated, MHz */
 
#define IEEE80211_R_IEEE   0x00000100 /* IEEE value populated */
 
#define IEEE80211_R_BAND   0x00000200 /* Frequency band populated */
 
#define IEEE80211_R_TSF32   0x00004000 /* 32 bit TSF */
 
#define IEEE80211_R_TSF64   0x00008000 /* 64 bit TSF */
 
#define IEEE80211_R_TSF_START   0x00010000 /* TSF is sampled at start of frame */
 
#define IEEE80211_R_TSF_END   0x00020000 /* TSF is sampled at end of frame */
 
#define IEEE80211_RX_F_STBC   0x00000001
 
#define IEEE80211_RX_F_LDPC   0x00000002
 
#define IEEE80211_RX_F_AMSDU   0x00000004 /* This is the start of an decap AMSDU list */
 
#define IEEE80211_RX_F_AMSDU_MORE   0x00000008 /* This is another decap AMSDU frame in the batch */
 
#define IEEE80211_RX_F_AMPDU   0x00000010 /* This is the start of an decap AMPDU list */
 
#define IEEE80211_RX_F_AMPDU_MORE   0x00000020 /* This is another decap AMPDU frame in the batch */
 
#define IEEE80211_RX_F_FAIL_FCSCRC   0x00000040 /* Failed CRC/FCS */
 
#define IEEE80211_RX_F_FAIL_MIC   0x00000080 /* Failed MIC check */
 
#define IEEE80211_RX_F_DECRYPTED   0x00000100 /* Hardware decrypted */
 
#define IEEE80211_RX_F_IV_STRIP   0x00000200 /* Decrypted; IV stripped */
 
#define IEEE80211_RX_F_MMIC_STRIP   0x00000400 /* Decrypted; MMIC stripped */
 
#define IEEE80211_RX_F_SHORTGI   0x00000800 /* This is a short-GI frame */
 
#define IEEE80211_RX_F_CCK   0x00001000
 
#define IEEE80211_RX_F_OFDM   0x00002000
 
#define IEEE80211_RX_F_HT   0x00004000
 
#define IEEE80211_RX_F_VHT   0x00008000
 
#define IEEE80211_RX_FW_20MHZ   1
 
#define IEEE80211_RX_FW_40MHZ   2
 
#define IEEE80211_RX_FW_80MHZ   3
 
#define IEEE80211_RX_FW_160MHZ   4
 
#define IEEE80211_RX_FP_11B   1
 
#define IEEE80211_RX_FP_11G   2
 
#define IEEE80211_RX_FP_11A   3
 
#define IEEE80211_RX_FP_11NA   4
 
#define IEEE80211_RX_FP_11NG   5
 

Enumerations

enum  ieee80211_phytype {
  IEEE80211_T_DS , IEEE80211_T_FH , IEEE80211_T_OFDM , IEEE80211_T_TURBO ,
  IEEE80211_T_HT , IEEE80211_T_OFDM_HALF , IEEE80211_T_OFDM_QUARTER , IEEE80211_T_VHT
}
 
enum  ieee80211_phymode {
  IEEE80211_MODE_AUTO = 0 , IEEE80211_MODE_11A = 1 , IEEE80211_MODE_11B = 2 , IEEE80211_MODE_11G = 3 ,
  IEEE80211_MODE_FH = 4 , IEEE80211_MODE_TURBO_A = 5 , IEEE80211_MODE_TURBO_G = 6 , IEEE80211_MODE_STURBO_A = 7 ,
  IEEE80211_MODE_11NA = 8 , IEEE80211_MODE_11NG = 9 , IEEE80211_MODE_HALF = 10 , IEEE80211_MODE_QUARTER = 11 ,
  IEEE80211_MODE_VHT_2GHZ = 12 , IEEE80211_MODE_VHT_5GHZ = 13
}
 
enum  ieee80211_opmode {
  IEEE80211_M_IBSS = 0 , IEEE80211_M_STA = 1 , IEEE80211_M_WDS = 2 , IEEE80211_M_AHDEMO = 3 ,
  IEEE80211_M_HOSTAP = 4 , IEEE80211_M_MONITOR = 5 , IEEE80211_M_MBSS = 6
}
 
enum  ieee80211_protmode { IEEE80211_PROT_NONE = 0 , IEEE80211_PROT_CTSONLY = 1 , IEEE80211_PROT_RTSCTS = 2 }
 
enum  ieee80211_authmode {
  IEEE80211_AUTH_NONE = 0 , IEEE80211_AUTH_OPEN = 1 , IEEE80211_AUTH_SHARED = 2 , IEEE80211_AUTH_8021X = 3 ,
  IEEE80211_AUTH_AUTO = 4 , IEEE80211_AUTH_WPA = 5
}
 
enum  ieee80211_roamingmode { IEEE80211_ROAMING_DEVICE = 0 , IEEE80211_ROAMING_AUTO = 1 , IEEE80211_ROAMING_MANUAL = 2 }
 

Macro Definition Documentation

◆ IEEE80211_AID_DEF

#define IEEE80211_AID_DEF   128

Definition at line 376 of file _ieee80211.h.

◆ IEEE80211_AID_MIN

#define IEEE80211_AID_MIN   16

Definition at line 377 of file _ieee80211.h.

◆ IEEE80211_C_8023ENCAP

#define IEEE80211_C_8023ENCAP   0x00000002 /* CAPABILITY: 802.3 encap */

Definition at line 475 of file _ieee80211.h.

◆ IEEE80211_C_AHDEMO

#define IEEE80211_C_AHDEMO   0x00000800 /* CAPABILITY: Old Adhoc Demo */

Definition at line 481 of file _ieee80211.h.

◆ IEEE80211_C_BGSCAN

#define IEEE80211_C_BGSCAN   0x20000000 /* CAPABILITY: bg scanning */

Definition at line 500 of file _ieee80211.h.

◆ IEEE80211_C_BITS

#define IEEE80211_C_BITS
Value:
"\20\1STA\002803ENCAP\7FF\10TURBOP\11IBSS\12PMGT" \
"\13HOSTAP\14AHDEMO\15SWRETRY\16TXPMGT\17SHSLOT\20SHPREAMBLE" \
"\21MONITOR\22DFS\23MBSS\30WPA1\31WPA2\32BURST\33WME\34WDS\36BGSCAN" \
"\37TXFRAG\40TDMA"

Definition at line 510 of file _ieee80211.h.

◆ IEEE80211_C_BURST

#define IEEE80211_C_BURST   0x02000000 /* CAPABILITY: frame bursting */

Definition at line 496 of file _ieee80211.h.

◆ IEEE80211_C_DFS

#define IEEE80211_C_DFS   0x00020000 /* CAPABILITY: DFS/radar avail*/

Definition at line 487 of file _ieee80211.h.

◆ IEEE80211_C_FF

#define IEEE80211_C_FF   0x00000040 /* CAPABILITY: ATH FF avail */

Definition at line 476 of file _ieee80211.h.

◆ IEEE80211_C_HOSTAP

#define IEEE80211_C_HOSTAP   0x00000400 /* CAPABILITY: HOSTAP avail */

Definition at line 480 of file _ieee80211.h.

◆ IEEE80211_C_HTCAP_BITS

#define IEEE80211_C_HTCAP_BITS
Value:
"\20\1LDPC\2CHWIDTH40\5GREENFIELD\6SHORTGI20\7SHORTGI40\10TXSTBC" \
"\21AMPDU\22AMSDU\23HT\24SMPS\25RIFS\32TXLDPC\33RXAMSDUAMPDU" \
"\34TXAMSDUAMPDU"

Definition at line 536 of file _ieee80211.h.

◆ IEEE80211_C_IBSS

#define IEEE80211_C_IBSS   0x00000100 /* CAPABILITY: IBSS available */

Definition at line 478 of file _ieee80211.h.

◆ IEEE80211_C_MBSS

#define IEEE80211_C_MBSS   0x00040000 /* CAPABILITY: MBSS available */

Definition at line 488 of file _ieee80211.h.

◆ IEEE80211_C_MONITOR

#define IEEE80211_C_MONITOR   0x00010000 /* CAPABILITY: monitor mode */

Definition at line 486 of file _ieee80211.h.

◆ IEEE80211_C_OPMODE

#define IEEE80211_C_OPMODE
Value:
IEEE80211_C_AHDEMO | IEEE80211_C_MONITOR | IEEE80211_C_WDS | \
IEEE80211_C_TDMA | IEEE80211_C_MBSS)
#define IEEE80211_C_MONITOR
Definition: _ieee80211.h:486
#define IEEE80211_C_STA
Definition: _ieee80211.h:474
#define IEEE80211_C_HOSTAP
Definition: _ieee80211.h:480
#define IEEE80211_C_MBSS
Definition: _ieee80211.h:488
#define IEEE80211_C_IBSS
Definition: _ieee80211.h:478
#define IEEE80211_C_WDS
Definition: _ieee80211.h:498

Definition at line 505 of file _ieee80211.h.

◆ IEEE80211_C_PMGT

#define IEEE80211_C_PMGT   0x00000200 /* CAPABILITY: Power mgmt */

Definition at line 479 of file _ieee80211.h.

◆ IEEE80211_C_SHPREAMBLE

#define IEEE80211_C_SHPREAMBLE   0x00008000 /* CAPABILITY: short preamble */

Definition at line 485 of file _ieee80211.h.

◆ IEEE80211_C_SHSLOT

#define IEEE80211_C_SHSLOT   0x00004000 /* CAPABILITY: short slottime */

Definition at line 484 of file _ieee80211.h.

◆ IEEE80211_C_STA

#define IEEE80211_C_STA   0x00000001 /* CAPABILITY: STA available */

Definition at line 474 of file _ieee80211.h.

◆ IEEE80211_C_SWAMSDUTX

#define IEEE80211_C_SWAMSDUTX   0x00100000 /* CAPABILITY: software A-MSDU TX */

Definition at line 490 of file _ieee80211.h.

◆ IEEE80211_C_SWRETRY

#define IEEE80211_C_SWRETRY   0x00001000 /* CAPABILITY: sw tx retry */

Definition at line 482 of file _ieee80211.h.

◆ IEEE80211_C_SWSLEEP

#define IEEE80211_C_SWSLEEP   0x00080000 /* CAPABILITY: do sleep here */

Definition at line 489 of file _ieee80211.h.

◆ IEEE80211_C_TDMA

#define IEEE80211_C_TDMA   0x80000000 /* CAPABILITY: TDMA avail */

Definition at line 502 of file _ieee80211.h.

◆ IEEE80211_C_TURBOP

#define IEEE80211_C_TURBOP   0x00000080 /* CAPABILITY: ATH Turbo avail*/

Definition at line 477 of file _ieee80211.h.

◆ IEEE80211_C_TXFRAG

#define IEEE80211_C_TXFRAG   0x40000000 /* CAPABILITY: tx fragments */

Definition at line 501 of file _ieee80211.h.

◆ IEEE80211_C_TXPMGT

#define IEEE80211_C_TXPMGT   0x00002000 /* CAPABILITY: tx power mgmt */

Definition at line 483 of file _ieee80211.h.

◆ IEEE80211_C_UAPSD

#define IEEE80211_C_UAPSD   0x00200000 /* CAPABILITY: U-APSD */

Definition at line 491 of file _ieee80211.h.

◆ IEEE80211_C_WDS

#define IEEE80211_C_WDS   0x08000000 /* CAPABILITY: 4-addr support */

Definition at line 498 of file _ieee80211.h.

◆ IEEE80211_C_WME

#define IEEE80211_C_WME   0x04000000 /* CAPABILITY: WME avail */

Definition at line 497 of file _ieee80211.h.

◆ IEEE80211_C_WPA

#define IEEE80211_C_WPA   0x01800000 /* CAPABILITY: WPA1+WPA2 avail*/

Definition at line 495 of file _ieee80211.h.

◆ IEEE80211_C_WPA1

#define IEEE80211_C_WPA1   0x00800000 /* CAPABILITY: WPA1 avail */

Definition at line 493 of file _ieee80211.h.

◆ IEEE80211_C_WPA2

#define IEEE80211_C_WPA2   0x01000000 /* CAPABILITY: WPA2 avail */

Definition at line 494 of file _ieee80211.h.

◆ IEEE80211_CHAN2IEEE

#define IEEE80211_CHAN2IEEE (   _c)    (_c)->ic_ieee

Definition at line 345 of file _ieee80211.h.

◆ IEEE80211_CHAN_108A

#define IEEE80211_CHAN_108A    (IEEE80211_CHAN_A | IEEE80211_CHAN_TURBO)

Definition at line 228 of file _ieee80211.h.

◆ IEEE80211_CHAN_108G

#define IEEE80211_CHAN_108G    (IEEE80211_CHAN_PUREG | IEEE80211_CHAN_TURBO)

Definition at line 230 of file _ieee80211.h.

◆ IEEE80211_CHAN_11D

#define IEEE80211_CHAN_11D   0x00800000 /* 802.11d required */

Definition at line 192 of file _ieee80211.h.

◆ IEEE80211_CHAN_2GHZ

#define IEEE80211_CHAN_2GHZ   0x00000080 /* 2 GHz spectrum channel. */

Definition at line 176 of file _ieee80211.h.

◆ IEEE80211_CHAN_4MSXMIT

#define IEEE80211_CHAN_4MSXMIT   0x00100000 /* 4ms limit on frame length */

Definition at line 189 of file _ieee80211.h.

◆ IEEE80211_CHAN_5GHZ

#define IEEE80211_CHAN_5GHZ   0x00000100 /* 5 GHz spectrum channel */

Definition at line 177 of file _ieee80211.h.

◆ IEEE80211_CHAN_A

#define IEEE80211_CHAN_A    (IEEE80211_CHAN_5GHZ | IEEE80211_CHAN_OFDM)

Definition at line 220 of file _ieee80211.h.

◆ IEEE80211_CHAN_ALL

#define IEEE80211_CHAN_ALL
Value:
IEEE80211_CHAN_CCK | IEEE80211_CHAN_OFDM | IEEE80211_CHAN_DYN | \
IEEE80211_CHAN_HALF | IEEE80211_CHAN_QUARTER | \
IEEE80211_CHAN_HT | IEEE80211_CHAN_VHT)
#define IEEE80211_CHAN_QUARTER
Definition: _ieee80211.h:184
#define IEEE80211_CHAN_5GHZ
Definition: _ieee80211.h:177
#define IEEE80211_CHAN_2GHZ
Definition: _ieee80211.h:176
#define IEEE80211_CHAN_OFDM
Definition: _ieee80211.h:175
#define IEEE80211_CHAN_VHT
Definition: _ieee80211.h:205
#define IEEE80211_CHAN_GFSK
Definition: _ieee80211.h:180
#define IEEE80211_CHAN_DYN
Definition: _ieee80211.h:179

Definition at line 235 of file _ieee80211.h.

◆ IEEE80211_CHAN_ALLTURBO

#define IEEE80211_CHAN_ALLTURBO    (IEEE80211_CHAN_ALL | IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO)

Definition at line 240 of file _ieee80211.h.

◆ IEEE80211_CHAN_ANY

#define IEEE80211_CHAN_ANY   0xffff /* token for ``any channel'' */

Definition at line 164 of file _ieee80211.h.

◆ IEEE80211_CHAN_ANYC

#define IEEE80211_CHAN_ANYC    ((struct ieee80211_channel *) IEEE80211_CHAN_ANY)

Definition at line 165 of file _ieee80211.h.

◆ IEEE80211_CHAN_B

#define IEEE80211_CHAN_B    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_CCK)

Definition at line 222 of file _ieee80211.h.

◆ IEEE80211_CHAN_BITS

#define IEEE80211_CHAN_BITS
Value:
"\20\1PRIV0\2PRIV2\3PRIV3\4PRIV4\5TURBO\6CCK\7OFDM\0102GHZ\0115GHZ" \
"\12PASSIVE\13DYN\14GFSK\15GSM\16STURBO\17HALF\20QUARTER\21HT20" \
"\22HT40U\23HT40D\24DFS\0254MSXMIT\26NOADHOC\27NOHOSTAP\03011D" \
"\031VHT20\032VHT40U\033VHT40D\034VHT80\035VHT160\036VHT80P80"

Definition at line 209 of file _ieee80211.h.

◆ IEEE80211_CHAN_BYTES

#define IEEE80211_CHAN_BYTES   howmany(IEEE80211_CHAN_MAX, NBBY)

Definition at line 163 of file _ieee80211.h.

◆ IEEE80211_CHAN_CCK

#define IEEE80211_CHAN_CCK   0x00000020 /* CCK channel */

Definition at line 174 of file _ieee80211.h.

◆ IEEE80211_CHAN_DFS

#define IEEE80211_CHAN_DFS   0x00080000 /* DFS required */

Definition at line 188 of file _ieee80211.h.

◆ IEEE80211_CHAN_DYN

#define IEEE80211_CHAN_DYN   0x00000400 /* Dynamic CCK-OFDM channel */

Definition at line 179 of file _ieee80211.h.

◆ IEEE80211_CHAN_FHSS

#define IEEE80211_CHAN_FHSS    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_GFSK)

Definition at line 218 of file _ieee80211.h.

◆ IEEE80211_CHAN_G

#define IEEE80211_CHAN_G    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_DYN)

Definition at line 226 of file _ieee80211.h.

◆ IEEE80211_CHAN_GFSK

#define IEEE80211_CHAN_GFSK   0x00000800 /* GFSK channel (FHSS PHY) */

Definition at line 180 of file _ieee80211.h.

◆ IEEE80211_CHAN_GSM

#define IEEE80211_CHAN_GSM   0x00001000 /* 900 MHz spectrum channel */

Definition at line 181 of file _ieee80211.h.

◆ IEEE80211_CHAN_HALF

#define IEEE80211_CHAN_HALF   0x00004000 /* Half rate channel */

Definition at line 183 of file _ieee80211.h.

◆ IEEE80211_CHAN_HT

#define IEEE80211_CHAN_HT   (IEEE80211_CHAN_HT20 | IEEE80211_CHAN_HT40)

Definition at line 202 of file _ieee80211.h.

◆ IEEE80211_CHAN_HT20

#define IEEE80211_CHAN_HT20   0x00010000 /* HT 20 channel */

Definition at line 185 of file _ieee80211.h.

◆ IEEE80211_CHAN_HT40

#define IEEE80211_CHAN_HT40   (IEEE80211_CHAN_HT40U | IEEE80211_CHAN_HT40D)

Definition at line 201 of file _ieee80211.h.

◆ IEEE80211_CHAN_HT40D

#define IEEE80211_CHAN_HT40D   0x00040000 /* HT 40 channel w/ ext below */

Definition at line 187 of file _ieee80211.h.

◆ IEEE80211_CHAN_HT40U

#define IEEE80211_CHAN_HT40U   0x00020000 /* HT 40 channel w/ ext above */

Definition at line 186 of file _ieee80211.h.

◆ IEEE80211_CHAN_MAX

#define IEEE80211_CHAN_MAX   1024

Definition at line 162 of file _ieee80211.h.

◆ IEEE80211_CHAN_NOADHOC

#define IEEE80211_CHAN_NOADHOC   0x00200000 /* adhoc mode not allowed */

Definition at line 190 of file _ieee80211.h.

◆ IEEE80211_CHAN_NOHOSTAP

#define IEEE80211_CHAN_NOHOSTAP   0x00400000 /* hostap mode not allowed */

Definition at line 191 of file _ieee80211.h.

◆ IEEE80211_CHAN_OFDM

#define IEEE80211_CHAN_OFDM   0x00000040 /* OFDM channel */

Definition at line 175 of file _ieee80211.h.

◆ IEEE80211_CHAN_PASSIVE

#define IEEE80211_CHAN_PASSIVE   0x00000200 /* Only passive scan allowed */

Definition at line 178 of file _ieee80211.h.

◆ IEEE80211_CHAN_PRIV0

#define IEEE80211_CHAN_PRIV0   0x00000001 /* driver private bit 0 */

Definition at line 169 of file _ieee80211.h.

◆ IEEE80211_CHAN_PRIV1

#define IEEE80211_CHAN_PRIV1   0x00000002 /* driver private bit 1 */

Definition at line 170 of file _ieee80211.h.

◆ IEEE80211_CHAN_PRIV2

#define IEEE80211_CHAN_PRIV2   0x00000004 /* driver private bit 2 */

Definition at line 171 of file _ieee80211.h.

◆ IEEE80211_CHAN_PRIV3

#define IEEE80211_CHAN_PRIV3   0x00000008 /* driver private bit 3 */

Definition at line 172 of file _ieee80211.h.

◆ IEEE80211_CHAN_PUREG

#define IEEE80211_CHAN_PUREG    (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_OFDM)

Definition at line 224 of file _ieee80211.h.

◆ IEEE80211_CHAN_QUARTER

#define IEEE80211_CHAN_QUARTER   0x00008000 /* Quarter rate channel */

Definition at line 184 of file _ieee80211.h.

◆ IEEE80211_CHAN_ST

#define IEEE80211_CHAN_ST    (IEEE80211_CHAN_108A | IEEE80211_CHAN_STURBO)

Definition at line 232 of file _ieee80211.h.

◆ IEEE80211_CHAN_STURBO

#define IEEE80211_CHAN_STURBO   0x00002000 /* 11a static turbo channel only */

Definition at line 182 of file _ieee80211.h.

◆ IEEE80211_CHAN_TURBO

#define IEEE80211_CHAN_TURBO   0x00000010 /* Turbo channel */

Definition at line 173 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT

#define IEEE80211_CHAN_VHT
Value:
#define IEEE80211_CHAN_VHT160
Definition: _ieee80211.h:197
#define IEEE80211_CHAN_VHT20
Definition: _ieee80211.h:193
#define IEEE80211_CHAN_VHT80P80
Definition: _ieee80211.h:198
#define IEEE80211_CHAN_VHT80
Definition: _ieee80211.h:196
#define IEEE80211_CHAN_VHT40
Definition: _ieee80211.h:204

Definition at line 205 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT160

#define IEEE80211_CHAN_VHT160   0x10000000 /* VHT160 channel */

Definition at line 197 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT20

#define IEEE80211_CHAN_VHT20   0x01000000 /* VHT20 channel */

Definition at line 193 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT40

#define IEEE80211_CHAN_VHT40   (IEEE80211_CHAN_VHT40U | IEEE80211_CHAN_VHT40D)

Definition at line 204 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT40D

#define IEEE80211_CHAN_VHT40D   0x04000000 /* VHT40 channel, ext below */

Definition at line 195 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT40U

#define IEEE80211_CHAN_VHT40U   0x02000000 /* VHT40 channel, ext above */

Definition at line 194 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT80

#define IEEE80211_CHAN_VHT80   0x08000000 /* VHT80 channel */

Definition at line 196 of file _ieee80211.h.

◆ IEEE80211_CHAN_VHT80P80

#define IEEE80211_CHAN_VHT80P80   0x20000000 /* VHT80+80 channel */

Definition at line 198 of file _ieee80211.h.

◆ IEEE80211_CHANSTATE_CACDONE

#define IEEE80211_CHANSTATE_CACDONE   0x02 /* CAC completed */

Definition at line 349 of file _ieee80211.h.

◆ IEEE80211_CHANSTATE_CWINT

#define IEEE80211_CHANSTATE_CWINT   0x04 /* interference detected */

Definition at line 350 of file _ieee80211.h.

◆ IEEE80211_CHANSTATE_NORADAR

#define IEEE80211_CHANSTATE_NORADAR   0x10 /* post notify on radar clear */

Definition at line 351 of file _ieee80211.h.

◆ IEEE80211_CHANSTATE_RADAR

#define IEEE80211_CHANSTATE_RADAR   0x01 /* radar detected */

Definition at line 348 of file _ieee80211.h.

◆ IEEE80211_FH_CHAN

#define IEEE80211_FH_CHAN (   set,
  pat 
)    (((set)-1)*IEEE80211_FH_CHANMOD+(pat))

Definition at line 362 of file _ieee80211.h.

◆ IEEE80211_FH_CHANMOD

#define IEEE80211_FH_CHANMOD   80

Definition at line 361 of file _ieee80211.h.

◆ IEEE80211_FH_CHANPAT

#define IEEE80211_FH_CHANPAT (   chan)    ((chan)%IEEE80211_FH_CHANMOD)

Definition at line 364 of file _ieee80211.h.

◆ IEEE80211_FH_CHANSET

#define IEEE80211_FH_CHANSET (   chan)    ((chan)/IEEE80211_FH_CHANMOD+1)

Definition at line 363 of file _ieee80211.h.

◆ IEEE80211_HTC_AMPDU

#define IEEE80211_HTC_AMPDU   0x00010000 /* CAPABILITY: A-MPDU tx */

Definition at line 522 of file _ieee80211.h.

◆ IEEE80211_HTC_AMSDU

#define IEEE80211_HTC_AMSDU   0x00020000 /* CAPABILITY: A-MSDU tx */

Definition at line 523 of file _ieee80211.h.

◆ IEEE80211_HTC_HT

#define IEEE80211_HTC_HT   0x00040000 /* CAPABILITY: HT operation */

Definition at line 525 of file _ieee80211.h.

◆ IEEE80211_HTC_RIFS

#define IEEE80211_HTC_RIFS   0x00100000 /* CAPABILITY: RIFS support */

Definition at line 527 of file _ieee80211.h.

◆ IEEE80211_HTC_RX_AMSDU_AMPDU

#define IEEE80211_HTC_RX_AMSDU_AMPDU   0x04000000 /* CAPABILITY: RX A-MSDU in A-MPDU */

Definition at line 533 of file _ieee80211.h.

◆ IEEE80211_HTC_RXMCS32

#define IEEE80211_HTC_RXMCS32   0x00400000 /* CAPABILITY: MCS32 support */

Definition at line 529 of file _ieee80211.h.

◆ IEEE80211_HTC_RXUNEQUAL

#define IEEE80211_HTC_RXUNEQUAL   0x00200000 /* CAPABILITY: RX unequal MCS */

Definition at line 528 of file _ieee80211.h.

◆ IEEE80211_HTC_SMPS

#define IEEE80211_HTC_SMPS   0x00080000 /* CAPABILITY: MIMO power save*/

Definition at line 526 of file _ieee80211.h.

◆ IEEE80211_HTC_TX_AMSDU_AMPDU

#define IEEE80211_HTC_TX_AMSDU_AMPDU   0x08000000 /* CAPABILITY: TX A-MSDU in A-MPDU */

Definition at line 534 of file _ieee80211.h.

◆ IEEE80211_HTC_TXLDPC

#define IEEE80211_HTC_TXLDPC   0x02000000 /* CAPABILITY: TX using LDPC */

Definition at line 532 of file _ieee80211.h.

◆ IEEE80211_HTC_TXMCS32

#define IEEE80211_HTC_TXMCS32   0x01000000 /* CAPABILITY: MCS32 support */

Definition at line 531 of file _ieee80211.h.

◆ IEEE80211_HTC_TXUNEQUAL

#define IEEE80211_HTC_TXUNEQUAL   0x00800000 /* CAPABILITY: TX unequal MCS */

Definition at line 530 of file _ieee80211.h.

◆ IEEE80211_HTRATE_MAXSIZE

#define IEEE80211_HTRATE_MAXSIZE   77

Definition at line 396 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_108A

#define IEEE80211_IS_CHAN_108A (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_108A) == IEEE80211_CHAN_108A)

Definition at line 257 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_108G

#define IEEE80211_IS_CHAN_108G (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_108G) == IEEE80211_CHAN_108G)

Definition at line 259 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_11D

#define IEEE80211_IS_CHAN_11D (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_11D) != 0)

Definition at line 313 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_2GHZ

#define IEEE80211_IS_CHAN_2GHZ (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_2GHZ) != 0)

Definition at line 262 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_5GHZ

#define IEEE80211_IS_CHAN_5GHZ (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_5GHZ) != 0)

Definition at line 264 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_A

#define IEEE80211_IS_CHAN_A (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_A) == IEEE80211_CHAN_A)

Definition at line 245 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_ANYG

#define IEEE80211_IS_CHAN_ANYG (   _c)     (IEEE80211_IS_CHAN_PUREG(_c) || IEEE80211_IS_CHAN_G(_c))

Definition at line 253 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_B

#define IEEE80211_IS_CHAN_B (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_B) == IEEE80211_CHAN_B)

Definition at line 247 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_CACDONE

#define IEEE80211_IS_CHAN_CACDONE (   _c)     (((_c)->ic_state & IEEE80211_CHANSTATE_CACDONE) != 0)

Definition at line 355 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_CCK

#define IEEE80211_IS_CHAN_CCK (   _c)     (((_c)->ic_flags & (IEEE80211_CHAN_CCK | IEEE80211_CHAN_DYN)) != 0)

Definition at line 270 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_CWINT

#define IEEE80211_IS_CHAN_CWINT (   _c)     (((_c)->ic_state & IEEE80211_CHANSTATE_CWINT) != 0)

Definition at line 357 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_DFS

#define IEEE80211_IS_CHAN_DFS (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_DFS) != 0)

Definition at line 307 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_DTURBO

#define IEEE80211_IS_CHAN_DTURBO (   _c)
Value:
(((_c)->ic_flags & \
#define IEEE80211_CHAN_TURBO
Definition: _ieee80211.h:173
#define IEEE80211_CHAN_STURBO
Definition: _ieee80211.h:182

Definition at line 280 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_DYN

#define IEEE80211_IS_CHAN_DYN (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_DYN) == IEEE80211_CHAN_DYN)

Definition at line 272 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_FHSS

#define IEEE80211_IS_CHAN_FHSS (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_FHSS) == IEEE80211_CHAN_FHSS)

Definition at line 243 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_FULL

#define IEEE80211_IS_CHAN_FULL (   _c)     (((_c)->ic_flags & (IEEE80211_CHAN_QUARTER | IEEE80211_CHAN_HALF)) == 0)

Definition at line 287 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_G

#define IEEE80211_IS_CHAN_G (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_G) == IEEE80211_CHAN_G)

Definition at line 251 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_GFSK

#define IEEE80211_IS_CHAN_GFSK (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_GFSK) != 0)

Definition at line 274 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_GSM

#define IEEE80211_IS_CHAN_GSM (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_GSM) != 0)

Definition at line 289 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HALF

#define IEEE80211_IS_CHAN_HALF (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_HALF) != 0)

Definition at line 283 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HT

#define IEEE80211_IS_CHAN_HT (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_HT) != 0)

Definition at line 291 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HT20

#define IEEE80211_IS_CHAN_HT20 (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_HT20) != 0)

Definition at line 293 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HT40

#define IEEE80211_IS_CHAN_HT40 (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_HT40) != 0)

Definition at line 295 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HT40D

#define IEEE80211_IS_CHAN_HT40D (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_HT40D) != 0)

Definition at line 299 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HT40U

#define IEEE80211_IS_CHAN_HT40U (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_HT40U) != 0)

Definition at line 297 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HTA

#define IEEE80211_IS_CHAN_HTA (   _c)
Value:
((_c)->ic_flags & IEEE80211_CHAN_HT) != 0)
#define IEEE80211_CHAN_HT
Definition: _ieee80211.h:202
#define IEEE80211_IS_CHAN_5GHZ(_c)
Definition: _ieee80211.h:264

Definition at line 301 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_HTG

#define IEEE80211_IS_CHAN_HTG (   _c)
Value:
((_c)->ic_flags & IEEE80211_CHAN_HT) != 0)
#define IEEE80211_IS_CHAN_2GHZ(_c)
Definition: _ieee80211.h:262

Definition at line 304 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_NOADHOC

#define IEEE80211_IS_CHAN_NOADHOC (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_NOADHOC) != 0)

Definition at line 309 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_NOHOSTAP

#define IEEE80211_IS_CHAN_NOHOSTAP (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_NOHOSTAP) != 0)

Definition at line 311 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_OFDM

#define IEEE80211_IS_CHAN_OFDM (   _c)     (((_c)->ic_flags & (IEEE80211_CHAN_OFDM | IEEE80211_CHAN_DYN)) != 0)

Definition at line 268 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_PASSIVE

#define IEEE80211_IS_CHAN_PASSIVE (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_PASSIVE) != 0)

Definition at line 266 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_PUREG

#define IEEE80211_IS_CHAN_PUREG (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_PUREG) == IEEE80211_CHAN_PUREG)

Definition at line 249 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_QUARTER

#define IEEE80211_IS_CHAN_QUARTER (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_QUARTER) != 0)

Definition at line 285 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_RADAR

#define IEEE80211_IS_CHAN_RADAR (   _c)     (((_c)->ic_state & IEEE80211_CHANSTATE_RADAR) != 0)

Definition at line 353 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_ST

#define IEEE80211_IS_CHAN_ST (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_ST) == IEEE80211_CHAN_ST)

Definition at line 255 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_STURBO

#define IEEE80211_IS_CHAN_STURBO (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_STURBO) != 0)

Definition at line 278 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_TURBO

#define IEEE80211_IS_CHAN_TURBO (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_TURBO) != 0)

Definition at line 276 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT

#define IEEE80211_IS_CHAN_VHT (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)

Definition at line 316 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT160

#define IEEE80211_IS_CHAN_VHT160 (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT160) != 0)

Definition at line 340 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT20

#define IEEE80211_IS_CHAN_VHT20 (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT20) != 0)

Definition at line 324 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT40

#define IEEE80211_IS_CHAN_VHT40 (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT40) != 0)

Definition at line 326 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT40D

#define IEEE80211_IS_CHAN_VHT40D (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT40D) != 0)

Definition at line 330 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT40U

#define IEEE80211_IS_CHAN_VHT40U (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT40U) != 0)

Definition at line 328 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT80

#define IEEE80211_IS_CHAN_VHT80 (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT80) != 0)

Definition at line 338 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT80P80

#define IEEE80211_IS_CHAN_VHT80P80 (   _c)     (((_c)->ic_flags & IEEE80211_CHAN_VHT80P80) != 0)

Definition at line 342 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT_2GHZ

#define IEEE80211_IS_CHAN_VHT_2GHZ (   _c)
Value:
((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)

Definition at line 318 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHT_5GHZ

#define IEEE80211_IS_CHAN_VHT_5GHZ (   _c)
Value:
((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)

Definition at line 321 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHTA

#define IEEE80211_IS_CHAN_VHTA (   _c)
Value:
((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)

Definition at line 332 of file _ieee80211.h.

◆ IEEE80211_IS_CHAN_VHTG

#define IEEE80211_IS_CHAN_VHTG (   _c)
Value:
((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)

Definition at line 335 of file _ieee80211.h.

◆ IEEE80211_MAX_CHAIN_PRISEC

#define IEEE80211_MAX_CHAIN_PRISEC   4

Definition at line 456 of file _ieee80211.h.

◆ IEEE80211_MAX_CHAINS

#define IEEE80211_MAX_CHAINS   4

Definition at line 448 of file _ieee80211.h.

◆ IEEE80211_MAX_EVM_DWORDS

#define IEEE80211_MAX_EVM_DWORDS   16 /* 16 pilots, 4 chains */

Definition at line 457 of file _ieee80211.h.

◆ IEEE80211_MAX_EVM_PILOTS

#define IEEE80211_MAX_EVM_PILOTS   16 /* 468 subcarriers, 16 pilots */

Definition at line 458 of file _ieee80211.h.

◆ IEEE80211_MODE_BYTES

#define IEEE80211_MODE_BYTES   howmany(IEEE80211_MODE_MAX, NBBY)

Definition at line 78 of file _ieee80211.h.

◆ IEEE80211_MODE_MAX

#define IEEE80211_MODE_MAX   (IEEE80211_MODE_VHT_5GHZ+1)

Definition at line 77 of file _ieee80211.h.

◆ IEEE80211_NONQOS_TID

#define IEEE80211_NONQOS_TID   WME_NUM_TID /* index for non-QoS sta */

Definition at line 367 of file _ieee80211.h.

◆ IEEE80211_OPMODE_MAX

#define IEEE80211_OPMODE_MAX   (IEEE80211_M_MBSS+1)

Definition at line 94 of file _ieee80211.h.

◆ IEEE80211_R_BAND

#define IEEE80211_R_BAND   0x00000200 /* Frequency band populated */

Definition at line 553 of file _ieee80211.h.

◆ IEEE80211_R_C_CHAIN

#define IEEE80211_R_C_CHAIN   0x00000004 /* RX chain count valid */

Definition at line 546 of file _ieee80211.h.

◆ IEEE80211_R_C_EVM

#define IEEE80211_R_C_EVM   0x00000020 /* per-chain EVM valid */

Definition at line 549 of file _ieee80211.h.

◆ IEEE80211_R_C_HT40

#define IEEE80211_R_C_HT40   0x00000040 /* RX'ed packet is 40mhz, pilots 4,5 valid */

Definition at line 550 of file _ieee80211.h.

◆ IEEE80211_R_C_NF

#define IEEE80211_R_C_NF   0x00000008 /* per-chain NF value valid */

Definition at line 547 of file _ieee80211.h.

◆ IEEE80211_R_C_RSSI

#define IEEE80211_R_C_RSSI   0x00000010 /* per-chain RSSI value valid */

Definition at line 548 of file _ieee80211.h.

◆ IEEE80211_R_FREQ

#define IEEE80211_R_FREQ   0x00000080 /* Freq value populated, MHz */

Definition at line 551 of file _ieee80211.h.

◆ IEEE80211_R_IEEE

#define IEEE80211_R_IEEE   0x00000100 /* IEEE value populated */

Definition at line 552 of file _ieee80211.h.

◆ IEEE80211_R_NF

#define IEEE80211_R_NF   0x00000001 /* global NF value valid */

Definition at line 544 of file _ieee80211.h.

◆ IEEE80211_R_RSSI

#define IEEE80211_R_RSSI   0x00000002 /* global RSSI value valid */

Definition at line 545 of file _ieee80211.h.

◆ IEEE80211_R_TSF32

#define IEEE80211_R_TSF32   0x00004000 /* 32 bit TSF */

Definition at line 554 of file _ieee80211.h.

◆ IEEE80211_R_TSF64

#define IEEE80211_R_TSF64   0x00008000 /* 64 bit TSF */

Definition at line 555 of file _ieee80211.h.

◆ IEEE80211_R_TSF_END

#define IEEE80211_R_TSF_END   0x00020000 /* TSF is sampled at end of frame */

Definition at line 557 of file _ieee80211.h.

◆ IEEE80211_R_TSF_START

#define IEEE80211_R_TSF_START   0x00010000 /* TSF is sampled at start of frame */

Definition at line 556 of file _ieee80211.h.

◆ IEEE80211_RATE_MAXSIZE

#define IEEE80211_RATE_MAXSIZE   15 /* max rates we'll handle */

Definition at line 383 of file _ieee80211.h.

◆ IEEE80211_RATE_MCS

#define IEEE80211_RATE_MCS   0x80

Definition at line 403 of file _ieee80211.h.

◆ IEEE80211_RATE_SIZE

#define IEEE80211_RATE_SIZE   8 /* 802.11 standard */

Definition at line 382 of file _ieee80211.h.

◆ IEEE80211_RX_F_AMPDU

#define IEEE80211_RX_F_AMPDU   0x00000010 /* This is the start of an decap AMPDU list */

Definition at line 566 of file _ieee80211.h.

◆ IEEE80211_RX_F_AMPDU_MORE

#define IEEE80211_RX_F_AMPDU_MORE   0x00000020 /* This is another decap AMPDU frame in the batch */

Definition at line 567 of file _ieee80211.h.

◆ IEEE80211_RX_F_AMSDU

#define IEEE80211_RX_F_AMSDU   0x00000004 /* This is the start of an decap AMSDU list */

Definition at line 564 of file _ieee80211.h.

◆ IEEE80211_RX_F_AMSDU_MORE

#define IEEE80211_RX_F_AMSDU_MORE   0x00000008 /* This is another decap AMSDU frame in the batch */

Definition at line 565 of file _ieee80211.h.

◆ IEEE80211_RX_F_CCK

#define IEEE80211_RX_F_CCK   0x00001000

Definition at line 574 of file _ieee80211.h.

◆ IEEE80211_RX_F_DECRYPTED

#define IEEE80211_RX_F_DECRYPTED   0x00000100 /* Hardware decrypted */

Definition at line 570 of file _ieee80211.h.

◆ IEEE80211_RX_F_FAIL_FCSCRC

#define IEEE80211_RX_F_FAIL_FCSCRC   0x00000040 /* Failed CRC/FCS */

Definition at line 568 of file _ieee80211.h.

◆ IEEE80211_RX_F_FAIL_MIC

#define IEEE80211_RX_F_FAIL_MIC   0x00000080 /* Failed MIC check */

Definition at line 569 of file _ieee80211.h.

◆ IEEE80211_RX_F_HT

#define IEEE80211_RX_F_HT   0x00004000

Definition at line 576 of file _ieee80211.h.

◆ IEEE80211_RX_F_IV_STRIP

#define IEEE80211_RX_F_IV_STRIP   0x00000200 /* Decrypted; IV stripped */

Definition at line 571 of file _ieee80211.h.

◆ IEEE80211_RX_F_LDPC

#define IEEE80211_RX_F_LDPC   0x00000002

Definition at line 563 of file _ieee80211.h.

◆ IEEE80211_RX_F_MMIC_STRIP

#define IEEE80211_RX_F_MMIC_STRIP   0x00000400 /* Decrypted; MMIC stripped */

Definition at line 572 of file _ieee80211.h.

◆ IEEE80211_RX_F_OFDM

#define IEEE80211_RX_F_OFDM   0x00002000

Definition at line 575 of file _ieee80211.h.

◆ IEEE80211_RX_F_SHORTGI

#define IEEE80211_RX_F_SHORTGI   0x00000800 /* This is a short-GI frame */

Definition at line 573 of file _ieee80211.h.

◆ IEEE80211_RX_F_STBC

#define IEEE80211_RX_F_STBC   0x00000001

Definition at line 562 of file _ieee80211.h.

◆ IEEE80211_RX_F_VHT

#define IEEE80211_RX_F_VHT   0x00008000

Definition at line 577 of file _ieee80211.h.

◆ IEEE80211_RX_FP_11A

#define IEEE80211_RX_FP_11A   3

Definition at line 588 of file _ieee80211.h.

◆ IEEE80211_RX_FP_11B

#define IEEE80211_RX_FP_11B   1

Definition at line 586 of file _ieee80211.h.

◆ IEEE80211_RX_FP_11G

#define IEEE80211_RX_FP_11G   2

Definition at line 587 of file _ieee80211.h.

◆ IEEE80211_RX_FP_11NA

#define IEEE80211_RX_FP_11NA   4

Definition at line 589 of file _ieee80211.h.

◆ IEEE80211_RX_FP_11NG

#define IEEE80211_RX_FP_11NG   5

Definition at line 590 of file _ieee80211.h.

◆ IEEE80211_RX_FW_160MHZ

#define IEEE80211_RX_FW_160MHZ   4

Definition at line 583 of file _ieee80211.h.

◆ IEEE80211_RX_FW_20MHZ

#define IEEE80211_RX_FW_20MHZ   1

Definition at line 580 of file _ieee80211.h.

◆ IEEE80211_RX_FW_40MHZ

#define IEEE80211_RX_FW_40MHZ   2

Definition at line 581 of file _ieee80211.h.

◆ IEEE80211_RX_FW_80MHZ

#define IEEE80211_RX_FW_80MHZ   3

Definition at line 582 of file _ieee80211.h.

◆ IEEE80211_T_CCK

#define IEEE80211_T_CCK   IEEE80211_T_DS /* more common nomenclature */

Definition at line 52 of file _ieee80211.h.

◆ IEEE80211_TID_SIZE

#define IEEE80211_TID_SIZE   (WME_NUM_TID+1) /* WME TID's +1 for non-QoS */

Definition at line 366 of file _ieee80211.h.

Enumeration Type Documentation

◆ ieee80211_authmode

Enumerator
IEEE80211_AUTH_NONE 
IEEE80211_AUTH_OPEN 
IEEE80211_AUTH_SHARED 
IEEE80211_AUTH_8021X 
IEEE80211_AUTH_AUTO 
IEEE80211_AUTH_WPA 

Definition at line 112 of file _ieee80211.h.

◆ ieee80211_opmode

Enumerator
IEEE80211_M_IBSS 
IEEE80211_M_STA 
IEEE80211_M_WDS 
IEEE80211_M_AHDEMO 
IEEE80211_M_HOSTAP 
IEEE80211_M_MONITOR 
IEEE80211_M_MBSS 

Definition at line 85 of file _ieee80211.h.

◆ ieee80211_phymode

Enumerator
IEEE80211_MODE_AUTO 
IEEE80211_MODE_11A 
IEEE80211_MODE_11B 
IEEE80211_MODE_11G 
IEEE80211_MODE_FH 
IEEE80211_MODE_TURBO_A 
IEEE80211_MODE_TURBO_G 
IEEE80211_MODE_STURBO_A 
IEEE80211_MODE_11NA 
IEEE80211_MODE_11NG 
IEEE80211_MODE_HALF 
IEEE80211_MODE_QUARTER 
IEEE80211_MODE_VHT_2GHZ 
IEEE80211_MODE_VHT_5GHZ 

Definition at line 61 of file _ieee80211.h.

◆ ieee80211_phytype

Enumerator
IEEE80211_T_DS 
IEEE80211_T_FH 
IEEE80211_T_OFDM 
IEEE80211_T_TURBO 
IEEE80211_T_HT 
IEEE80211_T_OFDM_HALF 
IEEE80211_T_OFDM_QUARTER 
IEEE80211_T_VHT 

Definition at line 42 of file _ieee80211.h.

◆ ieee80211_protmode

Enumerator
IEEE80211_PROT_NONE 
IEEE80211_PROT_CTSONLY 
IEEE80211_PROT_RTSCTS 

Definition at line 99 of file _ieee80211.h.

◆ ieee80211_roamingmode

Enumerator
IEEE80211_ROAMING_DEVICE 
IEEE80211_ROAMING_AUTO 
IEEE80211_ROAMING_MANUAL 

Definition at line 131 of file _ieee80211.h.