Lines Matching refs:txhdr
1083 struct bwn_txhdr txhdr; in bwn_pio_tx_start() local
1100 error = bwn_set_txhdr(mac, ni, m, &txhdr, BWN_PIO_COOKIE(tq, tp)); in bwn_pio_tx_start()
1131 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
1141 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
6384 struct mbuf *m, struct bwn_txhdr *txhdr, uint16_t cookie) in bwn_set_txhdr() argument
6403 memset(txhdr, 0, sizeof(*txhdr)); in bwn_set_txhdr()
6435 txhdr->phyrate = (BWN_ISOFDMRATE(rate)) ? bwn_plcp_getofdm(rate) : in bwn_set_txhdr()
6437 bcopy(wh->i_fc, txhdr->macfc, sizeof(txhdr->macfc)); in bwn_set_txhdr()
6438 bcopy(wh->i_addr1, txhdr->addr1, IEEE80211_ADDR_LEN); in bwn_set_txhdr()
6444 txhdr->dur_fb = *(u_int16_t *)wh->i_dur; in bwn_set_txhdr()
6446 txhdr->dur_fb = ieee80211_compute_duration(ic->ic_rt, in bwn_set_txhdr()
6453 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->body.r351.plcp), in bwn_set_txhdr()
6457 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->body.r410.plcp), in bwn_set_txhdr()
6461 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->body.r598.plcp), in bwn_set_txhdr()
6466 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->plcp_fb), in bwn_set_txhdr()
6469 txhdr->eftypes |= (BWN_ISOFDMRATE(rate_fb)) ? BWN_TX_EFT_FB_OFDM : in bwn_set_txhdr()
6471 txhdr->chan = phy->chan; in bwn_set_txhdr()
6533 prot_ptr = txhdr->body.r351.rts_frame; in bwn_set_txhdr()
6536 prot_ptr = txhdr->body.r410.rts_frame; in bwn_set_txhdr()
6539 prot_ptr = txhdr->body.r598.rts_frame; in bwn_set_txhdr()
6558 &txhdr->body.r351.rts_plcp, len, rts_rate); in bwn_set_txhdr()
6562 &txhdr->body.r410.rts_plcp, len, rts_rate); in bwn_set_txhdr()
6566 &txhdr->body.r598.rts_plcp, len, rts_rate); in bwn_set_txhdr()
6570 bwn_plcp_genhdr((struct bwn_plcp4 *)&txhdr->rts_plcp_fb, len, in bwn_set_txhdr()
6576 &txhdr->body.r351.rts_frame; in bwn_set_txhdr()
6580 &txhdr->body.r410.rts_frame; in bwn_set_txhdr()
6584 &txhdr->body.r598.rts_frame; in bwn_set_txhdr()
6588 txhdr->rts_dur_fb = *(u_int16_t *)protwh->i_dur; in bwn_set_txhdr()
6591 txhdr->eftypes |= BWN_TX_EFT_RTS_OFDM; in bwn_set_txhdr()
6592 txhdr->phyrate_rts = bwn_plcp_getofdm(rts_rate); in bwn_set_txhdr()
6594 txhdr->eftypes |= BWN_TX_EFT_RTS_CCK; in bwn_set_txhdr()
6595 txhdr->phyrate_rts = bwn_plcp_getcck(rts_rate); in bwn_set_txhdr()
6597 txhdr->eftypes |= (BWN_ISOFDMRATE(rts_rate_fb)) ? in bwn_set_txhdr()
6601 txhdr->phyctl_1rts = htole16(bwn_set_txhdr_phyctl1(mac, rts_rate)); in bwn_set_txhdr()
6602 txhdr->phyctl_1rtsfb = htole16(bwn_set_txhdr_phyctl1(mac, rts_rate_fb)); in bwn_set_txhdr()
6607 txhdr->phyctl_1 = htole16(bwn_set_txhdr_phyctl1(mac, rate)); in bwn_set_txhdr()
6608 txhdr->phyctl_1fb = htole16(bwn_set_txhdr_phyctl1(mac, rate_fb)); in bwn_set_txhdr()
6613 txhdr->body.r351.cookie = htole16(cookie); in bwn_set_txhdr()
6616 txhdr->body.r410.cookie = htole16(cookie); in bwn_set_txhdr()
6619 txhdr->body.r598.cookie = htole16(cookie); in bwn_set_txhdr()
6623 txhdr->macctl = htole32(macctl); in bwn_set_txhdr()
6624 txhdr->phyctl = htole16(phyctl); in bwn_set_txhdr()