Home | History | Annotate | Download | only in ic

Lines Matching refs:tap

878 	struct athn_rx_radiotap_header *tap = &sc->sc_rxtap;
892 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS;
893 tap->wr_tsft = htole64(tsf);
894 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
895 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
896 tap->wr_dbm_antsignal = MS(ds->ds_status5, AR_RXS5_RSSI_COMBINED);
898 tap->wr_antenna = MS(ds->ds_status4, AR_RXS4_ANTENNA);
899 tap->wr_rate = 0; /* In case it can't be found below. */
903 tap->wr_rate = rate;
905 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI;
910 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE;
912 case 0xb: tap->wr_rate = 2; break;
913 case 0xa: tap->wr_rate = 4; break;
914 case 0x9: tap->wr_rate = 11; break;
915 case 0x8: tap->wr_rate = 22; break;
920 case 0xb: tap->wr_rate = 12; break;
921 case 0xf: tap->wr_rate = 18; break;
922 case 0xa: tap->wr_rate = 24; break;
923 case 0xe: tap->wr_rate = 36; break;
924 case 0x9: tap->wr_rate = 48; break;
925 case 0xd: tap->wr_rate = 72; break;
926 case 0x8: tap->wr_rate = 96; break;
927 case 0xc: tap->wr_rate = 108; break;
930 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m, BPF_D_IN);
1562 struct athn_tx_radiotap_header *tap = &sc->sc_txtap;
1564 tap->wt_flags = 0;
1566 tap->wt_rate = athn_rates[ridx[0]].rate;
1567 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1568 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
1569 // XXX tap->wt_hwqueue = qid;
1572 tap->wt_flags |= IEEE80211_RADIOTAP_F_SHORTPRE;
1574 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m, BPF_D_OUT);