Home
last modified time | relevance | path

Searched refs:hdr11 (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/wireless/
Dlib80211_crypt_tkip.c508 struct ieee80211_hdr *hdr11; in michael_mic_hdr() local
510 hdr11 = (struct ieee80211_hdr *)skb->data; in michael_mic_hdr()
512 switch (le16_to_cpu(hdr11->frame_control) & in michael_mic_hdr()
515 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
516 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
519 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
520 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ in michael_mic_hdr()
523 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
524 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ in michael_mic_hdr()
527 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
[all …]
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c486 struct rtllib_hdr_4addr *hdr11; in michael_mic_hdr() local
488 hdr11 = (struct rtllib_hdr_4addr *)skb->data; in michael_mic_hdr()
489 switch (le16_to_cpu(hdr11->frame_ctl) & in michael_mic_hdr()
492 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
493 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
496 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
497 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr()
500 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
501 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
504 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
[all …]
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c475 struct rtl_80211_hdr_4addr *hdr11; in michael_mic_hdr() local
477 hdr11 = (struct rtl_80211_hdr_4addr *)skb->data; in michael_mic_hdr()
478 switch (le16_to_cpu(hdr11->frame_ctl) & in michael_mic_hdr()
481 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
482 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
485 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
486 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ in michael_mic_hdr()
489 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
490 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ in michael_mic_hdr()
493 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
[all …]
/linux-6.1.9/drivers/net/wireless/
Dmac80211_hwsim.c1163 struct ieee80211_hdr *hdr11; in mac80211_hwsim_monitor_ack() local
1184 hdr11 = skb_put(skb, 10); in mac80211_hwsim_monitor_ack()
1185 hdr11->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in mac80211_hwsim_monitor_ack()
1187 hdr11->duration_id = cpu_to_le16(0); in mac80211_hwsim_monitor_ack()
1188 memcpy(hdr11->addr1, addr, ETH_ALEN); in mac80211_hwsim_monitor_ack()