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

Go to the source code of this file.

Data Structures

struct  ieee80211_appie
 
struct  ieee80211com
 
struct  ieee80211vap
 

Macros

#define IEEE80211_TXPOWER_MAX   100 /* .5 dBm (XXX units?) */
 
#define IEEE80211_TXPOWER_MIN   0 /* kill radio */
 
#define IEEE80211_DTIM_DEFAULT   1 /* default DTIM period */
 
#define IEEE80211_BINTVAL_DEFAULT   100 /* default beacon interval (TU's) */
 
#define IEEE80211_BMISS_MAX   2 /* maximum consecutive bmiss allowed */
 
#define IEEE80211_HWBMISS_DEFAULT   7 /* h/w bmiss threshold (beacons) */
 
#define IEEE80211_BGSCAN_INTVAL_MIN   15 /* min bg scan intvl (secs) */
 
#define IEEE80211_BGSCAN_INTVAL_DEFAULT   (5*60) /* default bg scan intvl */
 
#define IEEE80211_BGSCAN_IDLE_MIN   100 /* min idle time (ms) */
 
#define IEEE80211_BGSCAN_IDLE_DEFAULT   250 /* default idle time (ms) */
 
#define IEEE80211_SCAN_VALID_MIN   10 /* min scan valid time (secs) */
 
#define IEEE80211_SCAN_VALID_DEFAULT   60 /* default scan valid time */
 
#define IEEE80211_PS_SLEEP   0x1 /* STA is in power saving mode */
 
#define IEEE80211_PS_MAX_QUEUE   50 /* maximum saved packets */
 
#define IEEE80211_FIXED_RATE_NONE   0xff
 
#define IEEE80211_TXMAX_DEFAULT   6 /* default ucast max retries */
 
#define IEEE80211_RTS_DEFAULT   IEEE80211_RTS_MAX
 
#define IEEE80211_FRAG_DEFAULT   IEEE80211_FRAG_MAX
 
#define IEEE80211_MS_TO_TU(x)   (((x) * 1000) / 1024)
 
#define IEEE80211_TU_TO_MS(x)   (((x) * 1024) / 1000)
 
#define IEEE80211_TU_TO_TICKS(x)   (((uint64_t)(x) * 1024 * hz) / (1000 * 1000))
 
#define IEEE80211_CONF_VHT(ic)    ((ic)->ic_flags_ext & IEEE80211_FEXT_VHT)
 
#define IEEE80211_CONF_SEQNO_OFFLOAD(ic)    ((ic)->ic_flags_ext & IEEE80211_FEXT_SEQNO_OFFLOAD)
 
#define IEEE80211_CONF_FRAG_OFFLOAD(ic)    ((ic)->ic_flags_ext & IEEE80211_FEXT_FRAG_OFFLOAD)
 
#define IEEE80211_ADDR_EQ(a1, a2)   (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0)
 
#define IEEE80211_ADDR_COPY(dst, src)   memcpy(dst,src,IEEE80211_ADDR_LEN)
 
#define IEEE80211_F_TURBOP   0x00000001 /* CONF: ATH Turbo enabled*/
 
#define IEEE80211_F_COMP   0x00000002 /* CONF: ATH comp enabled */
 
#define IEEE80211_F_FF   0x00000004 /* CONF: ATH FF enabled */
 
#define IEEE80211_F_BURST   0x00000008 /* CONF: bursting enabled */
 
#define IEEE80211_F_PRIVACY   0x00000010 /* CONF: privacy enabled */
 
#define IEEE80211_F_PUREG   0x00000020 /* CONF: 11g w/o 11b sta's */
 
#define IEEE80211_F_SCAN   0x00000080 /* STATUS: scanning */
 
#define IEEE80211_F_SHSLOT   0x00000400 /* STATUS: use short slot time*/
 
#define IEEE80211_F_PMGTON   0x00000800 /* CONF: Power mgmt enable */
 
#define IEEE80211_F_DESBSSID   0x00001000 /* CONF: des_bssid is set */
 
#define IEEE80211_F_WME   0x00002000 /* CONF: enable WME use */
 
#define IEEE80211_F_BGSCAN   0x00004000 /* CONF: bg scan enabled (???)*/
 
#define IEEE80211_F_SWRETRY   0x00008000 /* CONF: sw tx retry enabled */
 
#define IEEE80211_F_SHPREAMBLE   0x00040000 /* STATUS: use short preamble */
 
#define IEEE80211_F_DATAPAD   0x00080000 /* CONF: do alignment pad */
 
#define IEEE80211_F_USEPROT   0x00100000 /* STATUS: protection enabled */
 
#define IEEE80211_F_USEBARKER   0x00200000 /* STATUS: use barker preamble*/
 
#define IEEE80211_F_CSAPENDING   0x00400000 /* STATUS: chan switch pending*/
 
#define IEEE80211_F_WPA1   0x00800000 /* CONF: WPA enabled */
 
#define IEEE80211_F_WPA2   0x01000000 /* CONF: WPA2 enabled */
 
#define IEEE80211_F_WPA   0x01800000 /* CONF: WPA/WPA2 enabled */
 
#define IEEE80211_F_DROPUNENC   0x02000000 /* CONF: drop unencrypted */
 
#define IEEE80211_F_COUNTERM   0x04000000 /* CONF: TKIP countermeasures */
 
#define IEEE80211_F_HIDESSID   0x08000000 /* CONF: hide SSID in beacon */
 
#define IEEE80211_F_NOBRIDGE   0x10000000 /* CONF: dis. internal bridge */
 
#define IEEE80211_F_PCF   0x20000000 /* CONF: PCF enabled */
 
#define IEEE80211_F_DOTH   0x40000000 /* CONF: 11h enabled */
 
#define IEEE80211_F_DWDS   0x80000000 /* CONF: Dynamic WDS enabled */
 
#define IEEE80211_F_BITS
 
#define IEEE80211_F_ATHEROS    (IEEE80211_F_FF | IEEE80211_F_COMP | IEEE80211_F_TURBOP)
 
#define IEEE80211_ATH_CAP(vap, ni, bit)    ((vap)->iv_flags & (ni)->ni_ath_flags & (bit))
 
#define IEEE80211_FEXT_INACT   0x00000002 /* CONF: sta inact handling */
 
#define IEEE80211_FEXT_SCANWAIT   0x00000004 /* STATUS: awaiting scan */
 
#define IEEE80211_FEXT_BGSCAN   0x00000008 /* STATUS: complete bgscan */
 
#define IEEE80211_FEXT_WPS   0x00000010 /* CONF: WPS enabled */
 
#define IEEE80211_FEXT_TSN   0x00000020 /* CONF: TSN enabled */
 
#define IEEE80211_FEXT_SCANREQ   0x00000040 /* STATUS: scan req params */
 
#define IEEE80211_FEXT_RESUME   0x00000080 /* STATUS: start on resume */
 
#define IEEE80211_FEXT_4ADDR   0x00000100 /* CONF: apply 4-addr encap */
 
#define IEEE80211_FEXT_NONERP_PR   0x00000200 /* STATUS: non-ERP sta present*/
 
#define IEEE80211_FEXT_SWBMISS   0x00000400 /* CONF: do bmiss in s/w */
 
#define IEEE80211_FEXT_DFS   0x00000800 /* CONF: DFS enabled */
 
#define IEEE80211_FEXT_DOTD   0x00001000 /* CONF: 11d enabled */
 
#define IEEE80211_FEXT_STATEWAIT   0x00002000 /* STATUS: awaiting state chg */
 
#define IEEE80211_FEXT_REINIT   0x00004000 /* STATUS: INIT state first */
 
#define IEEE80211_FEXT_BPF   0x00008000 /* STATUS: BPF tap present */
 
#define IEEE80211_FEXT_WDSLEGACY   0x00010000 /* CONF: legacy WDS operation */
 
#define IEEE80211_FEXT_PROBECHAN   0x00020000 /* CONF: probe passive channel*/
 
#define IEEE80211_FEXT_UNIQMAC   0x00040000 /* CONF: user or computed mac */
 
#define IEEE80211_FEXT_SCAN_OFFLOAD   0x00080000 /* CONF: scan is fully offloaded */
 
#define IEEE80211_FEXT_SEQNO_OFFLOAD   0x00100000 /* CONF: driver does seqno insertion/allocation */
 
#define IEEE80211_FEXT_FRAG_OFFLOAD   0x00200000 /* CONF: hardware does 802.11 fragmentation + assignment */
 
#define IEEE80211_FEXT_VHT   0x00400000 /* CONF: VHT support */
 
#define IEEE80211_FEXT_QUIET_IE   0x00800000 /* STATUS: quiet IE in a beacon has been added */
 
#define IEEE80211_FEXT_UAPSD   0x01000000 /* CONF: enable U-APSD */
 
#define IEEE80211_FEXT_BITS
 
#define IEEE80211_FHT_NONHT_PR   0x00000001 /* STATUS: non-HT sta present */
 
#define IEEE80211_FHT_LDPC_TX   0x00010000 /* CONF: LDPC tx enabled */
 
#define IEEE80211_FHT_LDPC_RX   0x00020000 /* CONF: LDPC rx enabled */
 
#define IEEE80211_FHT_GF   0x00040000 /* CONF: Greenfield enabled */
 
#define IEEE80211_FHT_HT   0x00080000 /* CONF: HT supported */
 
#define IEEE80211_FHT_AMPDU_TX   0x00100000 /* CONF: A-MPDU tx supported */
 
