Lines Matching refs:txhdr
175 struct b43legacy_txhdr_fw3 *txhdr, in generate_txhdr_fw3() argument
195 memset(txhdr, 0, sizeof(*txhdr)); in generate_txhdr_fw3()
204 txhdr->mac_frame_ctl = wlhdr->frame_control; in generate_txhdr_fw3()
205 memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN); in generate_txhdr_fw3()
214 txhdr->dur_fb = wlhdr->duration_id; in generate_txhdr_fw3()
216 txhdr->dur_fb = ieee80211_generic_frame_duration(dev->wl->hw, in generate_txhdr_fw3()
245 ARRAY_SIZE(txhdr->iv)); in generate_txhdr_fw3()
246 memcpy(txhdr->iv, ((u8 *)wlhdr) + wlhdr_len, iv_len); in generate_txhdr_fw3()
257 (&txhdr->plcp), plcp_fragment_len, in generate_txhdr_fw3()
259 b43legacy_generate_plcp_hdr(&txhdr->plcp_fb, plcp_fragment_len, in generate_txhdr_fw3()
313 (txhdr->rts_frame)); in generate_txhdr_fw3()
321 (txhdr->rts_frame)); in generate_txhdr_fw3()
327 (&txhdr->rts_plcp), in generate_txhdr_fw3()
329 b43legacy_generate_plcp_hdr(&txhdr->rts_plcp_fb, in generate_txhdr_fw3()
331 hdr = (struct ieee80211_hdr *)(&txhdr->rts_frame); in generate_txhdr_fw3()
332 txhdr->rts_dur_fb = hdr->duration_id; in generate_txhdr_fw3()
336 txhdr->cookie = cpu_to_le16(cookie); in generate_txhdr_fw3()
339 txhdr->mac_ctl = cpu_to_le32(mac_ctl); in generate_txhdr_fw3()
340 txhdr->phy_ctl = cpu_to_le16(phy_ctl); in generate_txhdr_fw3()
346 u8 *txhdr, in b43legacy_generate_txhdr() argument
352 return generate_txhdr_fw3(dev, (struct b43legacy_txhdr_fw3 *)txhdr, in b43legacy_generate_txhdr()