Home
last modified time | relevance | path

Searched refs:txhdr (Results 1 – 10 of 10) sorted by relevance

/drivers/net/wireless/b43/
Dxmit.c248 struct b43_txhdr *txhdr = (struct b43_txhdr *)_txhdr; in b43_generate_txhdr() local
267 memset(txhdr, 0, sizeof(*txhdr)); in b43_generate_txhdr()
277 txhdr->phy_rate = b43_plcp_get_ratecode_ofdm(rate); in b43_generate_txhdr()
279 txhdr->phy_rate = b43_plcp_get_ratecode_cck(rate); in b43_generate_txhdr()
280 txhdr->mac_frame_ctl = wlhdr->frame_control; in b43_generate_txhdr()
281 memcpy(txhdr->tx_receiver, wlhdr->addr1, 6); in b43_generate_txhdr()
290 txhdr->dur_fb = wlhdr->duration_id; in b43_generate_txhdr()
292 txhdr->dur_fb = ieee80211_generic_frame_duration( in b43_generate_txhdr()
334 txhdr->iv[i * 2 + 0] = phase1key[i]; in b43_generate_txhdr()
335 txhdr->iv[i * 2 + 1] = phase1key[i] >> 8; in b43_generate_txhdr()
[all …]
Dpio.c463 struct b43_txhdr *txhdr = (struct b43_txhdr *)wl->pio_scratchspace; in pio_tx_frame() local
473 err = b43_generate_txhdr(dev, (u8 *)txhdr, skb, in pio_tx_frame()
487 pio_tx_frame_4byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame()
489 pio_tx_frame_2byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame()
Dxmit.h202 u8 * txhdr,
/drivers/net/wireless/b43legacy/
Dxmit.c188 struct b43legacy_txhdr_fw3 *txhdr, in generate_txhdr_fw3() argument
208 memset(txhdr, 0, sizeof(*txhdr)); in generate_txhdr_fw3()
217 txhdr->mac_frame_ctl = wlhdr->frame_control; in generate_txhdr_fw3()
218 memcpy(txhdr->tx_receiver, wlhdr->addr1, 6); in generate_txhdr_fw3()
227 txhdr->dur_fb = wlhdr->duration_id; in generate_txhdr_fw3()
229 txhdr->dur_fb = ieee80211_generic_frame_duration(dev->wl->hw, in generate_txhdr_fw3()
258 ARRAY_SIZE(txhdr->iv)); in generate_txhdr_fw3()
259 memcpy(txhdr->iv, ((u8 *)wlhdr) + wlhdr_len, iv_len); in generate_txhdr_fw3()
270 (&txhdr->plcp), plcp_fragment_len, in generate_txhdr_fw3()
272 b43legacy_generate_plcp_hdr(&txhdr->plcp_fb, plcp_fragment_len, in generate_txhdr_fw3()
[all …]
Dpio.c55 static u16 tx_get_next_word(const u8 *txhdr, in tx_get_next_word() argument
65 source = txhdr; in tx_get_next_word()
77 u8 *txhdr, in tx_data() argument
85 data = tx_get_next_word(txhdr, packet, in tx_data()
93 data = tx_get_next_word(txhdr, packet, in tx_data()
191 u8 *txhdr = NULL; in pio_tx_write_fragment() local
195 txhdr = (u8 *)(&txhdr_data.txhdr_fw3); in pio_tx_write_fragment()
199 txhdr, skb->data, skb->len, in pio_tx_write_fragment()
209 tx_data(queue, txhdr, (u8 *)skb->data, octets); in pio_tx_write_fragment()
Dxmit.h82 u8 *txhdr,
/drivers/net/wireless/p54/
Dtxrx.c783 struct p54_tx_data *txhdr; in p54_tx_80211() local
802 padding = (unsigned long)(skb->data - (sizeof(*hdr) + sizeof(*txhdr))) & 3; in p54_tx_80211()
819 txhdr = (struct p54_tx_data *) skb_push(skb, sizeof(*txhdr) + padding); in p54_tx_80211()
833 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211()
890 txhdr->rateset[ridx] = rate; in p54_tx_80211()
901 txhdr->rts_rate_idx = 0; in p54_tx_80211()
903 txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); in p54_tx_80211()
904 txhdr->key_len = min((u8)16, info->control.hw_key->keylen); in p54_tx_80211()
905 memcpy(txhdr->key, info->control.hw_key->key, txhdr->key_len); in p54_tx_80211()
917 txhdr->key_type = 0; in p54_tx_80211()
[all …]
/drivers/net/wireless/
Dadm8211.c1669 struct adm8211_tx_hdr *txhdr; in adm8211_tx() local
1688 txhdr = (struct adm8211_tx_hdr *) skb_push(skb, sizeof(*txhdr)); in adm8211_tx()
1689 memset(txhdr, 0, sizeof(*txhdr)); in adm8211_tx()
1690 memcpy(txhdr->da, ieee80211_get_DA(hdr), ETH_ALEN); in adm8211_tx()
1691 txhdr->signal = plcp_signal; in adm8211_tx()
1692 txhdr->frame_body_size = cpu_to_le16(payload_len); in adm8211_tx()
1693 txhdr->frame_control = hdr->frame_control; in adm8211_tx()
1697 txhdr->frag = cpu_to_le16(0x0FFF); in adm8211_tx()
1700 txhdr->plcp_frag_head_len = cpu_to_le16(plcp); in adm8211_tx()
1701 txhdr->plcp_frag_tail_len = cpu_to_le16(plcp); in adm8211_tx()
[all …]
/drivers/net/ethernet/amd/
Dam79c961a.c284 priv->txhdr = hdr_addr; in am79c961_init_for_open()
297 write_rreg (dev->base_addr, BASETXL, priv->txhdr); in am79c961_init_for_open()
452 hdraddr = priv->txhdr + (head << 3); in am79c961_sendpacket()
472 if (am_readword(dev, priv->txhdr + (priv->txhead << 3) + 2) & TMD_OWN) in am79c961_sendpacket()
548 hdraddr = priv->txhdr + (priv->txtail << 3); in am79c961_tx()
Dam79c961a.h140 unsigned long txhdr; member