Lines Matching defs:frmhdr
1142 struct wi_frame frmhdr;
1150 memset(&frmhdr, 0, sizeof(frmhdr));
1161 (void *)&frmhdr.wi_ehdr);
1162 frmhdr.wi_ehdr.ether_type = 0;
1173 (void *)&frmhdr.wi_ehdr);
1196 frmhdr.wi_tx_ctl =
1200 frmhdr.wi_tx_ctl |= htole16(WI_TXCNTL_ALTRTRY);
1208 frmhdr.wi_tx_ctl |= htole16(WI_TXCNTL_NOCRYPT);
1235 frmhdr.wi_tx_idx = rd - sc->sc_rssd;
1238 frmhdr.wi_tx_rate = 5 * (rs->rs_rates[rateidx] &
1244 (void *)&frmhdr.wi_whdr);
1246 frmhdr.wi_dat_len = htole16(m0->m_pkthdr.len);
1248 wi_dump_pkt(&frmhdr, ni, -1);
1250 off = sizeof(frmhdr);
1251 if (wi_write_bap(sc, fid, 0, &frmhdr, sizeof(frmhdr)) != 0 ||
1652 struct wi_frame frmhdr;
1664 if (wi_read_bap(sc, fid, 0, &frmhdr, sizeof(frmhdr))) {
1672 wi_dump_pkt(&frmhdr, NULL, frmhdr.wi_rx_signal);
1677 status = le16toh(frmhdr.wi_status);
1684 rssi = frmhdr.wi_rx_signal;
1685 rstamp = (le16toh(frmhdr.wi_rx_tstamp0) << 16) |
1686 le16toh(frmhdr.wi_rx_tstamp1);
1688 len = le16toh(frmhdr.wi_dat_len);
1720 memcpy(m->m_data, &frmhdr.wi_whdr, sizeof(struct ieee80211_frame));
1721 wi_read_bap(sc, fid, sizeof(frmhdr),
1740 tap->wr_rate = frmhdr.wi_rx_rate / 5;
1741 tap->wr_antsignal = frmhdr.wi_rx_signal;
1742 tap->wr_antnoise = frmhdr.wi_rx_silence;
1745 if (frmhdr.wi_status & WI_STAT_PCF)
1782 struct wi_frame frmhdr;
1790 if (wi_read_bap(sc, fid, 0, &frmhdr, sizeof(frmhdr)) != 0) {
1798 if (frmhdr.wi_tx_idx >= WI_NTXRSS) {
1800 __func__, frmhdr.wi_tx_idx);
1806 status = le16toh(frmhdr.wi_status);
1823 le16toh(frmhdr.wi_dat_len),
1824 ether_sprintf(frmhdr.wi_ehdr.ether_shost));
1830 rssd = &sc->sc_rssd[frmhdr.wi_tx_idx];
1840 __func__, frmhdr.wi_tx_idx);
1964 struct wi_frame frmhdr;
1972 &frmhdr.wi_tx_swsup2, 2) != 0) {
1980 if (frmhdr.wi_tx_idx >= WI_NTXRSS) {
1982 __func__, frmhdr.wi_tx_idx);
1988 rssd = &sc->sc_rssd[frmhdr.wi_tx_idx];
1997 __func__, frmhdr.wi_tx_idx);