#define IEEE80211_FHT_AMPDU_RX   0x00200000 /* CONF: A-MPDU rx supported */
 
#define IEEE80211_FHT_AMSDU_TX   0x00400000 /* CONF: A-MSDU tx supported */
 
#define IEEE80211_FHT_AMSDU_RX   0x00800000 /* CONF: A-MSDU rx supported */
 
#define IEEE80211_FHT_USEHT40   0x01000000 /* CONF: 20/40 use enabled */
 
#define IEEE80211_FHT_PUREN   0x02000000 /* CONF: 11n w/o legacy sta's */
 
#define IEEE80211_FHT_SHORTGI20   0x04000000 /* CONF: short GI in HT20 */
 
#define IEEE80211_FHT_SHORTGI40   0x08000000 /* CONF: short GI in HT40 */
 
#define IEEE80211_FHT_HTCOMPAT   0x10000000 /* CONF: HT vendor OUI's */
 
#define IEEE80211_FHT_RIFS   0x20000000 /* CONF: RIFS enabled */
 
#define IEEE80211_FHT_STBC_TX   0x40000000 /* CONF: STBC tx enabled */
 
#define IEEE80211_FHT_STBC_RX   0x80000000 /* CONF: STBC rx enabled */
 
#define IEEE80211_FHT_BITS
 
#define IEEE80211_FVEN_BITS   "\20"
 
#define IEEE80211_FVHT_VHT   0x000000001 /* CONF: VHT supported */
 
#define IEEE80211_FVHT_USEVHT40   0x000000002 /* CONF: Use VHT40 */
 
#define IEEE80211_FVHT_USEVHT80   0x000000004 /* CONF: Use VHT80 */
 
#define IEEE80211_FVHT_USEVHT160   0x000000008 /* CONF: Use VHT160 */
 
#define IEEE80211_FVHT_USEVHT80P80   0x000000010 /* CONF: Use VHT 80+80 */
 
#define IEEE80211_FVHT_MASK
 
#define IEEE80211_VFHT_BITS    "\20\1VHT\2VHT40\3VHT80\4VHT160\5VHT80P80"
 
#define IEEE80211_COM_DETACHED   0x00000001 /* ieee80211_ifdetach called */
 
#define IEEE80211_COM_REF_ADD   0x00000002 /* add / remove reference */
 
#define IEEE80211_COM_REF   0xfffffffe /* reference counter bits */
 
#define IEEE80211_COM_REF_S   1
 
#define IEEE80211_COM_REF_MAX   (IEEE80211_COM_REF >> IEEE80211_COM_REF_S)
 
#define NET80211_CBW_FLAG_HT40   0x01
 
#define NET80211_CBW_FLAG_VHT80   0x02
 
#define NET80211_CBW_FLAG_VHT160   0x04
 
#define NET80211_CBW_FLAG_VHT80P80   0x08
 
#define ieee80211_get_current_channel(_ic)   ((_ic)->ic_curchan)
 
#define ieee80211_get_home_channel(_ic)   ((_ic)->ic_bsschan)
 
#define ieee80211_get_vap_desired_channel(_iv)   ((_iv)->iv_des_chan)
 
#define IEEE80211_MSG_11N   0x80000000 /* 11n mode debug */
 
#define IEEE80211_MSG_DEBUG   0x40000000 /* IFF_DEBUG equivalent */
 
#define IEEE80211_MSG_DUMPPKTS   0x20000000 /* IFF_LINK2 equivalant */
 
#define IEEE80211_MSG_CRYPTO   0x10000000 /* crypto work */
 
#define IEEE80211_MSG_INPUT   0x08000000 /* input handling */
 
#define IEEE80211_MSG_XRATE   0x04000000 /* rate set handling */
 
#define IEEE80211_MSG_ELEMID   0x02000000 /* element id parsing */
 
#define IEEE80211_MSG_NODE   0x01000000 /* node handling */
 
#define IEEE80211_MSG_ASSOC   0x00800000 /* association handling */
 
#define IEEE80211_MSG_AUTH   0x00400000 /* authentication handling */
 
#define IEEE80211_MSG_SCAN   0x00200000 /* scanning */
 
#define IEEE80211_MSG_OUTPUT   0x00100000 /* output handling */
 
#define IEEE80211_MSG_STATE   0x00080000 /* state machine */
 
#define IEEE80211_MSG_POWER   0x00040000 /* power save handling */
 
#define IEEE80211_MSG_HWMP   0x00020000 /* hybrid mesh protocol */
 
#define IEEE80211_MSG_DOT1XSM   0x00010000 /* 802.1x state machine */
 
#define IEEE80211_MSG_RADIUS   0x00008000 /* 802.1x radius client */
 
#define IEEE80211_MSG_RADDUMP   0x00004000 /* dump 802.1x radius packets */
 
#define IEEE80211_MSG_MESH   0x00002000 /* mesh networking */
 
#define IEEE80211_MSG_WPA   0x00001000 /* WPA/RSN protocol */
 
#define IEEE80211_MSG_ACL   0x00000800 /* ACL handling */
 
#define IEEE80211_MSG_WME   0x00000400 /* WME protocol */
 
#define IEEE80211_MSG_SUPERG   0x00000200 /* Atheros SuperG protocol */
 
#define IEEE80211_MSG_DOTH   0x00000100 /* 802.11h support */
 
#define IEEE80211_MSG_INACT   0x00000080 /* inactivity handling */
 
#define IEEE80211_MSG_ROAM   0x00000040 /* sta-mode roaming */
 
#define IEEE80211_MSG_RATECTL   0x00000020 /* tx rate control */
 
#define IEEE80211_MSG_ACTION   0x00000010 /* action frame handling */
 
#define IEEE80211_MSG_WDS   0x00000008 /* WDS handling */
 
#define IEEE80211_MSG_IOCTL   0x00000004 /* ioctl handling */
 
#define IEEE80211_MSG_TDMA   0x00000002 /* TDMA handling */
 
#define IEEE80211_MSG_ANY   0xffffffff /* anything */
 
#define IEEE80211_MSG_BITS
 
#define _IEEE80211_MASKSHIFT(_v, _f)   (((_v) & _f) >> _f##_S)
 
#define _IEEE80211_SHIFTMASK(_v, _f)   (((_v) << _f##_S) & _f)
 
#define IEEE80211_DPRINTF(_vap, _m, _fmt, ...)
 
#define IEEE80211_NOTE(_vap, _m, _ni, _fmt, ...)
 
#define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...)
 
#define IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...)
 
#define ieee80211_msg_dumppkts(_vap)   0
 
#define ieee80211_msg(_vap, _m)   0
 
#define IEEE80211_DISCARD(_vap, _m, _wh, _type, _fmt, ...)
 
#define IEEE80211_DISCARD_IE(_vap, _m, _wh, _type, _fmt, ...)
 
#define IEEE80211_DISCARD_MAC(_vap, _m, _mac, _type, _fmt, ...)
 

Typedefs

typedef void(* ieee80211vap_attach) (struct ieee80211vap *)
 
typedef void ieee80211_com_iter_func(void *, struct ieee80211com *)
 

Functions

 MALLOC_DECLARE (M_80211_VAP)
 
int ic_printf (struct ieee80211com *, const char *,...) __printflike(2
 
int void ieee80211_ifattach (struct ieee80211com *)
 
void ieee80211_ifdetach (struct ieee80211com *)
 
int ieee80211_vap_setup (struct ieee80211com *, struct ieee80211vap *, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN])
 
int ieee80211_vap_attach (struct ieee80211vap *, ifm_change_cb_t, ifm_stat_cb_t, const uint8_t macaddr[IEEE80211_ADDR_LEN])
 
void ieee80211_vap_detach (struct ieee80211vap *)
 
const struct ieee80211_ratesetieee80211_get_suprates (struct ieee80211com *ic, const struct ieee80211_channel *)
 
const struct ieee80211_htratesetieee80211_get_suphtrates (struct ieee80211com *, const struct ieee80211_channel *)
 
void ieee80211_announce (struct ieee80211com *)
 
void ieee80211_announce_channels (struct ieee80211com *)
 
void ieee80211_drain (struct ieee80211com *)
 
void ieee80211_chan_init (struct ieee80211com *)
 
struct ieee80211comieee80211_find_vap (const uint8_t mac[IEEE80211_ADDR_LEN])
 
struct ieee80211comieee80211_find_com (const char *name)
 
void ieee80211_iterate_coms (ieee80211_com_iter_func *, void *)
 
int ieee80211_media_change (struct ifnet *)
 
void ieee80211_media_status (struct ifnet *, struct ifmediareq *)
 
int ieee80211_ioctl (struct ifnet *, u_long, caddr_t)
 
int ieee80211_rate2media (struct ieee80211com *, int, enum ieee80211_phymode)
 
int ieee80211_media2rate (int)
 
int ieee80211_mhz2ieee (u_int, u_int)
 
int ieee80211_chan2ieee (struct ieee80211com *, const struct ieee80211_channel *)
 
u_int ieee80211_ieee2mhz (u_int, u_int)
 
int ieee80211_add_channel_cbw (struct ieee80211_channel[], int, int *, uint8_t, uint16_t, int8_t, uint32_t, const uint8_t[], int)
 
int ieee80211_add_channel (struct ieee80211_channel[], int, int *, uint8_t, uint16_t, int8_t, uint32_t, const uint8_t[])
 
int ieee80211_add_channel_ht40 (struct ieee80211_channel[], int, int *, uint8_t, int8_t, uint32_t)
 
uint32_t ieee80211_get_channel_center_freq (const struct ieee80211_channel *)
 
