Home
last modified time | relevance | path

Searched refs:wlhdr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/
Dxmit.c181 const struct ieee80211_hdr *wlhdr; in generate_txhdr_fw3() local
193 wlhdr = (const struct ieee80211_hdr *)fragment_data; 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()
209 (wlhdr->duration_id & cpu_to_le16(0x8000)) || in generate_txhdr_fw3()
210 (wlhdr->duration_id == cpu_to_le16(0))) { in generate_txhdr_fw3()
214 txhdr->dur_fb = wlhdr->duration_id; in generate_txhdr_fw3()
243 wlhdr_len = ieee80211_hdrlen(wlhdr->frame_control); in generate_txhdr_fw3()
246 memcpy(txhdr->iv, ((u8 *)wlhdr) + wlhdr_len, iv_len); in generate_txhdr_fw3()
424 struct ieee80211_hdr *wlhdr; in b43legacy_rx() local
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dxmit.c245 const struct ieee80211_hdr *wlhdr = in b43_generate_txhdr() local
248 __le16 fctl = wlhdr->frame_control; 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()
280 (wlhdr->duration_id & cpu_to_le16(0x8000)) || in b43_generate_txhdr()
281 (wlhdr->duration_id == cpu_to_le16(0))) { in b43_generate_txhdr()
285 txhdr->dur_fb = wlhdr->duration_id; in b43_generate_txhdr()
333 memcpy(txhdr->iv + 10, ((u8 *) wlhdr) + wlhdr_len, 3); in b43_generate_txhdr()
337 memcpy(txhdr->iv, ((u8 *) wlhdr) + wlhdr_len, iv_len); in b43_generate_txhdr()
636 struct ieee80211_hdr *wlhdr; in b43_rx() local
[all …]