Home | History | Annotate | Download | only in ic

Lines Matching defs:tap

727 	struct athn_rx_radiotap_header *tap = &sc->sc_rxtap;
741 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS;
742 tap->wr_tsft = htole64(tsf);
743 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
744 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
745 tap->wr_dbm_antsignal = MS(ds->ds_status4, AR_RXS4_RSSI_COMBINED);
747 tap->wr_antenna = MS(ds->ds_status3, AR_RXS3_ANTENNA);
748 tap->wr_rate = 0; /* In case it can't be found below. */
755 tap->wr_rate = rate;
757 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI;
762 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE;
764 case 0xb: tap->wr_rate = 2; break;
765 case 0xa: tap->wr_rate = 4; break;
766 case 0x9: tap->wr_rate = 11; break;
767 case 0x8: tap->wr_rate = 22; break;
772 case 0xb: tap->wr_rate = 12; break;
773 case 0xf: tap->wr_rate = 18; break;
774 case 0xa: tap->wr_rate = 24; break;
775 case 0xe: tap->wr_rate = 36; break;
776 case 0x9: tap->wr_rate = 48; break;
777 case 0xd: tap->wr_rate = 72; break;
778 case 0x8: tap->wr_rate = 96; break;
779 case 0xc: tap->wr_rate = 108; break;
782 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m, BPF_D_IN);
1409 struct athn_tx_radiotap_header *tap = &sc->sc_txtap;
1411 tap->wt_flags = 0;
1413 tap->wt_rate = athn_rates[ridx[0]].rate;
1414 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1415 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
1416 // XXX tap->wt_hwqueue = qid;
1419 tap->wt_flags |= IEEE80211_RADIOTAP_F_SHORTPRE;
1421 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m, BPF_D_OUT);