uint32_t ieee80211_get_channel_center_freq1 (const struct ieee80211_channel *)
 
uint32_t ieee80211_get_channel_center_freq2 (const struct ieee80211_channel *)
 
int ieee80211_add_channel_list_2ghz (struct ieee80211_channel[], int, int *, const uint8_t[], int, const uint8_t[], int)
 
int ieee80211_add_channels_default_2ghz (struct ieee80211_channel[], int, int *, const uint8_t[], int)
 
int ieee80211_add_channel_list_5ghz (struct ieee80211_channel[], int, int *, const uint8_t[], int, const uint8_t[], int)
 
struct ieee80211_channelieee80211_find_channel (struct ieee80211com *, int freq, int flags)
 
struct ieee80211_channelieee80211_find_channel_byieee (struct ieee80211com *, int ieee, int flags)
 
struct ieee80211_channelieee80211_lookup_channel_rxstatus (struct ieee80211vap *, const struct ieee80211_rx_stats *)
 
int ieee80211_setmode (struct ieee80211com *, enum ieee80211_phymode)
 
enum ieee80211_phymode ieee80211_chan2mode (const struct ieee80211_channel *)
 
uint32_t ieee80211_mac_hash (const struct ieee80211com *, const uint8_t addr[IEEE80211_ADDR_LEN])
 
char ieee80211_channel_type_char (const struct ieee80211_channel *c)
 
void ieee80211_radiotap_attach (struct ieee80211com *, struct ieee80211_radiotap_header *th, int tlen, uint32_t tx_radiotap, struct ieee80211_radiotap_header *rh, int rlen, uint32_t rx_radiotap)
 
void ieee80211_radiotap_attachv (struct ieee80211com *, struct ieee80211_radiotap_header *th, int tlen, int n_tx_v, uint32_t tx_radiotap, struct ieee80211_radiotap_header *rh, int rlen, int n_rx_v, uint32_t rx_radiotap)
 
void ieee80211_radiotap_detach (struct ieee80211com *)
 
void ieee80211_radiotap_vattach (struct ieee80211vap *)
 
void ieee80211_radiotap_vdetach (struct ieee80211vap *)
 
void ieee80211_radiotap_chan_change (struct ieee80211com *)
 
void ieee80211_radiotap_tx (struct ieee80211vap *, struct mbuf *)
 
void ieee80211_radiotap_rx (struct ieee80211vap *, struct mbuf *)
 
void ieee80211_radiotap_rx_all (struct ieee80211com *, struct mbuf *)
 
static __inline int ieee80211_radiotap_active (const struct ieee80211com *ic)
 
static __inline int ieee80211_radiotap_active_vap (const struct ieee80211vap *vap)
 
static __inline void ieee80211_runtask (struct ieee80211com *ic, struct task *task)
 
static __inline void ieee80211_draintask (struct ieee80211com *ic, struct task *task)
 
static __inline void ieee80211_key_update_begin (struct ieee80211vap *vap)
 
static __inline void ieee80211_key_update_end (struct ieee80211vap *vap)
 
static __inline int ieee80211_hdrspace (struct ieee80211com *ic, const void *data)
 
static __inline int ieee80211_anyhdrspace (struct ieee80211com *ic, const void *data)
 
static __inline void ieee80211_beacon_notify (struct ieee80211vap *vap, int what)
 
static __inline int ieee80211_htchanflags (const struct ieee80211_channel *c)
 
static __inline int ieee80211_vhtchanflags (const struct ieee80211_channel *c)
 
static __inline uint16_t ieee80211_get_node_txpower (struct ieee80211_node *ni)
 

Macro Definition Documentation

◆ _IEEE80211_MASKSHIFT

#define _IEEE80211_MASKSHIFT (   _v,
  _f 
)    (((_v) & _f) >> _f##_S)

Definition at line 1019 of file ieee80211_var.h.

◆ _IEEE80211_SHIFTMASK

#define _IEEE80211_SHIFTMASK (   _v,
  _f 
)    (((_v) << _f##_S) & _f)

Definition at line 1020 of file ieee80211_var.h.

◆ IEEE80211_ADDR_COPY

#define IEEE80211_ADDR_COPY (   dst,
  src 
)    memcpy(dst,src,IEEE80211_ADDR_LEN)

Definition at line 613 of file ieee80211_var.h.

◆ IEEE80211_ADDR_EQ

#define IEEE80211_ADDR_EQ (   a1,
  a2 
)    (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0)

Definition at line 612 of file ieee80211_var.h.

◆ IEEE80211_ATH_CAP

#define IEEE80211_ATH_CAP (   vap,
  ni,
  bit 
)     ((vap)->iv_flags & (ni)->ni_ath_flags & (bit))

Definition at line 660 of file ieee80211_var.h.

◆ IEEE80211_BGSCAN_IDLE_DEFAULT

#define IEEE80211_BGSCAN_IDLE_DEFAULT   250 /* default idle time (ms) */

Definition at line 73 of file ieee80211_var.h.

◆ IEEE80211_BGSCAN_IDLE_MIN

#define IEEE80211_BGSCAN_IDLE_MIN   100 /* min idle time (ms) */

Definition at line 72 of file ieee80211_var.h.

◆ IEEE80211_BGSCAN_INTVAL_DEFAULT

#define IEEE80211_BGSCAN_INTVAL_DEFAULT   (5*60) /* default bg scan intvl */

Definition at line 70 of file ieee80211_var.h.

◆ IEEE80211_BGSCAN_INTVAL_MIN

#define IEEE80211_BGSCAN_INTVAL_MIN   15 /* min bg scan intvl (secs) */

Definition at line 69 of file ieee80211_var.h.

◆ IEEE80211_BINTVAL_DEFAULT

#define IEEE80211_BINTVAL_DEFAULT   100 /* default beacon interval (TU's) */

Definition at line 64 of file ieee80211_var.h.

◆ IEEE80211_BMISS_MAX

#define IEEE80211_BMISS_MAX   2 /* maximum consecutive bmiss allowed */

Definition at line 66 of file ieee80211_var.h.

◆ IEEE80211_COM_DETACHED

#define IEEE80211_COM_DETACHED   0x00000001 /* ieee80211_ifdetach called */

Definition at line 736 of file ieee80211_var.h.

◆ IEEE80211_COM_REF

#define IEEE80211_COM_REF   0xfffffffe /* reference counter bits */

Definition at line 738 of file ieee80211_var.h.

◆ IEEE80211_COM_REF_ADD

#define IEEE80211_COM_REF_ADD   0x00000002 /* add / remove reference */

Definition at line 737 of file ieee80211_var.h.

◆ IEEE80211_COM_REF_MAX

#define IEEE80211_COM_REF_MAX   (IEEE80211_COM_REF >> IEEE80211_COM_REF_S)

Definition at line 740 of file ieee80211_var.h.

◆ IEEE80211_COM_REF_S

#define IEEE80211_COM_REF_S   1

Definition at line 739 of file ieee80211_var.h.

◆ IEEE80211_CONF_FRAG_OFFLOAD

#define IEEE80211_CONF_FRAG_OFFLOAD (   ic)     ((ic)->ic_flags_ext & IEEE80211_FEXT_FRAG_OFFLOAD)

Definition at line 103 of file ieee80211_var.h.

◆ IEEE80211_CONF_SEQNO_OFFLOAD

#define IEEE80211_CONF_SEQNO_OFFLOAD (   ic)     ((ic)->ic_flags_ext & IEEE80211_FEXT_SEQNO_OFFLOAD)

Definition at line 101 of file ieee80211_var.h.

◆ IEEE80211_CONF_VHT

#define IEEE80211_CONF_VHT (   ic)     ((ic)->ic_flags_ext & IEEE80211_FEXT_VHT)

Definition at line 98 of file ieee80211_var.h.

◆ IEEE80211_DISCARD

#define IEEE80211_DISCARD (   _vap,
  _m,
  _wh,
  _type,
  _fmt,
  ... 
)

Definition at line 1099 of file ieee80211_var.h.

◆ IEEE80211_DISCARD_IE

#define IEEE80211_DISCARD_IE (   _vap,
  _m,
  _wh,
  _type,
  _fmt,
  ... 
)

Definition at line 1100 of file ieee80211_var.h.

◆ IEEE80211_DISCARD_MAC

#define IEEE80211_DISCARD_MAC (   _vap,
  _m,
  _mac,
  _type,
  _fmt,
  ... 
)

Definition at line 1101 of file ieee80211_var.h.

◆ IEEE80211_DPRINTF

#define IEEE80211_DPRINTF (   _vap,
  _m,
  _fmt,
  ... 
)

Definition at line 1092 of file ieee80211_var.h.

◆ IEEE80211_DTIM_DEFAULT

#define IEEE80211_DTIM_DEFAULT   1 /* default DTIM period */

Definition at line 63 of file ieee80211_var.h.

◆ IEEE80211_F_ATHEROS

#define IEEE80211_F_ATHEROS    (IEEE80211_F_FF | IEEE80211_F_COMP | IEEE80211_F_TURBOP)

Definition at line 657 of file ieee80211_var.h.

◆ IEEE80211_F_BGSCAN

#define IEEE80211_F_BGSCAN   0x00004000 /* CONF: bg scan enabled (???)*/

Definition at line 630 of file ieee80211_var.h.

◆ IEEE80211_F_BITS

