Lines Matching defs:txhdr
243 struct b43_txhdr *txhdr = (struct b43_txhdr *)_txhdr;
262 memset(txhdr, 0, sizeof(*txhdr));
272 txhdr->phy_rate = b43_plcp_get_ratecode_ofdm(rate);
274 txhdr->phy_rate = b43_plcp_get_ratecode_cck(rate);
275 txhdr->mac_frame_ctl = wlhdr->frame_control;
276 memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN);
285 txhdr->dur_fb = wlhdr->duration_id;
287 txhdr->dur_fb = ieee80211_generic_frame_duration(
327 /* phase1key is in host endian. Copy to little-endian txhdr->iv. */
329 txhdr->iv[i * 2 + 0] = phase1key[i];
330 txhdr->iv[i * 2 + 1] = phase1key[i] >> 8;
333 memcpy(txhdr->iv + 10, ((u8 *) wlhdr) + wlhdr_len, 3);
336 ARRAY_SIZE(txhdr->iv));
337 memcpy(txhdr->iv, ((u8 *) wlhdr) + wlhdr_len, iv_len);
342 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_598.plcp),
346 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_351.plcp),
350 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_410.plcp),
354 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->plcp_fb),
367 txhdr->chan_radio_code = phy->channel;
444 (txhdr->format_598.rts_frame);
448 (txhdr->format_351.rts_frame);
452 (txhdr->format_410.rts_frame);
466 (txhdr->format_598.rts_frame);
470 (txhdr->format_351.rts_frame);
474 (txhdr->format_410.rts_frame);
488 plcp = &txhdr->format_598.rts_plcp;
491 plcp = &txhdr->format_351.rts_plcp;
494 plcp = &txhdr->format_410.rts_plcp;
499 plcp = &txhdr->rts_plcp_fb;
506 (&txhdr->format_598.rts_frame);
510 (&txhdr->format_351.rts_frame);
514 (&txhdr->format_410.rts_frame);
517 txhdr->rts_dur_fb = hdr->duration_id;
521 txhdr->phy_rate_rts =
525 txhdr->phy_rate_rts =
535 txhdr->phy_ctl1_rts = cpu_to_le16(
537 txhdr->phy_ctl1_rts_fb = cpu_to_le16(
545 txhdr->format_598.cookie = cpu_to_le16(cookie);
548 txhdr->format_351.cookie = cpu_to_le16(cookie);
551 txhdr->format_410.cookie = cpu_to_le16(cookie);
556 txhdr->phy_ctl1 =
558 txhdr->phy_ctl1_fb =
563 txhdr->mac_ctl = cpu_to_le32(mac_ctl);
564 txhdr->phy_ctl = cpu_to_le16(phy_ctl);
565 txhdr->extra_ft = extra_ft;