/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | xmit.c | 256 struct b43_txhdr *txhdr = (struct b43_txhdr *)_txhdr; in b43_generate_txhdr() local 275 memset(txhdr, 0, sizeof(*txhdr)); in b43_generate_txhdr() 285 txhdr->phy_rate = b43_plcp_get_ratecode_ofdm(rate); in b43_generate_txhdr() 287 txhdr->phy_rate = b43_plcp_get_ratecode_cck(rate); in b43_generate_txhdr() 288 txhdr->mac_frame_ctl = wlhdr->frame_control; in b43_generate_txhdr() 289 memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN); in b43_generate_txhdr() 298 txhdr->dur_fb = wlhdr->duration_id; in b43_generate_txhdr() 300 txhdr->dur_fb = ieee80211_generic_frame_duration( in b43_generate_txhdr() 342 txhdr->iv[i * 2 + 0] = phase1key[i]; in b43_generate_txhdr() 343 txhdr->iv[i * 2 + 1] = phase1key[i] >> 8; in b43_generate_txhdr() [all …]
|
D | pio.c | 463 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()
|
D | xmit.h | 207 u8 * txhdr,
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/ |
D | xmit.c | 188 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, ETH_ALEN); 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 …]
|
D | pio.c | 55 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()
|
D | xmit.h | 83 u8 *txhdr,
|
/Linux-v4.19/drivers/net/wireless/intersil/p54/ |
D | txrx.c | 782 struct p54_tx_data *txhdr; in p54_tx_80211() local 801 padding = (unsigned long)(skb->data - (sizeof(*hdr) + sizeof(*txhdr))) & 3; in p54_tx_80211() 818 txhdr = skb_push(skb, sizeof(*txhdr) + padding); in p54_tx_80211() 832 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211() 889 txhdr->rateset[ridx] = rate; in p54_tx_80211() 900 txhdr->rts_rate_idx = 0; in p54_tx_80211() 902 txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); in p54_tx_80211() 903 txhdr->key_len = min((u8)16, info->control.hw_key->keylen); in p54_tx_80211() 904 memcpy(txhdr->key, info->control.hw_key->key, txhdr->key_len); in p54_tx_80211() 916 txhdr->key_type = 0; in p54_tx_80211() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchib.c | 92 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sib_tx_v1_hdr_construct() local 94 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sib_tx_v1_hdr_construct() 96 mlxsw_tx_v1_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); in mlxsw_sib_tx_v1_hdr_construct() 97 mlxsw_tx_v1_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sib_tx_v1_hdr_construct() 98 mlxsw_tx_v1_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sib_tx_v1_hdr_construct() 99 mlxsw_tx_v1_hdr_swid_set(txhdr, 0); in mlxsw_sib_tx_v1_hdr_construct() 100 mlxsw_tx_v1_hdr_control_tclass_set(txhdr, 1); in mlxsw_sib_tx_v1_hdr_construct() 101 mlxsw_tx_v1_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sib_tx_v1_hdr_construct() 102 mlxsw_tx_v1_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); in mlxsw_sib_tx_v1_hdr_construct()
|
D | switchx2.c | 135 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sx_txhdr_construct() local 138 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sx_txhdr_construct() 141 mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_0); in mlxsw_sx_txhdr_construct() 142 mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sx_txhdr_construct() 143 mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sx_txhdr_construct() 144 mlxsw_tx_hdr_etclass_set(txhdr, is_emad ? MLXSW_TXHDR_ETCLASS_6 : in mlxsw_sx_txhdr_construct() 146 mlxsw_tx_hdr_swid_set(txhdr, 0); in mlxsw_sx_txhdr_construct() 147 mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sx_txhdr_construct() 148 mlxsw_tx_hdr_ctclass3_set(txhdr, MLXSW_TXHDR_CTCLASS3); in mlxsw_sx_txhdr_construct() 149 mlxsw_tx_hdr_rdq_set(txhdr, is_emad ? MLXSW_TXHDR_RDQ_EMAD : in mlxsw_sx_txhdr_construct() [all …]
|
D | spectrum.c | 423 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct() local 425 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct() 427 mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); in mlxsw_sp_txhdr_construct() 428 mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sp_txhdr_construct() 429 mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sp_txhdr_construct() 430 mlxsw_tx_hdr_swid_set(txhdr, 0); in mlxsw_sp_txhdr_construct() 431 mlxsw_tx_hdr_control_tclass_set(txhdr, 1); in mlxsw_sp_txhdr_construct() 432 mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sp_txhdr_construct() 433 mlxsw_tx_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); in mlxsw_sp_txhdr_construct()
|
/Linux-v4.19/drivers/net/wireless/admtek/ |
D | adm8211.c | 1684 struct adm8211_tx_hdr *txhdr; in adm8211_tx() local 1703 txhdr = skb_push(skb, sizeof(*txhdr)); in adm8211_tx() 1704 memset(txhdr, 0, sizeof(*txhdr)); in adm8211_tx() 1705 memcpy(txhdr->da, ieee80211_get_DA(hdr), ETH_ALEN); in adm8211_tx() 1706 txhdr->signal = plcp_signal; in adm8211_tx() 1707 txhdr->frame_body_size = cpu_to_le16(payload_len); in adm8211_tx() 1708 txhdr->frame_control = hdr->frame_control; in adm8211_tx() 1712 txhdr->frag = cpu_to_le16(0x0FFF); in adm8211_tx() 1715 txhdr->plcp_frag_head_len = cpu_to_le16(plcp); in adm8211_tx() 1716 txhdr->plcp_frag_tail_len = cpu_to_le16(plcp); in adm8211_tx() [all …]
|
/Linux-v4.19/drivers/net/ethernet/amd/ |
D | am79c961a.c | 284 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()
|
D | am79c961a.h | 140 unsigned long txhdr; member
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | msgbuf.c | 105 u8 txhdr[ETH_HLEN]; member 738 memcpy(tx_msghdr->txhdr, skb->data, ETH_HLEN); in brcmf_msgbuf_txflow()
|