#define IEEE80211_F_BITS
Value:
"\20\1TURBOP\2COMP\3FF\4BURST\5PRIVACY\6PUREG\10SCAN" \
"\13SHSLOT\14PMGTON\15DESBSSID\16WME\17BGSCAN\20SWRETRY" \
"\23SHPREAMBLE\24DATAPAD\25USEPROT\26USERBARKER\27CSAPENDING" \
"\30WPA1\31WPA2\32DROPUNENC\33COUNTERM\34HIDESSID\35NOBRIDG\36PCF" \
"\37DOTH\40DWDS"

Definition at line 649 of file ieee80211_var.h.

◆ IEEE80211_F_BURST

#define IEEE80211_F_BURST   0x00000008 /* CONF: bursting enabled */

Definition at line 619 of file ieee80211_var.h.

◆ IEEE80211_F_COMP

#define IEEE80211_F_COMP   0x00000002 /* CONF: ATH comp enabled */

Definition at line 617 of file ieee80211_var.h.

◆ IEEE80211_F_COUNTERM

#define IEEE80211_F_COUNTERM   0x04000000 /* CONF: TKIP countermeasures */

Definition at line 642 of file ieee80211_var.h.

◆ IEEE80211_F_CSAPENDING

#define IEEE80211_F_CSAPENDING   0x00400000 /* STATUS: chan switch pending*/

Definition at line 637 of file ieee80211_var.h.

◆ IEEE80211_F_DATAPAD

#define IEEE80211_F_DATAPAD   0x00080000 /* CONF: do alignment pad */

Definition at line 634 of file ieee80211_var.h.

◆ IEEE80211_F_DESBSSID

#define IEEE80211_F_DESBSSID   0x00001000 /* CONF: des_bssid is set */

Definition at line 628 of file ieee80211_var.h.

◆ IEEE80211_F_DOTH

#define IEEE80211_F_DOTH   0x40000000 /* CONF: 11h enabled */

Definition at line 646 of file ieee80211_var.h.

◆ IEEE80211_F_DROPUNENC

#define IEEE80211_F_DROPUNENC   0x02000000 /* CONF: drop unencrypted */

Definition at line 641 of file ieee80211_var.h.

◆ IEEE80211_F_DWDS

#define IEEE80211_F_DWDS   0x80000000 /* CONF: Dynamic WDS enabled */

Definition at line 647 of file ieee80211_var.h.

◆ IEEE80211_F_FF

#define IEEE80211_F_FF   0x00000004 /* CONF: ATH FF enabled */

Definition at line 618 of file ieee80211_var.h.

◆ IEEE80211_F_HIDESSID

#define IEEE80211_F_HIDESSID   0x08000000 /* CONF: hide SSID in beacon */

Definition at line 643 of file ieee80211_var.h.

◆ IEEE80211_F_NOBRIDGE

#define IEEE80211_F_NOBRIDGE   0x10000000 /* CONF: dis. internal bridge */

Definition at line 644 of file ieee80211_var.h.

◆ IEEE80211_F_PCF

#define IEEE80211_F_PCF   0x20000000 /* CONF: PCF enabled */

Definition at line 645 of file ieee80211_var.h.

◆ IEEE80211_F_PMGTON

#define IEEE80211_F_PMGTON   0x00000800 /* CONF: Power mgmt enable */

Definition at line 627 of file ieee80211_var.h.

◆ IEEE80211_F_PRIVACY

#define IEEE80211_F_PRIVACY   0x00000010 /* CONF: privacy enabled */

Definition at line 621 of file ieee80211_var.h.

◆ IEEE80211_F_PUREG

#define IEEE80211_F_PUREG   0x00000020 /* CONF: 11g w/o 11b sta's */

Definition at line 622 of file ieee80211_var.h.

◆ IEEE80211_F_SCAN

#define IEEE80211_F_SCAN   0x00000080 /* STATUS: scanning */

Definition at line 623 of file ieee80211_var.h.

◆ IEEE80211_F_SHPREAMBLE

#define IEEE80211_F_SHPREAMBLE   0x00040000 /* STATUS: use short preamble */

Definition at line 633 of file ieee80211_var.h.

◆ IEEE80211_F_SHSLOT

#define IEEE80211_F_SHSLOT   0x00000400 /* STATUS: use short slot time*/

Definition at line 626 of file ieee80211_var.h.

◆ IEEE80211_F_SWRETRY

#define IEEE80211_F_SWRETRY   0x00008000 /* CONF: sw tx retry enabled */

Definition at line 631 of file ieee80211_var.h.

◆ IEEE80211_F_TURBOP

#define IEEE80211_F_TURBOP   0x00000001 /* CONF: ATH Turbo enabled*/

Definition at line 616 of file ieee80211_var.h.

◆ IEEE80211_F_USEBARKER

#define IEEE80211_F_USEBARKER   0x00200000 /* STATUS: use barker preamble*/

Definition at line 636 of file ieee80211_var.h.

◆ IEEE80211_F_USEPROT

#define IEEE80211_F_USEPROT   0x00100000 /* STATUS: protection enabled */

Definition at line 635 of file ieee80211_var.h.

◆ IEEE80211_F_WME

#define IEEE80211_F_WME   0x00002000 /* CONF: enable WME use */

Definition at line 629 of file ieee80211_var.h.

◆ IEEE80211_F_WPA

#define IEEE80211_F_WPA   0x01800000 /* CONF: WPA/WPA2 enabled */

Definition at line 640 of file ieee80211_var.h.

◆ IEEE80211_F_WPA1

#define IEEE80211_F_WPA1   0x00800000 /* CONF: WPA enabled */

Definition at line 638 of file ieee80211_var.h.

◆ IEEE80211_F_WPA2

#define IEEE80211_F_WPA2   0x01000000 /* CONF: WPA2 enabled */

Definition at line 639 of file ieee80211_var.h.

◆ IEEE80211_FEXT_4ADDR

#define IEEE80211_FEXT_4ADDR   0x00000100 /* CONF: apply 4-addr encap */

Definition at line 672 of file ieee80211_var.h.

◆ IEEE80211_FEXT_BGSCAN

#define IEEE80211_FEXT_BGSCAN   0x00000008 /* STATUS: complete bgscan */

Definition at line 667 of file ieee80211_var.h.

◆ IEEE80211_FEXT_BITS

#define IEEE80211_FEXT_BITS
Value:
"\20\2INACT\3SCANWAIT\4BGSCAN\5WPS\6TSN\7SCANREQ\10RESUME" \
"\0114ADDR\12NONEPR_PR\13SWBMISS\14DFS\15DOTD\16STATEWAIT\17REINIT" \
"\20BPF\21WDSLEGACY\22PROBECHAN\23UNIQMAC\24SCAN_OFFLOAD\25SEQNO_OFFLOAD" \
"\26VHT\27QUIET_IE"

Definition at line 691 of file ieee80211_var.h.

◆ IEEE80211_FEXT_BPF

#define IEEE80211_FEXT_BPF   0x00008000 /* STATUS: BPF tap present */

Definition at line 679 of file ieee80211_var.h.

◆ IEEE80211_FEXT_DFS

#define IEEE80211_FEXT_DFS   0x00000800 /* CONF: DFS enabled */

Definition at line 675 of file ieee80211_var.h.

◆ IEEE80211_FEXT_DOTD

#define IEEE80211_FEXT_DOTD   0x00001000 /* CONF: 11d enabled */

Definition at line 676 of file ieee80211_var.h.

◆ IEEE80211_FEXT_FRAG_OFFLOAD

#define IEEE80211_FEXT_FRAG_OFFLOAD   0x00200000 /* CONF: hardware does 802.11 fragmentation + assignment */

Definition at line 686 of file ieee80211_var.h.

◆ IEEE80211_FEXT_INACT

#define IEEE80211_FEXT_INACT   0x00000002 /* CONF: sta inact handling */

Definition at line 664 of file ieee80211_var.h.

◆ IEEE80211_FEXT_NONERP_PR

#define IEEE80211_FEXT_NONERP_PR   0x00000200 /* STATUS: non-ERP sta present*/

Definition at line 673 of file ieee80211_var.h.

◆ IEEE80211_FEXT_PROBECHAN

#define IEEE80211_FEXT_PROBECHAN   0x00020000 /* CONF: probe passive channel*/

Definition at line 682 of file ieee80211_var.h.

◆ IEEE80211_FEXT_QUIET_IE

#define IEEE80211_FEXT_QUIET_IE   0x00800000 /* STATUS: quiet IE in a beacon has been added */

Definition at line 688 of file ieee80211_var.h.

◆ IEEE80211_FEXT_REINIT

#define IEEE80211_FEXT_REINIT   0x00004000 /* STATUS: INIT state first */

Definition at line 678 of file ieee80211_var.h.

◆ IEEE80211_FEXT_RESUME

#define IEEE80211_FEXT_RESUME   0x00000080 /* STATUS: start on resume */

Definition at line 671 of file ieee80211_var.h.

◆ IEEE80211_FEXT_SCAN_OFFLOAD

#define IEEE80211_FEXT_SCAN_OFFLOAD   0x00080000 /* CONF: scan is fully offloaded */

Definition at line 684 of file ieee80211_var.h.

◆ IEEE80211_FEXT_SCANREQ

#define IEEE80211_FEXT_SCANREQ   0x00000040 /* STATUS: scan req params */

Definition at line 670 of file ieee80211_var.h.

◆ IEEE80211_FEXT_SCANWAIT

#define IEEE80211_FEXT_SCANWAIT   0x00000004 /* STATUS: awaiting scan */

Definition at line 665 of file ieee80211_var.h.

◆ IEEE80211_FEXT_SEQNO_OFFLOAD

