Lines Matching defs:txhdr

1083 	struct bwn_txhdr txhdr;
1100 error = bwn_set_txhdr(mac, ni, m, &txhdr, BWN_PIO_COOKIE(tq, tp));
1131 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac));
1141 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac));
6384 struct mbuf *m, struct bwn_txhdr *txhdr, uint16_t cookie)
6403 memset(txhdr, 0, sizeof(*txhdr));
6439 txhdr->phyrate = (BWN_ISOFDMRATE(rate)) ? bwn_plcp_getofdm(rate) :
6441 bcopy(wh->i_fc, txhdr->macfc, sizeof(txhdr->macfc));
6442 bcopy(wh->i_addr1, txhdr->addr1, IEEE80211_ADDR_LEN);
6448 txhdr->dur_fb = *(u_int16_t *)wh->i_dur;
6450 txhdr->dur_fb = ieee80211_compute_duration(ic->ic_rt,
6457 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->body.r351.plcp),
6461 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->body.r410.plcp),
6465 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->body.r598.plcp),
6470 bwn_plcp_genhdr((struct bwn_plcp4 *)(&txhdr->plcp_fb),
6473 txhdr->eftypes |= (BWN_ISOFDMRATE(rate_fb)) ? BWN_TX_EFT_FB_OFDM :
6475 txhdr->chan = phy->chan;
6537 prot_ptr = txhdr->body.r351.rts_frame;
6540 prot_ptr = txhdr->body.r410.rts_frame;
6543 prot_ptr = txhdr->body.r598.rts_frame;
6562 &txhdr->body.r351.rts_plcp, len, rts_rate);
6566 &txhdr->body.r410.rts_plcp, len, rts_rate);
6570 &txhdr->body.r598.rts_plcp, len, rts_rate);
6574 bwn_plcp_genhdr((struct bwn_plcp4 *)&txhdr->rts_plcp_fb, len,
6580 &txhdr->body.r351.rts_frame;
6584 &txhdr->body.r410.rts_frame;
6588 &txhdr->body.r598.rts_frame;
6592 txhdr->rts_dur_fb = *(u_int16_t *)protwh->i_dur;
6595 txhdr->eftypes |= BWN_TX_EFT_RTS_OFDM;
6596 txhdr->phyrate_rts = bwn_plcp_getofdm(rts_rate);
6598 txhdr->eftypes |= BWN_TX_EFT_RTS_CCK;
6599 txhdr->phyrate_rts = bwn_plcp_getcck(rts_rate);
6601 txhdr->eftypes |= (BWN_ISOFDMRATE(rts_rate_fb)) ?
6605 txhdr->phyctl_1rts = htole16(bwn_set_txhdr_phyctl1(mac, rts_rate));
6606 txhdr->phyctl_1rtsfb = htole16(bwn_set_txhdr_phyctl1(mac, rts_rate_fb));
6611 txhdr->phyctl_1 = htole16(bwn_set_txhdr_phyctl1(mac, rate));
6612 txhdr->phyctl_1fb = htole16(bwn_set_txhdr_phyctl1(mac, rate_fb));
6617 txhdr->body.r351.cookie = htole16(cookie);
6620 txhdr->body.r410.cookie = htole16(cookie);
6623 txhdr->body.r598.cookie = htole16(cookie);
6627 txhdr->macctl = htole32(macctl);
6628 txhdr->phyctl = htole16(phyctl);