Home
last modified time | relevance | path

Searched refs:tap (Results 1 – 25 of 107) sorted by relevance

12345

/freebsd/sys/net80211/
H A Dieee80211_ht.h69 #define IEEE80211_AMPDU_RUNNING(tap) \ argument
70 (((tap)->txa_flags & IEEE80211_AGGR_RUNNING) != 0)
76 #define IEEE80211_AMPDU_RUNNING_AMSDU(tap) \ argument
77 (((tap)->txa_flags & (IEEE80211_AGGR_RUNNING | IEEE80211_AGGR_AMSDU)) \
81 #define IEEE80211_AMPDU_NACKED(tap)\ argument
82 (!! ((tap)->txa_flags & IEEE80211_AGGR_NAK))
85 #define IEEE80211_AMPDU_REQUESTED(tap) \ argument
86 (((tap)->txa_flags & \
104 ieee80211_txampdu_init_pps(struct ieee80211_tx_ampdu *tap) in ieee80211_txampdu_init_pps() argument
109 tap->txa_lastsample = ticks; in ieee80211_txampdu_init_pps()
[all …]
H A Dieee80211_ht.c205 struct ieee80211_tx_ampdu *tap);
207 struct ieee80211_tx_ampdu *tap,
210 struct ieee80211_tx_ampdu *tap,
213 struct ieee80211_tx_ampdu *tap);
215 struct ieee80211_tx_ampdu *tap);
218 struct ieee80211_tx_ampdu *tap, int status);
219 static void ampdu_tx_stop(struct ieee80211_tx_ampdu *tap);
220 static void bar_stop_timer(struct ieee80211_tx_ampdu *tap);
1308 struct ieee80211_tx_ampdu *tap; in ieee80211_ht_node_init() local
1330 tap = &ni->ni_tx_ampdu[tid]; in ieee80211_ht_node_init()
[all …]
H A Dieee80211_ddb.c197 _db_show_txampdu(const char *sep, int ix, const struct ieee80211_tx_ampdu *tap) in _db_show_txampdu() argument
200 sep, ix, tap, tap->txa_flags, IEEE80211_AGGR_BITS, in _db_show_txampdu()
201 ieee80211_wme_acnames[TID_TO_WME_AC(tap->txa_tid)]); in _db_show_txampdu()
203 sep, tap->txa_token, tap->txa_lastsample, tap->txa_pkts, in _db_show_txampdu()
204 tap->txa_avgpps, tap->txa_qbytes, tap->txa_qframes); in _db_show_txampdu()
206 sep, tap->txa_start, tap->txa_seqpending, tap->txa_wnd, in _db_show_txampdu()
207 tap->txa_attempts, tap->txa_nextrequest); in _db_show_txampdu()
/freebsd/tools/regression/net/if_tap/
H A Dtest-tap.sh40 tap=$(ifconfig tap create)
41 tap_exists $tap
42 ifconfig $tap destroy
43 ! tap_exists $tap
47 tap=$(ifconfig tap create)
48 tap_exists $tap
49 cat /dev/$tap > /dev/null &
52 ifconfig $tap destroy &
55 ! tap_exists $tap
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dnvidia,tegra114-spi.txt27 - nvidia,tx-clk-tap-delay: Delays the clock going out to the external device
28 with this tap value. This property is used to tune the outgoing data from
31 to corresponding slave devices. Valid tap values are from 0 thru 63.
32 - nvidia,rx-clk-tap-delay: Delays the clock coming in from the external device
33 with this tap value. This property is used to adjust the Tegra SPI master
36 to corresponding slave devices. Valid tap values are from 0 thru 63.
56 nvidia,rx-clk-tap-delay = <0>;
57 nvidia,tx-clk-tap-delay = <16>;
/freebsd/share/mk/
H A Dtap.test.mk11 .error tap.test.mk cannot be included directly.
37 TEST_INTERFACE.${_T}= tap
48 TEST_INTERFACE.${_T}= tap
57 TEST_INTERFACE.${_T}= tap
80 TEST_INTERFACE.${_T}= tap
/freebsd/sys/dev/ath/
H A Dif_ath_tx.c2639 struct ieee80211_tx_ampdu *tap; in ath_tx_addto_baw() local
2646 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_addto_baw()
2652 tap->txa_start, tap->txa_wnd); in ath_tx_addto_baw()
2660 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw()
2667 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, in ath_tx_addto_baw()
2673 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw()
2681 index = ATH_BA_INDEX(tap->txa_start, SEQNO(bf->bf_state.bfs_seqno)); in ath_tx_addto_baw()
2687 tap->txa_start, tap->txa_wnd, index, cindex, tid->baw_head, in ath_tx_addto_baw()
2730 struct ieee80211_tx_ampdu *tap; in ath_tx_switch_baw_buf() local
2735 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_switch_baw_buf()
[all …]
H A Dif_ath_tx.h119 struct ieee80211_tx_ampdu *tap, int dialogtoken,
122 struct ieee80211_tx_ampdu *tap, int dialogtoken,
125 struct ieee80211_tx_ampdu *tap);
127 struct ieee80211_tx_ampdu *tap, int status);
129 struct ieee80211_tx_ampdu *tap);
H A Dif_ath_tx_ht.c801 struct ieee80211_tx_ampdu *tap; in ath_tx_form_aggr() local
808 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_form_aggr()
809 if (tap == NULL) { in ath_tx_form_aggr()
823 h_baw = tap->txa_wnd / 2; in ath_tx_form_aggr()
918 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, in ath_tx_form_aggr()
/freebsd/contrib/libpcap/
H A Dpcap-enet.c33 struct tap_header tap; member
74 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap in readloop()
77 ph->tap.th_wirelen, caplen)) { in readloop()
81 (struct timeval *)ph->tap.th_timestamp, in readloop()
82 ph->tap.th_wirelen, caplen); in readloop()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/
H A Dtst.nullassign.d34 tap = ", SystemTap, ";
40 phrase = strjoin(die, tap);
54 this->phrase = strjoin(the, tap);
/freebsd/tools/tools/net80211/w00t/assoc/
H A Dassoc.c59 int tap; member
408 rc = write(p->tap, ptr, len); in generic_process()
665 p->packet_len = read(p->tap, ptr, len); in read_tap()
712 char *tap = "tap0"; in main() local
755 tap = optarg; in main()
774 p.tap = open_tap(tap); in main()
775 if (p.tap == -1) in main()
777 if (set_iface_mac(tap, mac) == -1) in main()
894 FD_SET(p.tap, &fds); in main()
895 max = (p.rx > p.tap) ? p.rx : p.tap; in main()
[all …]
/freebsd/tools/tools/net80211/w00t/ap/
H A Dap.c49 int tap; member
537 rc = write(p->tap, ptr, len); in read_real_data()
724 rd = read(p->tap, ptr, len); in read_tap()
834 FD_SET(p->tap, &fds); in next_event()
835 max = p->rx > p->tap ? p->rx : p->tap; in next_event()
839 if (FD_ISSET(p->tap, &fds)) in next_event()
848 char *tap = "tap0"; in main() local
868 tap = optarg; in main()
904 if ((p.tap = open_tap(tap)) == -1) in main()
906 if (set_iface_mac(tap, p.mac) == -1) in main()
/freebsd/contrib/netbsd-tests/net/if_tap/
H A Dt_tap.sh52 rump_server_start $SOCK_LOCAL netinet6 tap
91 rump_server_start $SOCK_LOCAL netinet6 tap
92 rump_server_start $SOCK_REMOTE netinet6 tap
145 rump_server_start $SOCK_LOCAL netinet6 tap bridge
146 rump_server_start $SOCK_REMOTE netinet6 tap
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_tx.c209 struct rtwn_tx_radiotap_header *tap = &sc->sc_txtap; in rtwn_tx_data() local
211 tap->wt_flags = rtwn_tx_radiotap_flags(sc, txd); in rtwn_tx_data()
213 tap->wt_flags |= IEEE80211_RADIOTAP_F_WEP; in rtwn_tx_data()
257 struct rtwn_tx_radiotap_header *tap = &sc->sc_txtap; in rtwn_tx_raw() local
259 tap->wt_flags = rtwn_tx_radiotap_flags(sc, txd); in rtwn_tx_raw()
261 tap->wt_flags |= IEEE80211_RADIOTAP_F_WEP; in rtwn_tx_raw()
H A Dif_rtwn_rx.c376 struct rtwn_rx_radiotap_header *tap = &sc->sc_rxtap; in rtwn_rx_common() local
378 tap->wr_flags = rtwn_rx_radiotap_flags(sc, desc); in rtwn_rx_common()
379 tap->wr_tsft = htole64(rxs.c_rx_tsf); in rtwn_rx_common()
380 tap->wr_rate = rxs.c_rate; in rtwn_rx_common()
381 tap->wr_dbm_antsignal = rssi; in rtwn_rx_common()
382 tap->wr_dbm_antnoise = rxs.c_nf; in rtwn_rx_common()
/freebsd/sys/contrib/device-tree/src/arm64/amd/
H A Damd-seattle-xgbe-b.dtsi52 amd,serdes-dfe-tap-config = <3>, <3>, <3>;
53 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
78 amd,serdes-dfe-tap-config = <3>, <3>, <3>;
79 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
/freebsd/tools/tools/net80211/w00t/expand/
H A Dexpand.c62 int tap; member
423 char *tap = "tap0"; in main() local
434 tap = optarg; in main()
456 if ((p.tap = open_tap(tap)) == -1) in main()
458 if (set_iface_mac(tap, p.mac) == -1) in main()
/freebsd/lib/libjail/
H A Djail.c76 va_list ap, tap; in jail_setv() local
83 va_copy(tap, ap); in jail_setv()
84 for (njp = 0; va_arg(tap, char *) != NULL; njp++) in jail_setv()
85 (void)va_arg(tap, char *); in jail_setv()
86 va_end(tap); in jail_setv()
113 va_list ap, tap; in jail_getv() local
121 va_copy(tap, ap); in jail_getv()
122 for (njp = 0; va_arg(tap, char *) != NULL; njp++) in jail_getv()
123 (void)va_arg(tap, char *); in jail_getv()
124 va_end(tap); in jail_getv()
[all …]
/freebsd/tools/tools/net80211/w00t/
H A DREADME27 tap interface to it. The interface may be used like a standard eth
50 to a tap interface which may be used to TX packets on that network.
61 This data is then fed back into a tap interface. This way, data
72 decrypt it. The clear-text packet is sent to a tap interface.
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Damd-xgbe.txt49 - amd,serdes-dfe-tap-config: DFE taps available to run
50 - amd,serdes-dfe-tap-enable: DFE taps to enable
74 amd,serdes-dfe-tap-config = <3>, <3>, <1>;
75 amd,serdes-dfe-tap-enable = <0>, <0>, <127>;
/freebsd/tools/tools/net80211/w00t/prga/
H A Dprga.c78 int tap; member
520 rc = read(p->tap, ptr, rc); in read_tap()
604 char *tap = "tap0"; in main() local
624 tap = optarg; in main()
640 if ((p.tap = open_tap(tap)) == -1) in main()
642 if (set_iface_mac(tap, p.mac) == -1) in main()
/freebsd/tools/tools/net80211/w00t/redir/
H A Dredir.c67 int tap; member
528 rem = writev(p->tap, iov, sizeof(iov)/sizeof(struct iovec)); in read_buddy_data()
633 char *tap = "tap0"; in main() local
658 tap = optarg; in main()
694 if ((p.tap = open_tap(tap)) == -1) in main()
696 if (set_iface_mac(tap, p.mac) == -1) in main()
/freebsd/sys/dev/iwm/
H A Dif_iwm.c3259 struct iwm_rx_radiotap_header *tap = &sc->sc_rxtap; in iwm_rx_rx_mpdu() local
3261 tap->wr_flags = 0; in iwm_rx_rx_mpdu()
3263 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; in iwm_rx_rx_mpdu()
3264 tap->wr_chan_freq = htole16(rxs.c_freq); in iwm_rx_rx_mpdu()
3266 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags); in iwm_rx_rx_mpdu()
3267 tap->wr_dbm_antsignal = (int8_t)rssi; in iwm_rx_rx_mpdu()
3268 tap->wr_dbm_antnoise = (int8_t)sc->sc_noise; in iwm_rx_rx_mpdu()
3269 tap->wr_tsft = phy_info->system_timestamp; in iwm_rx_rx_mpdu()
3272 case 10: tap->wr_rate = 2; break; in iwm_rx_rx_mpdu()
3273 case 20: tap->wr_rate = 4; break; in iwm_rx_rx_mpdu()
[all …]
/freebsd/sys/dev/ral/
H A Drt2560.c1173 struct rt2560_rx_radiotap_header *tap = &sc->sc_rxtap; in rt2560_decryption_intr() local
1180 tap->wr_tsf = in rt2560_decryption_intr()
1182 tap->wr_flags = 0; in rt2560_decryption_intr()
1183 tap->wr_rate = ieee80211_plcp2rate(desc->rate, in rt2560_decryption_intr()
1186 tap->wr_antenna = sc->rx_ant; in rt2560_decryption_intr()
1187 tap->wr_antsignal = nf + rssi; in rt2560_decryption_intr()
1188 tap->wr_antnoise = nf; in rt2560_decryption_intr()
1470 struct rt2560_tx_radiotap_header *tap = &sc->sc_txtap; in rt2560_tx_bcn() local
1472 tap->wt_flags = 0; in rt2560_tx_bcn()
1473 tap->wt_rate = rate; in rt2560_tx_bcn()
[all …]

12345