#define IEEE80211_FEXT_SEQNO_OFFLOAD   0x00100000 /* CONF: driver does seqno insertion/allocation */

Definition at line 685 of file ieee80211_var.h.

◆ IEEE80211_FEXT_STATEWAIT

#define IEEE80211_FEXT_STATEWAIT   0x00002000 /* STATUS: awaiting state chg */

Definition at line 677 of file ieee80211_var.h.

◆ IEEE80211_FEXT_SWBMISS

#define IEEE80211_FEXT_SWBMISS   0x00000400 /* CONF: do bmiss in s/w */

Definition at line 674 of file ieee80211_var.h.

◆ IEEE80211_FEXT_TSN

#define IEEE80211_FEXT_TSN   0x00000020 /* CONF: TSN enabled */

Definition at line 669 of file ieee80211_var.h.

◆ IEEE80211_FEXT_UAPSD

#define IEEE80211_FEXT_UAPSD   0x01000000 /* CONF: enable U-APSD */

Definition at line 689 of file ieee80211_var.h.

◆ IEEE80211_FEXT_UNIQMAC

#define IEEE80211_FEXT_UNIQMAC   0x00040000 /* CONF: user or computed mac */

Definition at line 683 of file ieee80211_var.h.

◆ IEEE80211_FEXT_VHT

#define IEEE80211_FEXT_VHT   0x00400000 /* CONF: VHT support */

Definition at line 687 of file ieee80211_var.h.

◆ IEEE80211_FEXT_WDSLEGACY

#define IEEE80211_FEXT_WDSLEGACY   0x00010000 /* CONF: legacy WDS operation */

Definition at line 681 of file ieee80211_var.h.

◆ IEEE80211_FEXT_WPS

#define IEEE80211_FEXT_WPS   0x00000010 /* CONF: WPS enabled */

Definition at line 668 of file ieee80211_var.h.

◆ IEEE80211_FHT_AMPDU_RX

#define IEEE80211_FHT_AMPDU_RX   0x00200000 /* CONF: A-MPDU rx supported */

Definition at line 704 of file ieee80211_var.h.

◆ IEEE80211_FHT_AMPDU_TX

#define IEEE80211_FHT_AMPDU_TX   0x00100000 /* CONF: A-MPDU tx supported */

Definition at line 703 of file ieee80211_var.h.

◆ IEEE80211_FHT_AMSDU_RX

#define IEEE80211_FHT_AMSDU_RX   0x00800000 /* CONF: A-MSDU rx supported */

Definition at line 706 of file ieee80211_var.h.

◆ IEEE80211_FHT_AMSDU_TX

#define IEEE80211_FHT_AMSDU_TX   0x00400000 /* CONF: A-MSDU tx supported */

Definition at line 705 of file ieee80211_var.h.

◆ IEEE80211_FHT_BITS

#define IEEE80211_FHT_BITS
Value:
"\20\1NONHT_PR" \
"\23GF\24HT\25AMPDU_TX\26AMPDU_TX" \
"\27AMSDU_TX\30AMSDU_RX\31USEHT40\32PUREN\33SHORTGI20\34SHORTGI40" \
"\35HTCOMPAT\36RIFS\37STBC_TX\40STBC_RX"

Definition at line 716 of file ieee80211_var.h.

◆ IEEE80211_FHT_GF

#define IEEE80211_FHT_GF   0x00040000 /* CONF: Greenfield enabled */

Definition at line 701 of file ieee80211_var.h.

◆ IEEE80211_FHT_HT

#define IEEE80211_FHT_HT   0x00080000 /* CONF: HT supported */

Definition at line 702 of file ieee80211_var.h.

◆ IEEE80211_FHT_HTCOMPAT

#define IEEE80211_FHT_HTCOMPAT   0x10000000 /* CONF: HT vendor OUI's */

Definition at line 711 of file ieee80211_var.h.

◆ IEEE80211_FHT_LDPC_RX

#define IEEE80211_FHT_LDPC_RX   0x00020000 /* CONF: LDPC rx enabled */

Definition at line 700 of file ieee80211_var.h.

◆ IEEE80211_FHT_LDPC_TX

#define IEEE80211_FHT_LDPC_TX   0x00010000 /* CONF: LDPC tx enabled */

Definition at line 699 of file ieee80211_var.h.

◆ IEEE80211_FHT_NONHT_PR

#define IEEE80211_FHT_NONHT_PR   0x00000001 /* STATUS: non-HT sta present */

Definition at line 698 of file ieee80211_var.h.

◆ IEEE80211_FHT_PUREN

#define IEEE80211_FHT_PUREN   0x02000000 /* CONF: 11n w/o legacy sta's */

Definition at line 708 of file ieee80211_var.h.

◆ IEEE80211_FHT_RIFS

#define IEEE80211_FHT_RIFS   0x20000000 /* CONF: RIFS enabled */

Definition at line 712 of file ieee80211_var.h.

◆ IEEE80211_FHT_SHORTGI20

#define IEEE80211_FHT_SHORTGI20   0x04000000 /* CONF: short GI in HT20 */

Definition at line 709 of file ieee80211_var.h.

◆ IEEE80211_FHT_SHORTGI40

#define IEEE80211_FHT_SHORTGI40   0x08000000 /* CONF: short GI in HT40 */

Definition at line 710 of file ieee80211_var.h.

◆ IEEE80211_FHT_STBC_RX

#define IEEE80211_FHT_STBC_RX   0x80000000 /* CONF: STBC rx enabled */

Definition at line 714 of file ieee80211_var.h.

◆ IEEE80211_FHT_STBC_TX

#define IEEE80211_FHT_STBC_TX   0x40000000 /* CONF: STBC tx enabled */

Definition at line 713 of file ieee80211_var.h.

◆ IEEE80211_FHT_USEHT40

#define IEEE80211_FHT_USEHT40   0x01000000 /* CONF: 20/40 use enabled */

Definition at line 707 of file ieee80211_var.h.

◆ IEEE80211_FIXED_RATE_NONE

#define IEEE80211_FIXED_RATE_NONE   0xff

Definition at line 81 of file ieee80211_var.h.

◆ IEEE80211_FRAG_DEFAULT

#define IEEE80211_FRAG_DEFAULT   IEEE80211_FRAG_MAX

Definition at line 85 of file ieee80211_var.h.

◆ IEEE80211_FVEN_BITS

#define IEEE80211_FVEN_BITS   "\20"

Definition at line 722 of file ieee80211_var.h.

◆ IEEE80211_FVHT_MASK

#define IEEE80211_FVHT_MASK
Value:
IEEE80211_FVHT_USEVHT80 | IEEE80211_FVHT_USEVHT160 | \
IEEE80211_FVHT_USEVHT80P80)
#define IEEE80211_FVHT_USEVHT160
#define IEEE80211_FVHT_USEVHT40
#define IEEE80211_FVHT_VHT

Definition at line 729 of file ieee80211_var.h.

◆ IEEE80211_FVHT_USEVHT160

#define IEEE80211_FVHT_USEVHT160   0x000000008 /* CONF: Use VHT160 */

Definition at line 727 of file ieee80211_var.h.

◆ IEEE80211_FVHT_USEVHT40

#define IEEE80211_FVHT_USEVHT40   0x000000002 /* CONF: Use VHT40 */

Definition at line 725 of file ieee80211_var.h.

◆ IEEE80211_FVHT_USEVHT80

#define IEEE80211_FVHT_USEVHT80   0x000000004 /* CONF: Use VHT80 */

Definition at line 726 of file ieee80211_var.h.

◆ IEEE80211_FVHT_USEVHT80P80

#define IEEE80211_FVHT_USEVHT80P80   0x000000010 /* CONF: Use VHT 80+80 */

Definition at line 728 of file ieee80211_var.h.

◆ IEEE80211_FVHT_VHT

#define IEEE80211_FVHT_VHT   0x000000001 /* CONF: VHT supported */

Definition at line 724 of file ieee80211_var.h.

◆ ieee80211_get_current_channel

#define ieee80211_get_current_channel (   _ic)    ((_ic)->ic_curchan)

Definition at line 806 of file ieee80211_var.h.

◆ ieee80211_get_home_channel

#define ieee80211_get_home_channel (   _ic)    ((_ic)->ic_bsschan)

Definition at line 807 of file ieee80211_var.h.

◆ ieee80211_get_vap_desired_channel

#define ieee80211_get_vap_desired_channel (   _iv)    ((_iv)->iv_des_chan)

Definition at line 808 of file ieee80211_var.h.

◆ IEEE80211_HWBMISS_DEFAULT

#define IEEE80211_HWBMISS_DEFAULT   7 /* h/w bmiss threshold (beacons) */

Definition at line 67 of file ieee80211_var.h.

◆ IEEE80211_MS_TO_TU

#define IEEE80211_MS_TO_TU (   x)    (((x) * 1000) / 1024)

Definition at line 87 of file ieee80211_var.h.

◆ ieee80211_msg

#define ieee80211_msg (   _vap,
  _m 
)    0

Definition at line 1097 of file ieee80211_var.h.

◆ IEEE80211_MSG_11N

#define IEEE80211_MSG_11N   0x80000000 /* 11n mode debug */

Definition at line 978 of file ieee80211_var.h.

◆ IEEE80211_MSG_ACL

#define IEEE80211_MSG_ACL   0x00000800 /* ACL handling */

Definition at line 998 of file ieee80211_var.h.

◆ IEEE80211_MSG_ACTION

#define IEEE80211_MSG_ACTION   0x00000010 /* action frame handling */

