Lines Matching +full:rx +full:- +full:only

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 */
257 uint32_t is_rx_gcmpreplay; /* rx seq# violation (GCMP) */
258 uint32_t is_rx_gcmpformat; /* rx format bad (GCMP) */
259 uint32_t is_rx_gcmpmic; /* rx MIC check failed (GCMP) */
269 * constrain this; it's limited only by the max frame size (and
277 * receiving. The key index should be set only when working
309 * only makes sense when operating as a station. The other
399 (((_nchan)-1) * sizeof(struct ieee80211_channel)))
401 IEEE80211_CHANINFO_SIZE((_ci)->ic_nchans)
406 struct ieee80211req_wpaie { /* old version w/ only one ie */
417 * Retrieve per-node statistics.
421 /* NB: explicitly force 64-bit alignment */
452 /* NB: [IEEE80211_NONQOS_TID] holds seq#'s for non-QoS stations */
454 uint16_t isi_rxseqs[IEEE80211_TID_SIZE];/* rx seq#/TID */
469 * Retrieve per-station information; to retrieve all
474 /* NB: explicitly force 64-bit alignment */
482 * Get/set per-station tx power cap.
534 * per-client basis according to the capabilities of the client
548 * only the regdomain info; the channel list is obtained
557 (((_nchan)-1) * sizeof(struct ieee80211_channel)))
559 IEEE80211_REGDOMAIN_SIZE((_req)->chaninfo.ic_nchans)
575 (((_nchan)-1) * sizeof(struct ieee80211_channel)))
577 IEEE80211_DEVCAPS_SIZE((_dc)->dc_chaninfo.ic_nchans)
586 * Get/set per-station vlan tag.
595 * FreeBSD-style ioctls.
612 #define IEEE80211_WEP_NOSUP -1
623 #define IEEE80211_POWERSAVE_NOSUP -1
651 #define IEEE80211_IOC_APBRIDGE 30 /* AP inter-sta bridging */
652 /* 31-35,37-38 were for WPA authenticator settings */
655 #define IEEE80211_IOC_STA_STATS 40 /* per-station statistics */
659 #define IEEE80211_IOC_STA_TXPOW 44 /* per-station tx power limit */
665 #define IEEE80211_IOC_WME_ACM 50 /* WME: ACM (bss only) */
666 #define IEEE80211_IOC_WME_ACKPOLICY 51 /* WME: ACK policy (!bss only)*/
678 /* 66-72 were IEEE80211_IOC_ROAM_* and IEEE80211_IOC_MCAST_RATE */
687 #define IEEE80211_IOC_AMPDU 82 /* 802.11n A-MPDU (on, off) */
688 #define IEEE80211_IOC_AMPDU_LIMIT 83 /* A-MPDU length limit */
689 #define IEEE80211_IOC_AMPDU_DENSITY 84 /* A-MPDU density */
690 #define IEEE80211_IOC_AMSDU 85 /* 802.11n A-MSDU (on, off) */
691 #define IEEE80211_IOC_AMSDU_LIMIT 86 /* A-MSDU length limit */
694 /* 89-91 were regulatory items */
695 #define IEEE80211_IOC_HTCOMPAT 92 /* support pre-D1.10 HT ie's */
696 #define IEEE80211_IOC_DWDS 93 /* DWDS/4-address handling */
712 #define IEEE80211_IOC_STA_VLAN 109 /* per-station vlan tag */
716 #define IEEE80211_IOC_STBC 113 /* STBC Tx/RX (on, off) */
717 #define IEEE80211_IOC_LDPC 114 /* LDPC Tx/RX (on, off) */
719 #define IEEE80211_IOC_UAPSD_INFO 116 /* UAPSD (SP, per-AC enable) */
790 #define IEEE80211_IOC_SCAN_NOPICK 0x00001 /* scan only, no selection */
796 #define IEEE80211_IOC_SCAN_NOJOIN 0x00040 /* no auto-sequencing */
843 * be a vap-capable device. All parameters specified with
848 * two stations encapsulating traffic in 4-address frames.
850 * an AP and sends a 4-address frame. If the AP vap is