Lines Matching +full:rx +full:- +full:mode
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
42 uint32_t ns_rx_data; /* rx data frames */
43 uint32_t ns_rx_mgmt; /* rx management frames */
44 uint32_t ns_rx_ctrl; /* rx control frames */
45 uint32_t ns_rx_ucast; /* rx unicast frames */
46 uint32_t ns_rx_mcast; /* rx multi/broadcast frames */
47 uint64_t ns_rx_bytes; /* rx data count (bytes) */
48 uint64_t ns_rx_beacons; /* rx beacon frames */
49 uint32_t ns_rx_proberesp; /* rx probe response frames */
51 uint32_t ns_rx_dup; /* rx discard 'cuz dup */
52 uint32_t ns_rx_noprivacy; /* rx w/ wep but privacy off */
53 uint32_t ns_rx_wepfail; /* rx wep processing failed */
54 uint32_t ns_rx_demicfail; /* rx demic failed */
55 uint32_t ns_rx_decap; /* rx decapsulation failed */
56 uint32_t ns_rx_defrag; /* rx defragmentation failed */
57 uint32_t ns_rx_disassoc; /* rx disassociation */
58 uint32_t ns_rx_deauth; /* rx deauthentication */
59 uint32_t ns_rx_action; /* rx action */
60 uint32_t ns_rx_decryptcrc; /* rx decrypt failed on crc */
61 uint32_t ns_rx_unauth; /* rx on unauthorized port */
62 uint32_t ns_rx_unencrypted; /* rx unecrypted w/ privacy */
63 uint32_t ns_rx_drop; /* rx discard other reason */
78 /* MIB-related state */
88 /* Hardware A-MSDU decode */
89 uint32_t ns_rx_amsdu_more; /* RX decap A-MSDU, more coming from A-MSDU */
90 uint32_t ns_rx_amsdu_more_end; /* RX decap A-MSDU (or any other frame), no more coming */
98 uint32_t is_rx_badversion; /* rx frame with bad version */
99 uint32_t is_rx_tooshort; /* rx frame too short */
100 uint32_t is_rx_wrongbss; /* rx from wrong bssid */
101 uint32_t is_rx_dup; /* rx discard 'cuz dup */
102 uint32_t is_rx_wrongdir; /* rx w/ wrong direction */
103 uint32_t is_rx_mcastecho; /* rx discard 'cuz mcast echo */
104 uint32_t is_rx_notassoc; /* rx discard 'cuz sta !assoc */
105 uint32_t is_rx_noprivacy; /* rx w/ wep but privacy off */
106 uint32_t is_rx_unencrypted; /* rx w/o wep and privacy on */
107 uint32_t is_rx_wepfail; /* rx wep processing failed */
108 uint32_t is_rx_decap; /* rx decapsulation failed */
109 uint32_t is_rx_mgtdiscard; /* rx discard mgt frames */
110 uint32_t is_rx_ctl; /* rx ctrl frames */
111 uint32_t is_rx_beacon; /* rx beacon frames */
112 uint32_t is_rx_rstoobig; /* rx rate set truncated */
113 uint32_t is_rx_elem_missing; /* rx required element missing*/
114 uint32_t is_rx_elem_toobig; /* rx element too big */
115 uint32_t is_rx_elem_toosmall; /* rx element too small */
116 uint32_t is_rx_elem_unknown; /* rx element unknown */
117 uint32_t is_rx_badchan; /* rx frame w/ invalid chan */
118 uint32_t is_rx_chanmismatch; /* rx frame chan mismatch */
119 uint32_t is_rx_nodealloc; /* rx frame dropped */
120 uint32_t is_rx_ssidmismatch; /* rx frame ssid mismatch */
121 uint32_t is_rx_auth_unsupported; /* rx w/ unsupported auth alg */
122 uint32_t is_rx_auth_fail; /* rx sta auth failure */
123 uint32_t is_rx_auth_countermeasures;/* rx auth discard 'cuz CM */
124 uint32_t is_rx_assoc_bss; /* rx assoc from wrong bssid */
125 uint32_t is_rx_assoc_notauth; /* rx assoc w/o auth */
126 uint32_t is_rx_assoc_capmismatch;/* rx assoc w/ cap mismatch */
127 uint32_t is_rx_assoc_norate; /* rx assoc w/ no rate match */
128 uint32_t is_rx_assoc_badwpaie; /* rx assoc w/ bad WPA IE */
129 uint32_t is_rx_deauth; /* rx deauthentication */
130 uint32_t is_rx_disassoc; /* rx disassociation */
131 uint32_t is_rx_badsubtype; /* rx frame w/ unknown subtype*/
132 uint32_t is_rx_nobuf; /* rx failed for lack of buf */
133 uint32_t is_rx_decryptcrc; /* rx decrypt failed on crc */
134 uint32_t is_rx_ahdemo_mgt; /* rx discard ahdemo mgt frame*/
135 uint32_t is_rx_bad_auth; /* rx bad auth request */
136 uint32_t is_rx_unauth; /* rx on unauthorized port */
137 uint32_t is_rx_badkeyid; /* rx w/ incorrect keyid */
138 uint32_t is_rx_ccmpreplay; /* rx seq# violation (CCMP) */
139 uint32_t is_rx_ccmpformat; /* rx format bad (CCMP) */
140 uint32_t is_rx_ccmpmic; /* rx MIC check failed (CCMP) */
141 uint32_t is_rx_tkipreplay; /* rx seq# violation (TKIP) */
142 uint32_t is_rx_tkipformat; /* rx format bad (TKIP) */
143 uint32_t is_rx_tkipmic; /* rx MIC check failed (TKIP) */
144 uint32_t is_rx_tkipicv; /* rx ICV check failed (TKIP) */
145 uint32_t is_rx_badcipher; /* rx failed 'cuz key type */
146 uint32_t is_rx_nocipherctx; /* rx failed 'cuz key !setup */
147 uint32_t is_rx_acl; /* rx discard 'cuz acl policy */
161 uint32_t is_crypto_tkipenmic; /* tkip en-MIC done in s/w */
162 uint32_t is_crypto_tkipdemic; /* tkip de-MIC done in s/w */
174 uint32_t is_crypto_enmicfail; /* en-MIC failed */
175 uint32_t is_ibss_capmismatch; /* merge failed-cap mismatch */
176 uint32_t is_ibss_norate; /* merge failed-rate mismatch */
177 uint32_t is_ps_unassoc; /* ps-poll for unassoc. sta */
178 uint32_t is_ps_badaid; /* ps-poll w/ incorrect aid */
179 uint32_t is_ps_qempty; /* ps-poll w/ nothing to send */
180 uint32_t is_ff_badhdr; /* fast frame rx'd w/ bad hdr */
181 uint32_t is_ff_tooshort; /* fast frame rx decap error */
182 uint32_t is_ff_split; /* fast frame rx split error */
185 uint32_t is_rx_badbintval; /* rx frame w/ bogus bintval */
186 uint32_t is_rx_demicfail; /* rx demic failed */
187 uint32_t is_rx_defrag; /* rx defragmentation failed */
188 uint32_t is_rx_mgmt; /* rx management frames */
189 uint32_t is_rx_action; /* rx action mgt frames */
190 uint32_t is_amsdu_tooshort; /* A-MSDU rx decap error */
191 uint32_t is_amsdu_split; /* A-MSDU rx split error */
192 uint32_t is_amsdu_decap; /* A-MSDU decap'd */
193 uint32_t is_amsdu_encap; /* A-MSDU encap'd for tx */
194 uint32_t is_ampdu_bar_bad; /* A-MPDU BAR out of window */
195 uint32_t is_ampdu_bar_oow; /* A-MPDU BAR before ADDBA */
196 uint32_t is_ampdu_bar_move; /* A-MPDU BAR moved window */
197 uint32_t is_ampdu_bar_rx; /* A-MPDU BAR frames handled */
198 uint32_t is_ampdu_rx_flush; /* A-MPDU frames flushed */
199 uint32_t is_ampdu_rx_oor; /* A-MPDU frames out-of-order */
200 uint32_t is_ampdu_rx_copy; /* A-MPDU frames copied down */
201 uint32_t is_ampdu_rx_drop; /* A-MPDU frames dropped */
207 uint32_t is_ht_assoc_nohtcap; /* non-HT sta rejected */
210 uint32_t is_ampdu_rx_age; /* A-MPDU sent up 'cuz of age */
211 uint32_t is_ampdu_rx_move; /* A-MPDU MSDU moved window */
217 uint32_t is_ampdu_stop; /* A-MPDU stream stopped */
218 uint32_t is_ampdu_stop_failed; /* A-MPDU stream not running */
219 uint32_t is_ampdu_rx_reorder; /* A-MPDU held for rx reorder */
221 uint8_t is_rx_deauth_code; /* last rx'd deauth reason */
222 uint8_t is_rx_disassoc_code; /* last rx'd disassoc reason */
223 uint8_t is_rx_authfail_code; /* last rx'd auth fail reason */
225 uint32_t is_rx_badstate; /* rx discard state != RUN */
228 uint32_t is_ampdu_rexmt; /* A-MPDU frames rexmt ok */
229 uint32_t is_ampdu_rexmt_fail; /* A-MPDU frames rexmt fail */
249 uint32_t is_ampdu_bar_tx; /* A-MPDU BAR frames TXed */
250 uint32_t is_ampdu_bar_tx_retry; /* A-MPDU BAR frames TX rtry */
251 uint32_t is_ampdu_bar_tx_fail; /* A-MPDU BAR frames TX fail */
254 uint32_t is_amsdu_encapfail; /* failed A-MSDU encap */
391 (((_nchan)-1) * sizeof(struct ieee80211_channel)))
393 IEEE80211_CHANINFO_SIZE((_ci)->ic_nchans)
409 * Retrieve per-node statistics.
413 /* NB: explicitly force 64-bit alignment */
444 /* NB: [IEEE80211_NONQOS_TID] holds seq#'s for non-QoS stations */
446 uint16_t isi_rxseqs[IEEE80211_TID_SIZE];/* rx seq#/TID */
461 * Retrieve per-station information; to retrieve all
466 /* NB: explicitly force 64-bit alignment */
474 * Get/set per-station tx power cap.
516 * Station mode roaming parameters. These are maintained
517 * per band/mode and control the roaming algorithm.
525 * rate for each operating mode when operating as client or on a
526 * per-client basis according to the capabilities of the client
549 (((_nchan)-1) * sizeof(struct ieee80211_channel)))
551 IEEE80211_REGDOMAIN_SIZE((_req)->chaninfo.ic_nchans)
567 (((_nchan)-1) * sizeof(struct ieee80211_channel)))
569 IEEE80211_DEVCAPS_SIZE((_dc)->dc_chaninfo.ic_nchans)
573 int csa_mode; /* CSA mode */
578 * Get/set per-station vlan tag.
587 * FreeBSD-style ioctls.
604 #define IEEE80211_WEP_NOSUP -1
615 #define IEEE80211_POWERSAVE_NOSUP -1
629 #define IEEE80211_IOC_ROAMING 16 /* roaming mode */
639 #define IEEE80211_IOC_WPA 26 /* WPA mode (0,1,2) */
641 #define IEEE80211_IOC_WME 28 /* WME mode (on, off) */
642 #define IEEE80211_IOC_HIDESSID 29 /* hide SSID mode (on, off) */
643 #define IEEE80211_IOC_APBRIDGE 30 /* AP inter-sta bridging */
644 /* 31-35,37-38 were for WPA authenticator settings */
647 #define IEEE80211_IOC_STA_STATS 40 /* per-station statistics */
651 #define IEEE80211_IOC_STA_TXPOW 44 /* per-station tx power limit */
670 /* 66-72 were IEEE80211_IOC_ROAM_* and IEEE80211_IOC_MCAST_RATE */
679 #define IEEE80211_IOC_AMPDU 82 /* 802.11n A-MPDU (on, off) */
680 #define IEEE80211_IOC_AMPDU_LIMIT 83 /* A-MPDU length limit */
681 #define IEEE80211_IOC_AMPDU_DENSITY 84 /* A-MPDU density */
682 #define IEEE80211_IOC_AMSDU 85 /* 802.11n A-MSDU (on, off) */
683 #define IEEE80211_IOC_AMSDU_LIMIT 86 /* A-MSDU length limit */
686 /* 89-91 were regulatory items */
687 #define IEEE80211_IOC_HTCOMPAT 92 /* support pre-D1.10 HT ie's */
688 #define IEEE80211_IOC_DWDS 93 /* DWDS/4-address handling */
704 #define IEEE80211_IOC_STA_VLAN 109 /* per-station vlan tag */
708 #define IEEE80211_IOC_STBC 113 /* STBC Tx/RX (on, off) */
709 #define IEEE80211_IOC_LDPC 114 /* LDPC Tx/RX (on, off) */
711 #define IEEE80211_IOC_UAPSD_INFO 116 /* UAPSD (SP, per-AC enable) */
729 #define IEEE80211_IOC_HWMP_ROOTMODE 190 /* HWMP root mode */
755 * mode) or a channel to be selected for operation (hostap mode).
761 * AP that it is going into power save mode before it leaves the channel.
784 #define IEEE80211_IOC_SCAN_PICK1ST 0x00004 /* ``hey sailor'' mode */
788 #define IEEE80211_IOC_SCAN_NOJOIN 0x00040 /* no auto-sequencing */
835 * be a vap-capable device. All parameters specified with
840 * two stations encapsulating traffic in 4-address frames.
842 * an AP and sends a 4-address frame. If the AP vap is
856 * Station mode vap's normally depend on the device to notice
865 uint16_t icp_opmode; /* operating mode */
874 #define IEEE80211_CLONE_TDMA 0x0010 /* operate in TDMA mode */