Home | History | Annotate | Download | only in usb

Lines Matching defs:tap

1657 			struct upgt_tx_radiotap_header *tap = &sc->sc_txtap;
1659 tap->wt_flags = 0;
1660 tap->wt_rate = 0; /* TODO: where to get from? */
1661 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1662 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
1664 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m,
1871 struct upgt_rx_radiotap_header *tap = &sc->sc_rxtap;
1873 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS;
1874 tap->wr_rate = upgt_rx_rate(sc, rxdesc->rate);
1875 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
1876 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
1877 tap->wr_antsignal = rxdesc->rssi;
1879 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m, BPF_D_IN);