Definition at line 1005 of file ieee80211_var.h.

◆ IEEE80211_MSG_ANY

#define IEEE80211_MSG_ANY   0xffffffff /* anything */

Definition at line 1010 of file ieee80211_var.h.

◆ IEEE80211_MSG_ASSOC

#define IEEE80211_MSG_ASSOC   0x00800000 /* association handling */

Definition at line 986 of file ieee80211_var.h.

◆ IEEE80211_MSG_AUTH

#define IEEE80211_MSG_AUTH   0x00400000 /* authentication handling */

Definition at line 987 of file ieee80211_var.h.

◆ IEEE80211_MSG_BITS

#define IEEE80211_MSG_BITS
Value:
"\20\2TDMA\3IOCTL\4WDS\5ACTION\6RATECTL\7ROAM\10INACT\11DOTH\12SUPERG" \
"\13WME\14ACL\15WPA\16RADKEYS\17RADDUMP\20RADIUS\21DOT1XSM\22HWMP" \
"\23POWER\24STATE\25OUTPUT\26SCAN\27AUTH\30ASSOC\31NODE\32ELEMID" \
"\33XRATE\34INPUT\35CRYPTO\36DUPMPKTS\37DEBUG\04011N"

Definition at line 1012 of file ieee80211_var.h.

◆ IEEE80211_MSG_CRYPTO

#define IEEE80211_MSG_CRYPTO   0x10000000 /* crypto work */

Definition at line 981 of file ieee80211_var.h.

◆ IEEE80211_MSG_DEBUG

#define IEEE80211_MSG_DEBUG   0x40000000 /* IFF_DEBUG equivalent */

Definition at line 979 of file ieee80211_var.h.

◆ IEEE80211_MSG_DOT1XSM

#define IEEE80211_MSG_DOT1XSM   0x00010000 /* 802.1x state machine */

Definition at line 993 of file ieee80211_var.h.

◆ IEEE80211_MSG_DOTH

#define IEEE80211_MSG_DOTH   0x00000100 /* 802.11h support */

Definition at line 1001 of file ieee80211_var.h.

◆ IEEE80211_MSG_DUMPPKTS

#define IEEE80211_MSG_DUMPPKTS   0x20000000 /* IFF_LINK2 equivalant */

Definition at line 980 of file ieee80211_var.h.

◆ ieee80211_msg_dumppkts

#define ieee80211_msg_dumppkts (   _vap)    0

Definition at line 1096 of file ieee80211_var.h.

◆ IEEE80211_MSG_ELEMID

#define IEEE80211_MSG_ELEMID   0x02000000 /* element id parsing */

Definition at line 984 of file ieee80211_var.h.

◆ IEEE80211_MSG_HWMP

#define IEEE80211_MSG_HWMP   0x00020000 /* hybrid mesh protocol */

Definition at line 992 of file ieee80211_var.h.

◆ IEEE80211_MSG_INACT

#define IEEE80211_MSG_INACT   0x00000080 /* inactivity handling */

Definition at line 1002 of file ieee80211_var.h.

◆ IEEE80211_MSG_INPUT

#define IEEE80211_MSG_INPUT   0x08000000 /* input handling */

Definition at line 982 of file ieee80211_var.h.

◆ IEEE80211_MSG_IOCTL

#define IEEE80211_MSG_IOCTL   0x00000004 /* ioctl handling */

Definition at line 1007 of file ieee80211_var.h.

◆ IEEE80211_MSG_MESH

#define IEEE80211_MSG_MESH   0x00002000 /* mesh networking */

Definition at line 996 of file ieee80211_var.h.

◆ IEEE80211_MSG_NODE

#define IEEE80211_MSG_NODE   0x01000000 /* node handling */

Definition at line 985 of file ieee80211_var.h.

◆ IEEE80211_MSG_OUTPUT

#define IEEE80211_MSG_OUTPUT   0x00100000 /* output handling */

Definition at line 989 of file ieee80211_var.h.

◆ IEEE80211_MSG_POWER

#define IEEE80211_MSG_POWER   0x00040000 /* power save handling */

Definition at line 991 of file ieee80211_var.h.

◆ IEEE80211_MSG_RADDUMP

#define IEEE80211_MSG_RADDUMP   0x00004000 /* dump 802.1x radius packets */

Definition at line 995 of file ieee80211_var.h.

◆ IEEE80211_MSG_RADIUS

#define IEEE80211_MSG_RADIUS   0x00008000 /* 802.1x radius client */

Definition at line 994 of file ieee80211_var.h.

◆ IEEE80211_MSG_RATECTL

#define IEEE80211_MSG_RATECTL   0x00000020 /* tx rate control */

Definition at line 1004 of file ieee80211_var.h.

◆ IEEE80211_MSG_ROAM

#define IEEE80211_MSG_ROAM   0x00000040 /* sta-mode roaming */

Definition at line 1003 of file ieee80211_var.h.

◆ IEEE80211_MSG_SCAN

#define IEEE80211_MSG_SCAN   0x00200000 /* scanning */

Definition at line 988 of file ieee80211_var.h.

◆ IEEE80211_MSG_STATE

#define IEEE80211_MSG_STATE   0x00080000 /* state machine */

Definition at line 990 of file ieee80211_var.h.

◆ IEEE80211_MSG_SUPERG

#define IEEE80211_MSG_SUPERG   0x00000200 /* Atheros SuperG protocol */

Definition at line 1000 of file ieee80211_var.h.

◆ IEEE80211_MSG_TDMA

#define IEEE80211_MSG_TDMA   0x00000002 /* TDMA handling */

Definition at line 1008 of file ieee80211_var.h.

◆ IEEE80211_MSG_WDS

#define IEEE80211_MSG_WDS   0x00000008 /* WDS handling */

Definition at line 1006 of file ieee80211_var.h.

◆ IEEE80211_MSG_WME

#define IEEE80211_MSG_WME   0x00000400 /* WME protocol */

Definition at line 999 of file ieee80211_var.h.

◆ IEEE80211_MSG_WPA

#define IEEE80211_MSG_WPA   0x00001000 /* WPA/RSN protocol */

Definition at line 997 of file ieee80211_var.h.

◆ IEEE80211_MSG_XRATE

#define IEEE80211_MSG_XRATE   0x04000000 /* rate set handling */

Definition at line 983 of file ieee80211_var.h.

◆ IEEE80211_NOTE

#define IEEE80211_NOTE (   _vap,
  _m,
  _ni,
  _fmt,
  ... 
)

Definition at line 1093 of file ieee80211_var.h.

◆ IEEE80211_NOTE_FRAME

#define IEEE80211_NOTE_FRAME (   _vap,
  _m,
  _wh,
  _fmt,
  ... 
)

Definition at line 1094 of file ieee80211_var.h.

◆ IEEE80211_NOTE_MAC

#define IEEE80211_NOTE_MAC (   _vap,
  _m,
  _mac,
  _fmt,
  ... 
)

Definition at line 1095 of file ieee80211_var.h.

◆ IEEE80211_PS_MAX_QUEUE

#define IEEE80211_PS_MAX_QUEUE   50 /* maximum saved packets */

Definition at line 79 of file ieee80211_var.h.

◆ IEEE80211_PS_SLEEP

#define IEEE80211_PS_SLEEP   0x1 /* STA is in power saving mode */

Definition at line 78 of file ieee80211_var.h.

◆ IEEE80211_RTS_DEFAULT

#define IEEE80211_RTS_DEFAULT   IEEE80211_RTS_MAX

Definition at line 84 of file ieee80211_var.h.

◆ IEEE80211_SCAN_VALID_DEFAULT

#define IEEE80211_SCAN_VALID_DEFAULT   60 /* default scan valid time */

Definition at line 76 of file ieee80211_var.h.

◆ IEEE80211_SCAN_VALID_MIN

#define IEEE80211_SCAN_VALID_MIN   10 /* min scan valid time (secs) */

Definition at line 75 of file ieee80211_var.h.

◆ IEEE80211_TU_TO_MS

#define IEEE80211_TU_TO_MS (   x)    (((x) * 1024) / 1000)

Definition at line 88 of file ieee80211_var.h.

◆ IEEE80211_TU_TO_TICKS

#define IEEE80211_TU_TO_TICKS (   x)    (((uint64_t)(x) * 1024 * hz) / (1000 * 1000))

Definition at line 90 of file ieee80211_var.h.

◆ IEEE80211_TXMAX_DEFAULT

#define IEEE80211_TXMAX_DEFAULT   6 /* default ucast max retries */

Definition at line 82 of file ieee80211_var.h.

◆ IEEE80211_TXPOWER_MAX

#define IEEE80211_TXPOWER_MAX   100 /* .5 dBm (XXX units?) */

Definition at line 60 of file ieee80211_var.h.

◆ IEEE80211_TXPOWER_MIN

#define IEEE80211_TXPOWER_MIN   0 /* kill radio */

Definition at line 61 of file ieee80211_var.h.

◆ IEEE80211_VFHT_BITS

#define IEEE80211_VFHT_BITS    "\20\1VHT\2VHT40\3VHT80\4VHT160\5VHT80P80"

Definition at line 733 of file ieee80211_var.h.

◆ NET80211_CBW_FLAG_HT40

#define NET80211_CBW_FLAG_HT40   0x01

Definition at line 784 of file ieee80211_var.h.

◆ NET80211_CBW_FLAG_VHT160

#define NET80211_CBW_FLAG_VHT160   0x04

Definition at line 786 of file ieee80211_var.h.

