Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c524 struct rtl_80211_hdr_4addr *hdr11; in michael_mic_hdr() local
526 hdr11 = (struct rtl_80211_hdr_4addr *)skb->data; in michael_mic_hdr()
527 switch (le16_to_cpu(hdr11->frame_ctl) & in michael_mic_hdr()
530 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
531 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
534 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
535 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ in michael_mic_hdr()
538 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
539 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ in michael_mic_hdr()
542 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
[all …]
/Linux-v5.4/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c528 struct rtllib_hdr_4addr *hdr11; in michael_mic_hdr() local
530 hdr11 = (struct rtllib_hdr_4addr *) skb->data; in michael_mic_hdr()
531 switch (le16_to_cpu(hdr11->frame_ctl) & in michael_mic_hdr()
534 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
535 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
538 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
539 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr()
542 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
543 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
546 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
[all …]
/Linux-v5.4/drivers/net/wireless/
Dmac80211_hwsim.c885 struct ieee80211_hdr *hdr11; in mac80211_hwsim_monitor_ack() local
906 hdr11 = skb_put(skb, 10); in mac80211_hwsim_monitor_ack()
907 hdr11->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in mac80211_hwsim_monitor_ack()
909 hdr11->duration_id = cpu_to_le16(0); in mac80211_hwsim_monitor_ack()
910 memcpy(hdr11->addr1, addr, ETH_ALEN); in mac80211_hwsim_monitor_ack()