Lines Matching defs:tap
964 struct ural_rx_radiotap_header *tap = &sc->sc_rxtap;
966 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS;
967 tap->wr_rate = ural_rxrate(desc);
968 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
969 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
970 tap->wr_antenna = sc->rx_ant;
971 tap->wr_antsignal = desc->rssi;
973 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m, BPF_D_IN);
1222 struct ural_tx_radiotap_header *tap = &sc->sc_txtap;
1224 tap->wt_flags = 0;
1225 tap->wt_rate = rate;
1226 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1227 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
1228 tap->wt_antenna = sc->tx_ant;
1230 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m0, BPF_D_OUT);
1312 struct ural_tx_radiotap_header *tap = &sc->sc_txtap;
1314 tap->wt_flags = 0;
1315 tap->wt_rate = rate;
1316 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1317 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
1318 tap->wt_antenna = sc->tx_ant;
1320 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m0, BPF_D_OUT);