◆ NET80211_CBW_FLAG_VHT80

#define NET80211_CBW_FLAG_VHT80   0x02

Definition at line 785 of file ieee80211_var.h.

◆ NET80211_CBW_FLAG_VHT80P80

#define NET80211_CBW_FLAG_VHT80P80   0x08

Definition at line 787 of file ieee80211_var.h.

Typedef Documentation

◆ ieee80211_com_iter_func

typedef void ieee80211_com_iter_func(void *, struct ieee80211com *)

Definition at line 763 of file ieee80211_var.h.

◆ ieee80211vap_attach

typedef void(* ieee80211vap_attach) (struct ieee80211vap *)

Definition at line 121 of file ieee80211_var.h.

Function Documentation

◆ ic_printf()

int ic_printf ( struct ieee80211com ,
const char *  ,
  ... 
)

◆ ieee80211_add_channel()

int ieee80211_add_channel ( struct ieee80211_channel  chans[],
int  maxchans,
int *  nchans,
uint8_t  ieee,
uint16_t  freq,
int8_t  maxregpower,
uint32_t  chan_flags,
const uint8_t  bands[] 
)

Definition at line 1472 of file ieee80211.c.

References ieee80211_add_channel_cbw().

Here is the call graph for this function:

◆ ieee80211_add_channel_cbw()

int ieee80211_add_channel_cbw ( struct ieee80211_channel  chans[],
int  maxchans,
int *  nchans,
uint8_t  ieee,
uint16_t  freq,
int8_t  maxregpower,
uint32_t  chan_flags,
const uint8_t  bands[],
int  cbw_flags 
)

Definition at line 1451 of file ieee80211.c.

References addchan(), copychan_prev(), getflags(), and IEEE80211_MODE_MAX.

Referenced by ieee80211_add_channel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_add_channel_ht40()

int ieee80211_add_channel_ht40 ( struct ieee80211_channel  chans[],
int  maxchans,
int *  nchans,
uint8_t  ieee,
int8_t  maxregpower,
uint32_t  flags 
)

◆ ieee80211_add_channel_list_2ghz()

int ieee80211_add_channel_list_2ghz ( struct ieee80211_channel  chans[],
int  maxchans,
int *  nchans,
const uint8_t  ieee[],
int  nieee,
const uint8_t  bands[],
int  cbw_flags 
)

Definition at line 1697 of file ieee80211.c.

References add_chanlist(), getflags_2ghz(), and IEEE80211_MODE_MAX.

Referenced by ieee80211_add_channels_default_2ghz(), and ieee80211_init_channels().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_add_channel_list_5ghz()

int ieee80211_add_channel_list_5ghz ( struct ieee80211_channel  chans[],
int  maxchans,
int *  nchans,
const uint8_t  ieee[],
int  nieee,
const uint8_t  bands[],
int  cbw_flags 
)

Definition at line 1722 of file ieee80211.c.

References add_chanlist(), getflags_5ghz(), and IEEE80211_MODE_MAX.

Referenced by ieee80211_init_channels().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_add_channels_default_2ghz()

int ieee80211_add_channels_default_2ghz ( struct ieee80211_channel  chans[],
int  maxchans,
int *  nchans,
const uint8_t  bands[],
int  cbw_flags 
)

Definition at line 1711 of file ieee80211.c.

References ieee80211_add_channel_list_2ghz().

Here is the call graph for this function:

◆ ieee80211_announce()

◆ ieee80211_announce_channels()

◆ ieee80211_anyhdrspace()

static __inline int ieee80211_anyhdrspace ( struct ieee80211com ic,
const void *  data 
)
static

Definition at line 895 of file ieee80211_var.h.

References ieee80211com::ic_flags, ieee80211_anyhdrsize(), and IEEE80211_F_DATAPAD.

Referenced by ieee80211_dump_pkt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_beacon_notify()

static __inline void ieee80211_beacon_notify ( struct ieee80211vap vap,
int  what 
)
static

◆ ieee80211_chan2ieee()

◆ ieee80211_chan2mode()

◆ ieee80211_chan_init()

void ieee80211_chan_init ( struct ieee80211com ic)

Definition at line 133 of file ieee80211.c.

References DEFAULTRATES, ieee80211com::ic_bsschan, ieee80211com::ic_chan_active, ieee80211com::ic_chan_avail, ieee80211com::ic_channels, ieee80211com::ic_csa_newchan, ieee80211com::ic_curchan, ieee80211_channel::ic_extieee, ieee80211_channel::ic_flags, ieee80211_channel::ic_freq, ieee80211_channel::ic_ieee, ieee80211_channel::ic_maxpower, ieee80211_channel::ic_maxregpower, ieee80211com::ic_modecaps, ieee80211com::ic_nchans, ieee80211com::ic_prevchan, ieee80211com::ic_rt, ieee80211com::ic_rxstream, ieee80211com::ic_txstream, IEEE80211_CHAN_ANYC, IEEE80211_CHAN_MAX, ieee80211_get_ratetable(), ieee80211_init_suphtrates(), IEEE80211_IS_CHAN_108A, IEEE80211_IS_CHAN_108G, IEEE80211_IS_CHAN_A, IEEE80211_IS_CHAN_ANYG, IEEE80211_IS_CHAN_B, IEEE80211_IS_CHAN_FHSS, IEEE80211_IS_CHAN_HALF, IEEE80211_IS_CHAN_HT40, IEEE80211_IS_CHAN_HT40U, IEEE80211_IS_CHAN_HTA, IEEE80211_IS_CHAN_HTG, IEEE80211_IS_CHAN_QUARTER, IEEE80211_IS_CHAN_ST, IEEE80211_IS_CHAN_VHTA, IEEE80211_IS_CHAN_VHTG, ieee80211_mhz2ieee(), IEEE80211_MODE_11A, IEEE80211_MODE_11B, IEEE80211_MODE_11G, IEEE80211_MODE_11NA, IEEE80211_MODE_11NG, IEEE80211_MODE_AUTO, IEEE80211_MODE_FH, IEEE80211_MODE_HALF, IEEE80211_MODE_QUARTER, IEEE80211_MODE_STURBO_A, IEEE80211_MODE_TURBO_A, IEEE80211_MODE_TURBO_G, IEEE80211_MODE_VHT_2GHZ, IEEE80211_MODE_VHT_5GHZ, ieee80211_rateset_11a, ieee80211_rateset_11b, ieee80211_rateset_11g, ieee80211_rateset_half, ieee80211_rateset_quarter, ieee80211_setmode(), ieee80211_sort_channels(), and set_vht_extchan().

Referenced by ieee80211_ifattach(), and ieee80211_setregdomain().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_channel_type_char()

◆ ieee80211_drain()

◆ ieee80211_draintask()

static __inline void ieee80211_draintask ( struct ieee80211com ic,
struct task *  task 
)
static

Definition at line 854 of file ieee80211_var.h.

References ieee80211com::ic_tq.

Referenced by ieee80211_swscan_detach(), ieee80211_vap_detach(), and ieee80211_waitfor_parent().

Here is the caller graph for this function:

◆ ieee80211_find_channel()

◆ ieee80211_find_channel_byieee()

struct ieee80211_channel * ieee80211_find_channel_byieee ( struct ieee80211com ic,
int  ieee,
int  flags 
)

◆ ieee80211_find_com()

struct ieee80211com * ieee80211_find_com ( const char *  name)

Definition at line 438 of file ieee80211.c.

References ieee80211com::ic_name.

Referenced by wlan_clone_create().

Here is the caller graph for this function:

◆ ieee80211_find_vap()

struct ieee80211com * ieee80211_find_vap ( const uint8_t  mac[IEEE80211_ADDR_LEN])

◆ ieee80211_get_channel_center_freq()

uint32_t ieee80211_get_channel_center_freq ( const struct ieee80211_channel c)

Definition at line 1542 of file ieee80211.c.

References ieee80211_channel::ic_freq.

◆ ieee80211_get_channel_center_freq1()

uint32_t ieee80211_get_channel_center_freq1 ( const struct ieee80211_channel c)

◆ ieee80211_get_channel_center_freq2()

uint32_t ieee80211_get_channel_center_freq2 ( const struct ieee80211_channel c)

Definition at line 1585 of file ieee80211.c.

References ieee80211_channel::ic_flags, ieee80211_channel::ic_vht_ch_freq2, ieee80211_ieee2mhz(), and IEEE80211_IS_CHAN_VHT.

Here is the call graph for this function:

◆ ieee80211_get_node_txpower()

static __inline uint16_t ieee80211_get_node_txpower ( struct ieee80211_node ni)
static

◆ ieee80211_get_suphtrates()

const struct ieee80211_htrateset * ieee80211_get_suphtrates ( struct ieee80211com ic,
const struct ieee80211_channel c 
)

Definition at line 2024 of file ieee80211.c.

References ieee80211com::ic_sup_htrates.

Referenced by ieee80211_fix_rate(), and ieee80211_node_set_chan().

Here is the caller graph for this function:

◆ ieee80211_get_suprates()

const struct ieee80211_rateset * ieee80211_get_suprates ( struct ieee80211com ic,
const struct ieee80211_channel c 
)

◆ ieee80211_hdrspace()

static __inline int ieee80211_hdrspace ( struct ieee80211com ic,
const void *  data 
)
static

Definition at line 883 of file ieee80211_var.h.

References ieee80211com::ic_flags, IEEE80211_F_DATAPAD, and ieee80211_hdrsize().

