/Linux-v5.10/drivers/net/wireless/broadcom/b43/ |
D | xmit.c | 243 struct b43_txhdr *txhdr = (struct b43_txhdr *)_txhdr; in b43_generate_txhdr() local 262 memset(txhdr, 0, sizeof(*txhdr)); in b43_generate_txhdr() 272 txhdr->phy_rate = b43_plcp_get_ratecode_ofdm(rate); in b43_generate_txhdr() 274 txhdr->phy_rate = b43_plcp_get_ratecode_cck(rate); in b43_generate_txhdr() 275 txhdr->mac_frame_ctl = wlhdr->frame_control; in b43_generate_txhdr() 276 memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN); in b43_generate_txhdr() 285 txhdr->dur_fb = wlhdr->duration_id; in b43_generate_txhdr() 287 txhdr->dur_fb = ieee80211_generic_frame_duration( in b43_generate_txhdr() 329 txhdr->iv[i * 2 + 0] = phase1key[i]; in b43_generate_txhdr() 330 txhdr->iv[i * 2 + 1] = phase1key[i] >> 8; in b43_generate_txhdr() [all …]
|
D | pio.c | 450 struct b43_txhdr *txhdr = (struct b43_txhdr *)wl->pio_scratchspace; in pio_tx_frame() local 460 err = b43_generate_txhdr(dev, (u8 *)txhdr, skb, in pio_tx_frame() 474 pio_tx_frame_4byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame() 476 pio_tx_frame_2byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame()
|
D | xmit.h | 207 u8 * txhdr,
|
/Linux-v5.10/drivers/net/wireless/broadcom/b43legacy/ |
D | xmit.c | 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() [all …]
|
D | pio.c | 42 static u16 tx_get_next_word(const u8 *txhdr, in tx_get_next_word() argument 52 source = txhdr; in tx_get_next_word() 64 u8 *txhdr, in tx_data() argument 72 data = tx_get_next_word(txhdr, packet, in tx_data() 80 data = tx_get_next_word(txhdr, packet, in tx_data() 178 u8 *txhdr = NULL; in pio_tx_write_fragment() local 182 txhdr = (u8 *)(&txhdr_data.txhdr_fw3); in pio_tx_write_fragment() 186 txhdr, skb->data, skb->len, in pio_tx_write_fragment() 196 tx_data(queue, txhdr, (u8 *)skb->data, octets); in pio_tx_write_fragment()
|
D | xmit.h | 83 u8 *txhdr,
|
/Linux-v5.10/drivers/net/wireless/intersil/p54/ |
D | txrx.c | 788 struct p54_tx_data *txhdr; in p54_tx_80211() local 807 padding = (unsigned long)(skb->data - (sizeof(*hdr) + sizeof(*txhdr))) & 3; in p54_tx_80211() 824 txhdr = skb_push(skb, sizeof(*txhdr) + padding); in p54_tx_80211() 838 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211() 895 txhdr->rateset[ridx] = rate; in p54_tx_80211() 906 txhdr->rts_rate_idx = 0; in p54_tx_80211() 908 txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); in p54_tx_80211() 909 txhdr->key_len = min((u8)16, info->control.hw_key->keylen); in p54_tx_80211() 910 memcpy(txhdr->key, info->control.hw_key->key, txhdr->key_len); in p54_tx_80211() 922 txhdr->key_type = 0; in p54_tx_80211() [all …]
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchib.c | 93 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sib_tx_v1_hdr_construct() local 95 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sib_tx_v1_hdr_construct() 97 mlxsw_tx_v1_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); in mlxsw_sib_tx_v1_hdr_construct() 98 mlxsw_tx_v1_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sib_tx_v1_hdr_construct() 99 mlxsw_tx_v1_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sib_tx_v1_hdr_construct() 100 mlxsw_tx_v1_hdr_swid_set(txhdr, 0); in mlxsw_sib_tx_v1_hdr_construct() 101 mlxsw_tx_v1_hdr_control_tclass_set(txhdr, 1); in mlxsw_sib_tx_v1_hdr_construct() 102 mlxsw_tx_v1_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sib_tx_v1_hdr_construct() 103 mlxsw_tx_v1_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); in mlxsw_sib_tx_v1_hdr_construct()
|
D | switchx2.c | 134 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sx_txhdr_construct() local 137 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sx_txhdr_construct() 140 mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_0); in mlxsw_sx_txhdr_construct() 141 mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sx_txhdr_construct() 142 mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sx_txhdr_construct() 143 mlxsw_tx_hdr_etclass_set(txhdr, is_emad ? MLXSW_TXHDR_ETCLASS_6 : in mlxsw_sx_txhdr_construct() 145 mlxsw_tx_hdr_swid_set(txhdr, 0); in mlxsw_sx_txhdr_construct() 146 mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sx_txhdr_construct() 147 mlxsw_tx_hdr_ctclass3_set(txhdr, MLXSW_TXHDR_CTCLASS3); in mlxsw_sx_txhdr_construct() 148 mlxsw_tx_hdr_rdq_set(txhdr, is_emad ? MLXSW_TXHDR_RDQ_EMAD : in mlxsw_sx_txhdr_construct() [all …]
|
D | spectrum.c | 231 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct() local 233 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct() 235 mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); in mlxsw_sp_txhdr_construct() 236 mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sp_txhdr_construct() 237 mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sp_txhdr_construct() 238 mlxsw_tx_hdr_swid_set(txhdr, 0); in mlxsw_sp_txhdr_construct() 239 mlxsw_tx_hdr_control_tclass_set(txhdr, 1); in mlxsw_sp_txhdr_construct() 240 mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sp_txhdr_construct() 241 mlxsw_tx_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); in mlxsw_sp_txhdr_construct()
|
/Linux-v5.10/drivers/net/wireless/admtek/ |
D | adm8211.c | 1677 struct adm8211_tx_hdr *txhdr; in adm8211_tx() local 1696 txhdr = skb_push(skb, sizeof(*txhdr)); in adm8211_tx() 1697 memset(txhdr, 0, sizeof(*txhdr)); in adm8211_tx() 1698 memcpy(txhdr->da, ieee80211_get_DA(hdr), ETH_ALEN); in adm8211_tx() 1699 txhdr->signal = plcp_signal; in adm8211_tx() 1700 txhdr->frame_body_size = cpu_to_le16(payload_len); in adm8211_tx() 1701 txhdr->frame_control = hdr->frame_control; in adm8211_tx() 1705 txhdr->frag = cpu_to_le16(0x0FFF); in adm8211_tx() 1708 txhdr->plcp_frag_head_len = cpu_to_le16(plcp); in adm8211_tx() 1709 txhdr->plcp_frag_tail_len = cpu_to_le16(plcp); in adm8211_tx() [all …]
|
/Linux-v5.10/drivers/net/ethernet/amd/ |
D | am79c961a.c | 281 priv->txhdr = hdr_addr; in am79c961_init_for_open() 294 write_rreg (dev->base_addr, BASETXL, priv->txhdr); in am79c961_init_for_open() 449 hdraddr = priv->txhdr + (head << 3); in am79c961_sendpacket() 469 if (am_readword(dev, priv->txhdr + (priv->txhead << 3) + 2) & TMD_OWN) in am79c961_sendpacket() 545 hdraddr = priv->txhdr + (priv->txtail << 3); in am79c961_tx()
|
D | am79c961a.h | 137 unsigned long txhdr; member
|
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | msgbuf.c | 96 u8 txhdr[ETH_HLEN]; member 748 memcpy(tx_msghdr->txhdr, skb->data, ETH_HLEN); in brcmf_msgbuf_txflow()
|