Lines Matching defs:txhdr
208 struct bcm43xx_txhdr *txhdr,
226 bcm43xx_generate_plcp_hdr((struct bcm43xx_plcp_hdr4 *)(&txhdr->rts_cts_plcp),
229 bcm43xx_generate_plcp_hdr((struct bcm43xx_plcp_hdr4 *)(&txhdr->rts_cts_fallback_plcp),
256 txhdr->rts_cts_frame_control = cpu_to_le16(fctl);
257 txhdr->rts_cts_dur = cpu_to_le16(dur);
260 memcpy(txhdr->rts_cts_mac1, wlhdr->addr1, ETH_ALEN);
261 // memcpy(txhdr->rts_cts_mac2, sa, ETH_ALEN);
272 struct bcm43xx_txhdr *txhdr,
294 memset(txhdr, 0, sizeof(*txhdr));
303 txhdr->frame_control = wireless_header->frame_ctl;
305 memcpy(txhdr->mac1, wireless_header->addr1, 6);
307 txhdr->fallback_dur_id = bcm43xx_calc_duration_id((const struct ieee80211_hdr *)wireless_header,
310 txhdr->cookie = cpu_to_le16(cookie);
319 memcpy(txhdr->wep_iv, hdr->payload, 4);
330 bcm43xx_generate_plcp_hdr((struct bcm43xx_plcp_hdr4 *)(&txhdr->plcp),
333 bcm43xx_generate_plcp_hdr(&txhdr->fallback_plcp, plcp_fragment_len,
356 wsec_rate |= (txhdr->plcp.raw[0] << BCM43xx_TXHDR_RATE_SHIFT)
361 bcm43xx_generate_rts(phy, txhdr, &flags,
366 txhdr->flags = cpu_to_le16(flags);
367 txhdr->control = cpu_to_le16(control);
368 txhdr->wsec_rate = cpu_to_le16(wsec_rate);