Referenced by adhoc_input(), ccmp_encap(), hostap_input(), mesh_forward(), mesh_input(), sta_input(), tkip_demic(), tkip_encap(), tkip_enmic(), wds_input(), and wep_encap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_htchanflags()

static __inline int ieee80211_htchanflags ( const struct ieee80211_channel c)
static

◆ ieee80211_ieee2mhz()

u_int ieee80211_ieee2mhz ( u_int  chan,
u_int  flags 
)

◆ ieee80211_ifattach()

◆ ieee80211_ifdetach()

◆ ieee80211_ioctl()

◆ ieee80211_iterate_coms()

void ieee80211_iterate_coms ( ieee80211_com_iter_func f,
void *  arg 
)

Definition at line 452 of file ieee80211.c.

◆ ieee80211_key_update_begin()

static __inline void ieee80211_key_update_begin ( struct ieee80211vap vap)
static

Definition at line 863 of file ieee80211_var.h.

References ieee80211vap::iv_key_update_begin.

Referenced by ieee80211_crypto_delglobalkeys(), ieee80211_crypto_delkey(), ieee80211_ioctl_set80211(), and ieee80211_ioctl_setkey().

Here is the caller graph for this function:

◆ ieee80211_key_update_end()

static __inline void ieee80211_key_update_end ( struct ieee80211vap vap)
static

Definition at line 868 of file ieee80211_var.h.

References ieee80211vap::iv_key_update_end.

Referenced by ieee80211_crypto_delglobalkeys(), ieee80211_crypto_delkey(), ieee80211_ioctl_set80211(), and ieee80211_ioctl_setkey().

Here is the caller graph for this function:

◆ ieee80211_lookup_channel_rxstatus()

struct ieee80211_channel * ieee80211_lookup_channel_rxstatus ( struct ieee80211vap vap,
const struct ieee80211_rx_stats rxs 
)

◆ ieee80211_mac_hash()

uint32_t ieee80211_mac_hash ( const struct ieee80211com ic,
const uint8_t  addr[IEEE80211_ADDR_LEN] 
)

◆ ieee80211_media2rate()

int ieee80211_media2rate ( int  mword)

Definition at line 2555 of file ieee80211.c.

Referenced by ieee80211_announce().

Here is the caller graph for this function:

◆ ieee80211_media_change()

int ieee80211_media_change ( struct ifnet *  ifp)

Definition at line 2160 of file ieee80211.c.

References ieee80211vap::iv_des_mode, ieee80211vap::iv_flags, ieee80211vap::iv_media, and media2mode().

Here is the call graph for this function:

◆ ieee80211_media_status()

void ieee80211_media_status ( struct ifnet *  ifp,
struct ifmediareq *  imr 
)

◆ ieee80211_mhz2ieee()

int ieee80211_mhz2ieee ( u_int  freq,
u_int  flags 
)

Definition at line 1031 of file ieee80211.c.

References IEEE80211_CHAN_2GHZ, IEEE80211_CHAN_5GHZ, IEEE80211_CHAN_GSM, IS_FREQ_IN_PSB, mapgsm(), and mappsb().

Referenced by ieee80211_chan_init(), ieee80211_setregdomain(), and set_vht_extchan().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_radiotap_active()

static __inline int ieee80211_radiotap_active ( const struct ieee80211com ic)
static

Definition at line 829 of file ieee80211_var.h.

References ieee80211com::ic_flags_ext, and IEEE80211_FEXT_BPF.

◆ ieee80211_radiotap_active_vap()

static __inline int ieee80211_radiotap_active_vap ( const struct ieee80211vap vap)
static

◆ ieee80211_radiotap_attach()

void ieee80211_radiotap_attach ( struct ieee80211com ic,
struct ieee80211_radiotap_header th,
int  tlen,
uint32_t  tx_radiotap,
struct ieee80211_radiotap_header rh,
int  rlen,
uint32_t  rx_radiotap 
)

Definition at line 56 of file ieee80211_radiotap.c.

References ieee80211_radiotap_attachv().

Here is the call graph for this function:

◆ ieee80211_radiotap_attachv()

void ieee80211_radiotap_attachv ( struct ieee80211com ic,
struct ieee80211_radiotap_header th,
int  tlen,
int  n_tx_v,
uint32_t  tx_radiotap,
struct ieee80211_radiotap_header rh,
int  rlen,
int  n_rx_v,
uint32_t  rx_radiotap 
)

◆ ieee80211_radiotap_chan_change()

void ieee80211_radiotap_chan_change ( struct ieee80211com ic)

◆ ieee80211_radiotap_detach()

void ieee80211_radiotap_detach ( struct ieee80211com ic)

Definition at line 109 of file ieee80211_radiotap.c.

◆ ieee80211_radiotap_rx()

void ieee80211_radiotap_rx ( struct ieee80211vap vap0,
struct mbuf *  m 
)

◆ ieee80211_radiotap_rx_all()

void ieee80211_radiotap_rx_all ( struct ieee80211com ic,
struct mbuf *  m 
)

◆ ieee80211_radiotap_tx()

void ieee80211_radiotap_tx ( struct ieee80211vap vap0,
struct mbuf *  m 
)

◆ ieee80211_radiotap_vattach()

void ieee80211_radiotap_vattach ( struct ieee80211vap vap)

◆ ieee80211_radiotap_vdetach()

void ieee80211_radiotap_vdetach ( struct ieee80211vap vap)

Definition at line 128 of file ieee80211_radiotap.c.

Referenced by ieee80211_vap_detach().

Here is the caller graph for this function:

◆ ieee80211_rate2media()

◆ ieee80211_runtask()

◆ ieee80211_setmode()

int ieee80211_setmode ( struct ieee80211com ic,
enum  ieee80211_phymode 
)

Definition at line 2281 of file ieee80211.c.

References ieee80211com::ic_curmode, ieee80211com::ic_sup_rates, IEEE80211_MODE_11B, IEEE80211_MODE_11G, ieee80211_reset_erp(), and ieee80211_setbasicrates().

Referenced by ieee80211_chan_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieee80211_vap_attach()

◆ ieee80211_vap_detach()

◆ ieee80211_vap_setup()

int ieee80211_vap_setup ( struct ieee80211com ic,
struct ieee80211vap vap,
const char  name[IFNAMSIZ],
int  unit,
enum ieee80211_opmode  opmode,
int  flags,
const uint8_t  bssid[IEEE80211_ADDR_LEN] 
)

Definition at line 524 of file ieee80211.c.

References default_reset(), default_update_deftxkey(), ieee80211com::ic_caps, ieee80211com::ic_flags, ieee80211com::ic_flags_ext, ieee80211com::ic_flags_ven, ieee80211com::ic_htcaps, ieee80211com::ic_htextcaps, ieee80211com::ic_macaddr, ic_printf(), ieee80211com::ic_vhtcaps, ieee80211com::ic_vhtextcaps, IEEE80211_ADDR_COPY, IEEE80211_C_BGSCAN, IEEE80211_C_BURST, IEEE80211_C_DFS, IEEE80211_C_TDMA, IEEE80211_C_UAPSD, IEEE80211_C_WME, IEEE80211_CHAN_ANYC, IEEE80211_CLONE_BSSID, IEEE80211_CLONE_MACADDR, IEEE80211_CLONE_NOBEACONS, IEEE80211_CLONE_TDMA, IEEE80211_CLONE_WDSLEGACY, ieee80211_crypto_vattach(), IEEE80211_DTIM_DEFAULT, IEEE80211_F_BGSCAN, IEEE80211_F_BURST, IEEE80211_F_DESBSSID, IEEE80211_F_DOTH, IEEE80211_F_WME, IEEE80211_FEXT_DFS, IEEE80211_FEXT_SWBMISS, IEEE80211_FEXT_UAPSD, IEEE80211_FEXT_UNIQMAC, IEEE80211_FEXT_WDSLEGACY, ieee80211_get_counter(), ieee80211_ht_vattach(), IEEE80211_HWBMISS_DEFAULT, ieee80211_init(), ieee80211_ioctl(), IEEE80211_M_AHDEMO, IEEE80211_M_HOSTAP, IEEE80211_M_STA, IEEE80211_M_WDS, ieee80211_node_vattach(), ieee80211_opcap, ieee80211_power_vattach(), ieee80211_proto_vattach(), ieee80211_radiotap_vattach(), IEEE80211_RATECTL_NONE, ieee80211_ratectl_set(), ieee80211_regdomain_vattach(), ieee80211_scan_vattach(), ieee80211_superg_vattach(), ieee80211_sysctl_vattach(), ieee80211_vap_qflush(), ieee80211_vap_reset_erp(), ieee80211_vap_transmit(), ieee80211_vht_vattach(), ieee80211vap::iv_bmissthreshold, ieee80211vap::iv_caps, ieee80211vap::iv_des_bssid, ieee80211vap::iv_des_chan, ieee80211vap::iv_dtim_period, ieee80211vap::iv_flags, ieee80211vap::iv_flags_ext, ieee80211vap::iv_flags_ven, ieee80211vap::iv_htcaps, ieee80211vap::iv_htextcaps, ieee80211vap::iv_ic, ieee80211vap::iv_ifp, ieee80211vap::iv_myaddr, ieee80211vap::iv_opmode, ieee80211vap::iv_reset, ieee80211vap::iv_update_deftxkey, ieee80211vap::iv_vhtcaps, and ieee80211vap::iv_vhtextcaps.

Here is the call graph for this function:

◆ ieee80211_vhtchanflags()

◆ MALLOC_DECLARE()

MALLOC_DECLARE ( M_80211_VAP  )