Device and virtual interfaces¶
Defines
-
IEEE80211_TXPOWER_MAX¶
-
IEEE80211_TXPOWER_MIN¶
-
IEEE80211_DTIM_DEFAULT¶
-
IEEE80211_BINTVAL_DEFAULT¶
-
IEEE80211_BMISS_MAX¶
-
IEEE80211_HWBMISS_DEFAULT¶
-
IEEE80211_BGSCAN_INTVAL_MIN¶
-
IEEE80211_BGSCAN_INTVAL_DEFAULT¶
-
IEEE80211_BGSCAN_IDLE_MIN¶
-
IEEE80211_BGSCAN_IDLE_DEFAULT¶
-
IEEE80211_SCAN_VALID_MIN¶
-
IEEE80211_SCAN_VALID_DEFAULT¶
-
IEEE80211_PS_SLEEP¶
-
IEEE80211_PS_MAX_QUEUE¶
-
IEEE80211_FIXED_RATE_NONE¶
-
IEEE80211_TXMAX_DEFAULT¶
-
IEEE80211_RTS_DEFAULT¶
-
IEEE80211_FRAG_DEFAULT¶
-
IEEE80211_MS_TO_TU(x)¶
-
IEEE80211_TU_TO_MS(x)¶
-
IEEE80211_TU_TO_TICKS(x)¶
-
IEEE80211_CONF_VHT(ic)¶
-
IEEE80211_CONF_SEQNO_OFFLOAD(ic)¶
-
IEEE80211_CONF_FRAG_OFFLOAD(ic)¶
-
IEEE80211_CONF_AMPDU_OFFLOAD(ic)¶
-
NET80211_IV_NSTATE_NUM¶
-
IEEE80211_ADDR_EQ(a1, a2)¶
-
IEEE80211_ADDR_COPY(dst, src)¶
-
IEEE80211_F_TURBOP¶
-
IEEE80211_F_COMP¶
-
IEEE80211_F_FF¶
-
IEEE80211_F_BURST¶
-
IEEE80211_F_PRIVACY¶
-
IEEE80211_F_PUREG¶
-
IEEE80211_F_SCAN¶
-
IEEE80211_F_SHSLOT¶
-
IEEE80211_F_PMGTON¶
-
IEEE80211_F_DESBSSID¶
-
IEEE80211_F_WME¶
-
IEEE80211_F_BGSCAN¶
-
IEEE80211_F_SWRETRY¶
-
IEEE80211_F_SHPREAMBLE¶
-
IEEE80211_F_DATAPAD¶
-
IEEE80211_F_USEPROT¶
-
IEEE80211_F_USEBARKER¶
-
IEEE80211_F_CSAPENDING¶
-
IEEE80211_F_WPA1¶
-
IEEE80211_F_WPA2¶
-
IEEE80211_F_WPA¶
-
IEEE80211_F_DROPUNENC¶
-
IEEE80211_F_COUNTERM¶
-
IEEE80211_F_HIDESSID¶
-
IEEE80211_F_NOBRIDGE¶
-
IEEE80211_F_PCF¶
-
IEEE80211_F_DOTH¶
-
IEEE80211_F_DWDS¶
-
IEEE80211_F_BITS¶
-
IEEE80211_F_ATHEROS¶
-
IEEE80211_ATH_CAP(vap, ni, bit)¶
-
IEEE80211_FEXT_INACT¶
-
IEEE80211_FEXT_SCANWAIT¶
-
IEEE80211_FEXT_BGSCAN¶
-
IEEE80211_FEXT_WPS¶
-
IEEE80211_FEXT_TSN¶
-
IEEE80211_FEXT_SCANREQ¶
-
IEEE80211_FEXT_RESUME¶
-
IEEE80211_FEXT_4ADDR¶
-
IEEE80211_FEXT_NONERP_PR¶
-
IEEE80211_FEXT_SWBMISS¶
-
IEEE80211_FEXT_DFS¶
-
IEEE80211_FEXT_DOTD¶
-
IEEE80211_FEXT_STATEWAIT¶
-
IEEE80211_FEXT_REINIT¶
-
IEEE80211_FEXT_BPF¶
-
IEEE80211_FEXT_WDSLEGACY¶
-
IEEE80211_FEXT_PROBECHAN¶
-
IEEE80211_FEXT_UNIQMAC¶
-
IEEE80211_FEXT_SCAN_OFFLOAD¶
-
IEEE80211_FEXT_SEQNO_OFFLOAD¶
-
IEEE80211_FEXT_FRAG_OFFLOAD¶
-
IEEE80211_FEXT_VHT¶
-
IEEE80211_FEXT_QUIET_IE¶
-
IEEE80211_FEXT_UAPSD¶
-
IEEE80211_FEXT_AMPDU_OFFLOAD¶
-
IEEE80211_FEXT_NO_NULLDATA¶
-
IEEE80211_FEXT_BITS¶
-
IEEE80211_FHT_NONHT_PR¶
-
IEEE80211_FHT_LDPC_TX¶
-
IEEE80211_FHT_LDPC_RX¶
-
IEEE80211_FHT_GF¶
-
IEEE80211_FHT_HT¶
-
IEEE80211_FHT_AMPDU_TX¶
-
IEEE80211_FHT_AMPDU_RX¶
-
IEEE80211_FHT_AMSDU_TX¶
-
IEEE80211_FHT_AMSDU_RX¶
-
IEEE80211_FHT_USEHT40¶
-
IEEE80211_FHT_PUREN¶
-
IEEE80211_FHT_SHORTGI20¶
-
IEEE80211_FHT_SHORTGI40¶
-
IEEE80211_FHT_HTCOMPAT¶
-
IEEE80211_FHT_RIFS¶
-
IEEE80211_FHT_STBC_TX¶
-
IEEE80211_FHT_STBC_RX¶
-
IEEE80211_FHT_BITS¶
-
IEEE80211_FVEN_BITS¶
-
IEEE80211_FVHT_VHT¶
-
IEEE80211_FVHT_USEVHT40¶
-
IEEE80211_FVHT_USEVHT80¶
-
IEEE80211_FVHT_USEVHT80P80¶
-
IEEE80211_FVHT_USEVHT160¶
-
IEEE80211_FVHT_STBC_TX¶
-
IEEE80211_FVHT_STBC_RX¶
-
IEEE80211_FVHT_CHANWIDTH_MASK¶
-
IEEE80211_FVHT_MASK¶
-
IEEE80211_VFHT_BITS¶
-
IEEE80211_COM_DETACHED¶
-
IEEE80211_COM_REF_ADD¶
-
IEEE80211_COM_REF¶
-
IEEE80211_COM_REF_S¶
-
IEEE80211_COM_REF_MAX¶
-
ic_printf¶
-
NET80211_CBW_FLAG_HT40¶
-
NET80211_CBW_FLAG_VHT80¶
-
NET80211_CBW_FLAG_VHT160¶
-
NET80211_CBW_FLAG_VHT80P80¶
-
ieee80211_get_current_channel(_ic)¶
-
ieee80211_get_home_channel(_ic)¶
-
ieee80211_get_vap_desired_channel(_iv)¶
-
IEEE80211_MSG_11N¶
-
IEEE80211_MSG_DEBUG¶
-
IEEE80211_MSG_DUMPPKTS¶
-
IEEE80211_MSG_CRYPTO¶
-
IEEE80211_MSG_INPUT¶
-
IEEE80211_MSG_XRATE¶
-
IEEE80211_MSG_ELEMID¶
-
IEEE80211_MSG_NODE¶
-
IEEE80211_MSG_ASSOC¶
-
IEEE80211_MSG_AUTH¶
-
IEEE80211_MSG_SCAN¶
-
IEEE80211_MSG_OUTPUT¶
-
IEEE80211_MSG_STATE¶
-
IEEE80211_MSG_POWER¶
-
IEEE80211_MSG_HWMP¶
-
IEEE80211_MSG_DOT1XSM¶
-
IEEE80211_MSG_RADIUS¶
-
IEEE80211_MSG_RADDUMP¶
-
IEEE80211_MSG_MESH¶
-
IEEE80211_MSG_WPA¶
-
IEEE80211_MSG_ACL¶
-
IEEE80211_MSG_WME¶
-
IEEE80211_MSG_SUPERG¶
-
IEEE80211_MSG_DOTH¶
-
IEEE80211_MSG_INACT¶
-
IEEE80211_MSG_ROAM¶
-
IEEE80211_MSG_RATECTL¶
-
IEEE80211_MSG_ACTION¶
-
IEEE80211_MSG_WDS¶
-
IEEE80211_MSG_IOCTL¶
-
IEEE80211_MSG_TDMA¶
-
IEEE80211_MSG_ANY¶
-
IEEE80211_MSG_BITS¶
-
_IEEE80211_MASKSHIFT(_v, _f)¶
-
_IEEE80211_SHIFTMASK(_v, _f)¶
-
IEEE80211_DPRINTF(_vap, _m, _fmt, ...)¶
-
IEEE80211_NOTE(_vap, _m, _ni, _fmt, ...)¶
-
IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...)¶
-
IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...)¶
-
ieee80211_msg_dumppkts(_vap)¶
-
ieee80211_msg(_vap, _m)¶
-
IEEE80211_DISCARD(_vap, _m, _wh, _type, _fmt, ...)¶
-
IEEE80211_DISCARD_IE(_vap, _m, _wh, _type, _fmt, ...)¶
-
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
-
void ieee80211_ifattach(struct ieee80211com*)¶
-
void ieee80211_ifdetach(struct ieee80211com*)¶
-
void ieee80211_set_software_ciphers(struct ieee80211com*, uint32_t cipher_suite)¶
-
void ieee80211_set_hardware_ciphers(struct ieee80211com*, uint32_t cipher_suite)¶
-
void ieee80211_set_driver_keymgmt_suites(struct ieee80211com *ic, uint32_t keymgmt_set)¶
-
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_rateset *ieee80211_get_suprates(struct ieee80211com *ic, const struct ieee80211_channel*)¶
-
const struct ieee80211_htrateset *ieee80211_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 ieee80211com *ieee80211_find_vap(const uint8_t mac[IEEE80211_ADDR_LEN])¶
-
struct ieee80211com *ieee80211_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*, const struct ieee80211_node_txrate*, 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_channel *ieee80211_find_channel(struct ieee80211com*, int freq, int flags)¶
-
struct ieee80211_channel *ieee80211_find_channel_byieee(struct ieee80211com*, int ieee, int flags)¶
-
struct ieee80211_channel *ieee80211_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)¶
-
bool ieee80211_is_key_global(const struct ieee80211vap *vap, const struct ieee80211_key *key)¶
Determine whether the given key in the given VAP is a global key.
(key index 0..3, shared between all stations on a VAP.)
This is either a WEP key or a GROUP key.
Note this will NOT return true if it is a IGTK key.
- Parameters:
vap – the current VAP
key – ieee80211_key to use/check
- Returns:
true if it’s a global/WEP key, false otherwise
-
bool ieee80211_is_key_unicast(const struct ieee80211vap *vap, const struct ieee80211_key *key)¶
Determine whether the given key in the given VAP is a unicast key.
This only returns true if it’s a unicast key.
Note: For now net80211 only supports a single unicast key, stored in an ieee80211_node entry.
Code should use this to know if it’s a unicast key and then call ieee80211_crypto_get_keyid() to get the 802.11 key ID (0..3 for unicast/global keys, 4..5 for IGTK keys.) Since the unicast and global key indexes “overlap”, callers will need to check both the type and id.
- Parameters:
vap – the current VAP
key – ieee80211_key to use/check
- Returns:
true if the key is a unicast key, false if it is not
-
bool ieee80211_is_ctl_frame_for_vap(struct ieee80211_node*, const struct mbuf*)¶
Determine whether the given control frame is from a known node and destined to us.
In some instances a control frame won’t have a TA (eg ACKs), so we should only verify the RA for those.
- Parameters:
ni – ieee80211_node representing the sender, or BSS node
m0 – mbuf representing the 802.11 frame.
- Returns:
false if the frame is not a CTL frame (with a warning logged); true if the frame is from a known sender / valid recipient, false otherwise.
-
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*)¶
-
__inline static int ieee80211_radiotap_active(const struct ieee80211com *ic)¶
-
__inline static int ieee80211_radiotap_active_vap(const struct ieee80211vap *vap)¶
-
__inline static void ieee80211_runtask(struct ieee80211com *ic, struct task *task)¶
-
__inline static void ieee80211_draintask(struct ieee80211com *ic, struct task *task)¶
-
__inline static void ieee80211_key_update_begin(struct ieee80211vap *vap)¶
-
__inline static void ieee80211_key_update_end(struct ieee80211vap *vap)¶
-
__inline static int ieee80211_hdrspace(struct ieee80211com *ic, const void *data)¶
-
__inline static int ieee80211_anyhdrspace(struct ieee80211com *ic, const void *data)¶
-
__inline static void ieee80211_beacon_notify(struct ieee80211vap *vap, int what)¶
-
__inline static int ieee80211_htchanflags(const struct ieee80211_channel *c)¶
-
__inline static int ieee80211_vhtchanflags(const struct ieee80211_channel *c)¶
-
__inline static uint16_t ieee80211_get_node_txpower(struct ieee80211_node *ni)¶
Variables
-
struct malloc_type M_80211_VAP[1]¶
-
struct ieee80211_appie¶
- #include <ieee80211_var.h>
-
struct ieee80211com¶
- #include <ieee80211_var.h>
ieee80211com - the top level driver / hardware instance.
Public Members
-
void *ic_softc¶
pointer to driver softc
-
const char *ic_name¶
-
ieee80211_com_lock_t ic_comlock¶
-
ieee80211_tx_lock_t ic_txlock¶
-
ieee80211_ff_lock_t ic_fflock¶
-
struct ieee80211com.[anonymous] ic_next¶
-
struct ieee80211com.[anonymous] ic_vaps¶
-
int ic_headroom¶
-
enum ieee80211_phytype ic_phytype¶
-
enum ieee80211_opmode ic_opmode¶
-
struct callout ic_inact¶
-
struct taskqueue *ic_tq¶
-
struct task ic_parent_task¶
-
struct task ic_promisc_task¶
-
struct task ic_mcast_task¶
-
struct task ic_chan_task¶
-
struct task ic_bmiss_task¶
-
struct task ic_chw_task¶
-
struct task ic_restart_task¶
-
counter_u64_t ic_ierrors¶
-
counter_u64_t ic_oerrors¶
-
uint32_t ic_flags¶
-
uint32_t ic_flags_ext¶
-
uint32_t ic_flags_ht¶
-
uint32_t ic_flags_ven¶
-
uint32_t ic_caps¶
-
uint32_t ic_htcaps¶
-
uint32_t ic_htextcaps¶
-
uint32_t ic_sw_cryptocaps¶
-
uint32_t ic_cryptocaps¶
-
uint32_t ic_sw_keymgmtcaps¶
-
uint8_t ic_modecaps[IEEE80211_MODE_BYTES]¶
-
uint8_t ic_promisc¶
-
uint8_t ic_allmulti¶
-
uint8_t ic_nrunning¶
-
uint8_t ic_curmode¶
-
uint8_t ic_macaddr[IEEE80211_ADDR_LEN]¶
Driver assigned MAC address.
Drivers are required to populate ic_macaddr at attach time with the MAC address of the device. It is then used as the base for MAC addresses created for VAP interfaces.
-
uint16_t ic_bintval¶
-
uint16_t ic_lintval¶
-
uint16_t ic_holdover¶
-
uint16_t ic_txpowlimit¶
-
struct ieee80211_rateset ic_sup_rates[IEEE80211_MODE_MAX]¶
-
struct ieee80211_htrateset ic_sup_htrates¶
-
int ic_nchans¶
-
struct ieee80211_channel ic_channels[IEEE80211_CHAN_MAX]¶
-
uint8_t ic_chan_avail[IEEE80211_CHAN_BYTES]¶
-
uint8_t ic_chan_active[IEEE80211_CHAN_BYTES]¶
-
uint8_t ic_chan_scan[IEEE80211_CHAN_BYTES]¶
-
struct ieee80211_channel *ic_curchan¶
-
const struct ieee80211_rate_table *ic_rt¶
-
struct ieee80211_channel *ic_bsschan¶
-
struct ieee80211_channel *ic_prevchan¶
-
struct ieee80211_regdomain ic_regdomain¶
-
struct ieee80211_appie *ic_countryie¶
-
struct ieee80211_channel *ic_countryie_chan¶
-
struct ieee80211_channel *ic_csa_newchan¶
-
short ic_csa_mode¶
-
short ic_csa_count¶
-
struct ieee80211_dfs_state ic_dfs¶
-
struct ieee80211_scan_state *ic_scan¶
-
struct ieee80211_scan_methods *ic_scan_methods¶
-
int ic_lastdata¶
-
int ic_lastscan¶
-
int ic_max_keyix¶
-
struct ieee80211_node_table ic_sta¶
-
struct ieee80211_ageq ic_stageq¶
-
uint32_t ic_hash_key¶
-
struct ieee80211_wme_state ic_wme¶
-
enum ieee80211_protmode ic_protmode¶
-
enum ieee80211_protmode ic_htprotmode¶
-
uint8_t ic_curhtprotmode¶
-
uint8_t ic_rxstream¶
-
uint8_t ic_txstream¶
-
uint32_t ic_vht_flags¶
-
struct ieee80211_vht_cap ic_vht_cap¶
-
uint32_t ic_vhtextcaps¶
-
uint32_t ic_vht_spare[3]¶
-
struct ieee80211_superg *ic_superg¶
-
struct ieee80211_radiotap_header *ic_th¶
-
void *ic_txchan¶
-
struct ieee80211_radiotap_header *ic_rh¶
-
void *ic_rxchan¶
-
int ic_montaps¶
-
struct ieee80211vap *(*ic_vap_create)(struct ieee80211com*, const char[IFNAMSIZ], int, enum ieee80211_opmode, int, const uint8_t[IEEE80211_ADDR_LEN], const uint8_t[IEEE80211_ADDR_LEN])¶
-
void (*ic_vap_delete)(struct ieee80211vap*)¶
-
int (*ic_ioctl)(struct ieee80211com*, u_long, void*)¶
-
void (*ic_parent)(struct ieee80211com*)¶
-
ieee80211vap_attach ic_vattach[IEEE80211_OPMODE_MAX]¶
-
void (*ic_getradiocaps)(struct ieee80211com*, int, int*, struct ieee80211_channel[])¶
-
int (*ic_setregdomain)(struct ieee80211com*, struct ieee80211_regdomain*, int, struct ieee80211_channel[])¶
-
int (*ic_set_quiet)(struct ieee80211_node *ni, u_int8_t *quiet_elm)¶
Handle the quiet time information element configuration.
This allows drivers/modules to tie into the quiet time IE for controlling the transmit duty cycle. This may be required for more accurate radar detection.
- Param ni:
The ieee80211_node which transmitted the IE (eg in a scan) or if unknown, the BSSID node
- Param quiet_elm:
the quiet time element contents to parse/handle
- Return:
0 for OK, non-zero with errno (eg ENOSYS)
-
int (*ic_transmit)(struct ieee80211com*, struct mbuf*)¶
-
int (*ic_send_mgmt)(struct ieee80211_node*, int, int)¶
-
int (*ic_raw_xmit)(struct ieee80211_node*, struct mbuf*, const struct ieee80211_bpf_params*)¶
-
void (*ic_updateslot)(struct ieee80211com*)¶
update device state for 802.11 slot time change
-
void (*ic_update_mcast)(struct ieee80211com*)¶
-
void (*ic_update_promisc)(struct ieee80211com*)¶
-
void (*ic_newassoc)(struct ieee80211_node*, int)¶
-
void (*ic_tdma_update)(struct ieee80211_node*, const struct ieee80211_tdma_param*, int)¶
-
struct ieee80211_node *(*ic_node_alloc)(struct ieee80211vap*, const uint8_t[IEEE80211_ADDR_LEN])¶
-
int (*ic_node_init)(struct ieee80211_node*)¶
-
void (*ic_node_free)(struct ieee80211_node*)¶
-
void (*ic_node_cleanup)(struct ieee80211_node*)¶
-
void (*ic_node_age)(struct ieee80211_node*)¶
-
void (*ic_node_drain)(struct ieee80211_node*)¶
-
net80211_rssi_t (*ic_node_getrssi)(const struct ieee80211_node*)¶
-
void (*ic_node_getsignal)(const struct ieee80211_node*, net80211_rssi_t*, int8_t*)¶
-
void (*ic_node_getmimoinfo)(const struct ieee80211_node*, struct ieee80211_mimo_info*)¶
-
void (*ic_scan_start)(struct ieee80211com*)¶
-
void (*ic_scan_end)(struct ieee80211com*)¶
-
void (*ic_set_channel)(struct ieee80211com*)¶
-
void (*ic_scan_curchan)(struct ieee80211_scan_state*, unsigned long)¶
-
void (*ic_scan_mindwell)(struct ieee80211_scan_state*)¶
-
int (*ic_recv_action)(struct ieee80211_node*, const struct ieee80211_frame*, const uint8_t *frm, const uint8_t *efrm)¶
-
int (*ic_send_action)(struct ieee80211_node*, int category, int action, void*)¶
-
int (*ic_ampdu_enable)(struct ieee80211_node*, struct ieee80211_tx_ampdu*)¶
-
int (*ic_addba_request)(struct ieee80211_node*, struct ieee80211_tx_ampdu*, int dialogtoken, int baparamset, int batimeout)¶
-
int (*ic_addba_response)(struct ieee80211_node*, struct ieee80211_tx_ampdu*, int status, int baparamset, int batimeout)¶
-
void (*ic_addba_stop)(struct ieee80211_node*, struct ieee80211_tx_ampdu*)¶
-
void (*ic_addba_response_timeout)(struct ieee80211_node*, struct ieee80211_tx_ampdu*)¶
-
void (*ic_bar_response)(struct ieee80211_node*, struct ieee80211_tx_ampdu*, int status)¶
-
int (*ic_ampdu_rx_start)(struct ieee80211_node*, struct ieee80211_rx_ampdu*, int baparamset, int batimeout, int baseqctl)¶
-
void (*ic_ampdu_rx_stop)(struct ieee80211_node*, struct ieee80211_rx_ampdu*)¶
-
void (*ic_update_chw)(struct ieee80211com*)¶
-
const struct debugnet80211_methods *ic_debugnet_meth¶
-
uint64_t ic_spare[7]¶
-
void *ic_softc¶
-
struct ieee80211vap¶
- #include <ieee80211_var.h>
Public Members
-
struct ifmedia iv_media¶
-
struct ifnet *iv_ifp¶
-
struct bpf_if *iv_rawbpf¶
-
struct sysctl_ctx_list *iv_sysctl¶
-
struct sysctl_oid *iv_oid¶
-
struct ieee80211vap.[anonymous] iv_next¶
-
struct ieee80211com *iv_ic¶
-
uint8_t iv_myaddr[IEEE80211_ADDR_LEN]¶
-
uint32_t iv_debug¶
-
struct ieee80211_stats iv_stats¶
-
uint32_t iv_flags¶
-
uint32_t iv_flags_ext¶
-
uint32_t iv_flags_ht¶
-
uint32_t iv_flags_ven¶
-
uint32_t iv_ifflags¶
-
uint32_t iv_caps¶
-
uint32_t iv_htcaps¶
-
uint32_t iv_htextcaps¶
-
uint32_t iv_com_state¶
-
enum ieee80211_opmode iv_opmode¶
-
enum ieee80211_state iv_state¶
-
enum ieee80211_state iv_nstate¶
-
int iv_nstate_b¶
-
int iv_nstate_n¶
-
enum ieee80211_state iv_nstates[NET80211_IV_NSTATE_NUM]¶
-
int iv_nstate_args[NET80211_IV_NSTATE_NUM]¶
-
struct task iv_nstate_task[NET80211_IV_NSTATE_NUM]¶
-
struct task iv_swbmiss_task¶
-
struct callout iv_mgtsend¶
-
int iv_inact_init¶
-
int iv_inact_auth¶
-
int iv_inact_run¶
-
int iv_inact_probe¶
-
uint32_t iv_vht_flags¶
-
struct ieee80211_vht_cap iv_vht_cap¶
-
uint32_t iv_vhtextcaps¶
-
uint32_t iv_vht_spare[4]¶
-
int iv_des_nssid¶
-
struct ieee80211_scan_ssid iv_des_ssid[1]¶
-
uint8_t iv_des_bssid[IEEE80211_ADDR_LEN]¶
-
struct ieee80211_channel *iv_des_chan¶
-
uint16_t iv_des_mode¶
-
int iv_nicknamelen¶
-
uint8_t iv_nickname[IEEE80211_NWID_LEN]¶
-
u_int iv_bgscanidle¶
-
u_int iv_bgscanintvl¶
-
u_int iv_scanvalid¶
-
u_int iv_scanreq_duration¶
-
u_int iv_scanreq_mindwell¶
-
u_int iv_scanreq_maxdwell¶
-
uint16_t iv_scanreq_flags¶
-
uint8_t iv_scanreq_nssid¶
-
struct ieee80211_scan_ssid iv_scanreq_ssid[IEEE80211_SCAN_MAX_SSID]¶
-
enum ieee80211_roamingmode iv_roaming¶
-
struct ieee80211_roamparam iv_roamparms[IEEE80211_MODE_MAX]¶
-
uint8_t iv_bmissthreshold¶
-
uint8_t iv_bmiss_count¶
-
int iv_bmiss_max¶
-
uint16_t iv_swbmiss_count¶
-
uint16_t iv_swbmiss_period¶
-
struct callout iv_swbmiss¶
-
int iv_ampdu_rxmax¶
-
int iv_ampdu_density¶
-
int iv_ampdu_limit¶
-
int iv_amsdu_limit¶
-
u_int iv_ampdu_mintraffic[WME_NUM_AC]¶
-
struct ieee80211_beacon_offsets iv_bcn_off¶
-
uint32_t *iv_aid_bitmap¶
-
uint16_t iv_max_aid¶
-
uint16_t iv_sta_assoc¶
-
uint16_t iv_ps_sta¶
-
uint16_t iv_ps_pending¶
-
uint16_t iv_txseq¶
-
uint16_t iv_tim_len¶
-
uint8_t *iv_tim_bitmap¶
-
uint8_t iv_dtim_period¶
-
uint8_t iv_dtim_count¶
-
uint8_t iv_quiet¶
-
uint8_t iv_quiet_count¶
-
uint8_t iv_quiet_count_value¶
-
uint8_t iv_quiet_period¶
-
uint16_t iv_quiet_duration¶
-
uint16_t iv_quiet_offset¶
-
int iv_csa_count¶
-
struct ieee80211_node *iv_bss¶
-
struct ieee80211_txparam iv_txparms[IEEE80211_MODE_MAX]¶
-
uint16_t iv_rtsthreshold¶
-
uint16_t iv_fragthreshold¶
-
int iv_inact_timer¶
-
struct ieee80211_appie *iv_appie_beacon¶
-
struct ieee80211_appie *iv_appie_probereq¶
-
struct ieee80211_appie *iv_appie_proberesp¶
-
struct ieee80211_appie *iv_appie_assocreq¶
-
struct ieee80211_appie *iv_appie_assocresp¶
-
struct ieee80211_appie *iv_appie_wpa¶
-
uint8_t *iv_wpa_ie¶
-
uint8_t *iv_rsn_ie¶
-
uint16_t iv_max_keyix¶
-
ieee80211_keyix iv_def_txkey¶
-
struct ieee80211_key iv_nw_keys[IEEE80211_WEP_NKID]¶
-
int (*iv_key_alloc)(struct ieee80211vap*, struct ieee80211_key*, ieee80211_keyix*, ieee80211_keyix*)¶
-
int (*iv_key_delete)(struct ieee80211vap*, const struct ieee80211_key*)¶
-
int (*iv_key_set)(struct ieee80211vap*, const struct ieee80211_key*)¶
-
void (*iv_key_update_begin)(struct ieee80211vap*)¶
-
void (*iv_key_update_end)(struct ieee80211vap*)¶
-
void (*iv_update_deftxkey)(struct ieee80211vap*, ieee80211_keyix deftxkey)¶
-
const struct ieee80211_authenticator *iv_auth¶
-
void *iv_ec¶
-
const struct ieee80211_aclator *iv_acl¶
-
void *iv_as¶
-
const struct ieee80211_ratectl *iv_rate¶
-
void *iv_rs¶
-
struct ieee80211_tdma_state *iv_tdma¶
-
struct ieee80211_mesh_state *iv_mesh¶
-
struct ieee80211_hwmp_state *iv_hwmp¶
-
void (*iv_opdetach)(struct ieee80211vap*)¶
-
int (*iv_input)(struct ieee80211_node*, struct mbuf*, const struct ieee80211_rx_stats*, net80211_rssi_t, int)¶
-
void (*iv_recv_mgmt)(struct ieee80211_node*, struct mbuf*, int, const struct ieee80211_rx_stats*, int, int)¶
-
void (*iv_recv_ctl)(struct ieee80211_node*, struct mbuf*, int)¶
-
void (*iv_deliver_data)(struct ieee80211vap*, struct ieee80211_node*, struct mbuf*)¶
-
void (*iv_bmiss)(struct ieee80211vap*)¶
-
int (*iv_reset)(struct ieee80211vap*, u_long)¶
-
void (*iv_update_beacon)(struct ieee80211vap*, int)¶
-
void (*iv_update_ps)(struct ieee80211vap*, int)¶
-
int (*iv_set_tim)(struct ieee80211_node*, int)¶
-
void (*iv_node_ps)(struct ieee80211_node*, int)¶
-
void (*iv_sta_ps)(struct ieee80211vap*, int)¶
-
void (*iv_recv_pspoll)(struct ieee80211_node*, struct mbuf*)¶
-
int (*iv_newstate)(struct ieee80211vap*, enum ieee80211_state, int)¶
-
struct ieee80211_node *(*iv_update_bss)(struct ieee80211vap*, struct ieee80211_node*)¶
-
int (*iv_output)(struct ifnet*, struct mbuf*, const struct sockaddr*, struct route*)¶
-
int (*iv_wme_update)(struct ieee80211vap*, const struct wmeParams *wme_params)¶
-
struct task iv_wme_task¶
-
enum ieee80211_protmode iv_protmode¶
-
enum ieee80211_protmode iv_htprotmode¶
-
uint8_t iv_curhtprotmode¶
-
uint16_t iv_nonerpsta¶
-
uint16_t iv_longslotsta¶
-
uint16_t iv_ht_sta_assoc¶
-
uint16_t iv_ht40_sta_assoc¶
-
int iv_lastnonerp¶
-
int iv_lastnonht¶
-
void (*iv_updateslot)(struct ieee80211vap*)¶
-
struct task iv_slot_task¶
-
struct task iv_erp_protmode_task¶
-
void (*iv_erp_protmode_update)(struct ieee80211vap*)¶
-
struct task iv_preamble_task¶
-
void (*iv_preamble_update)(struct ieee80211vap*)¶
-
struct task iv_ht_protmode_task¶
-
void (*iv_ht_protmode_update)(struct ieee80211vap*)¶
-
uint8_t iv_uapsdinfo¶
-
struct ieee80211_rx_histogram *rx_histogram¶
-
struct ieee80211_tx_histogram *tx_histogram¶
-
uint64_t iv_spare[36]¶
-
struct ifmedia iv_media¶