Lines Matching defs:txhdr

249 	struct b43_txhdr *txhdr = (struct b43_txhdr *)_txhdr;
268 memset(txhdr, 0, sizeof(*txhdr));
278 txhdr->phy_rate = b43_plcp_get_ratecode_ofdm(rate);
280 txhdr->phy_rate = b43_plcp_get_ratecode_cck(rate);
281 txhdr->mac_frame_ctl = wlhdr->frame_control;
282 memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN);
291 txhdr->dur_fb = wlhdr->duration_id;
293 txhdr->dur_fb = ieee80211_generic_frame_duration(
333 /* phase1key is in host endian. Copy to little-endian txhdr->iv. */
335 txhdr->iv[i * 2 + 0] = phase1key[i];
336 txhdr->iv[i * 2 + 1] = phase1key[i] >> 8;
339 memcpy(txhdr->iv + 10, ((u8 *) wlhdr) + wlhdr_len, 3);
342 ARRAY_SIZE(txhdr->iv));
343 memcpy(txhdr->iv, ((u8 *) wlhdr) + wlhdr_len, iv_len);
348 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_598.plcp),
352 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_351.plcp),
356 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_410.plcp),
360 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->plcp_fb),
373 txhdr->chan_radio_code = phy->channel;
450 (txhdr->format_598.rts_frame);
454 (txhdr->format_351.rts_frame);
458 (txhdr->format_410.rts_frame);
472 (txhdr->format_598.rts_frame);
476 (txhdr->format_351.rts_frame);
480 (txhdr->format_410.rts_frame);
494 plcp = &txhdr->format_598.rts_plcp;
497 plcp = &txhdr->format_351.rts_plcp;
500 plcp = &txhdr->format_410.rts_plcp;
505 plcp = &txhdr->rts_plcp_fb;
512 (&txhdr->format_598.rts_frame);
516 (&txhdr->format_351.rts_frame);
520 (&txhdr->format_410.rts_frame);
523 txhdr->rts_dur_fb = hdr->duration_id;
527 txhdr->phy_rate_rts =
531 txhdr->phy_rate_rts =
541 txhdr->phy_ctl1_rts = cpu_to_le16(
543 txhdr->phy_ctl1_rts_fb = cpu_to_le16(
551 txhdr->format_598.cookie = cpu_to_le16(cookie);
554 txhdr->format_351.cookie = cpu_to_le16(cookie);
557 txhdr->format_410.cookie = cpu_to_le16(cookie);
562 txhdr->phy_ctl1 =
564 txhdr->phy_ctl1_fb =
569 txhdr->mac_ctl = cpu_to_le32(mac_ctl);
570 txhdr->phy_ctl = cpu_to_le16(phy_ctl);
571 txhdr->extra_ft = extra_ft;