Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dxmit.c243 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 …]
Dpio.c450 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()
Dxmit.h207 u8 * txhdr,
/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/
Dxmit.c175 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 …]
Dpio.c42 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()
Dxmit.h83 u8 *txhdr,
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dtxrx.c784 struct p54_tx_data *txhdr; in p54_tx_80211() local
803 padding = (unsigned long)(skb->data - (sizeof(*hdr) + sizeof(*txhdr))) & 3; in p54_tx_80211()
820 txhdr = skb_push(skb, sizeof(*txhdr) + padding); in p54_tx_80211()
834 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211()
891 txhdr->rateset[ridx] = rate; in p54_tx_80211()
902 txhdr->rts_rate_idx = 0; in p54_tx_80211()
904 txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); in p54_tx_80211()
905 txhdr->key_len = min((u8)16, info->control.hw_key->keylen); in p54_tx_80211()
906 memcpy(txhdr->key, info->control.hw_key->key, txhdr->key_len); in p54_tx_80211()
918 txhdr->key_type = 0; in p54_tx_80211()
[all …]
/linux-6.1.9/drivers/net/wireless/admtek/
Dadm8211.c1676 struct adm8211_tx_hdr *txhdr; in adm8211_tx() local
1695 txhdr = skb_push(skb, sizeof(*txhdr)); in adm8211_tx()
1696 memset(txhdr, 0, sizeof(*txhdr)); in adm8211_tx()
1697 memcpy(txhdr->da, ieee80211_get_DA(hdr), ETH_ALEN); in adm8211_tx()
1698 txhdr->signal = plcp_signal; in adm8211_tx()
1699 txhdr->frame_body_size = cpu_to_le16(payload_len); in adm8211_tx()
1700 txhdr->frame_control = hdr->frame_control; in adm8211_tx()
1704 txhdr->frag = cpu_to_le16(0x0FFF); in adm8211_tx()
1707 txhdr->plcp_frag_head_len = cpu_to_le16(plcp); in adm8211_tx()
1708 txhdr->plcp_frag_tail_len = cpu_to_le16(plcp); in adm8211_tx()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c237 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct() local
239 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct()
241 mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); in mlxsw_sp_txhdr_construct()
242 mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sp_txhdr_construct()
243 mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sp_txhdr_construct()
244 mlxsw_tx_hdr_swid_set(txhdr, 0); in mlxsw_sp_txhdr_construct()
245 mlxsw_tx_hdr_control_tclass_set(txhdr, 1); in mlxsw_sp_txhdr_construct()
246 mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sp_txhdr_construct()
247 mlxsw_tx_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); in mlxsw_sp_txhdr_construct()
256 char *txhdr; in mlxsw_sp_txhdr_ptp_data_construct() local
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c97 u8 txhdr[ETH_HLEN]; member
748 memcpy(tx_msghdr->txhdr, skb->data, ETH_HLEN); in brcmf_msgbuf_txflow()