Home
last modified time | relevance | path

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

/linux-4.4.14/net/wireless/
Dlib80211_crypt_tkip.c532 struct ieee80211_hdr *hdr11; in michael_mic_hdr() local
534 hdr11 = (struct ieee80211_hdr *)skb->data; in michael_mic_hdr()
536 switch (le16_to_cpu(hdr11->frame_control) & in michael_mic_hdr()
539 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
540 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
543 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
544 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ in michael_mic_hdr()
547 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
548 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ in michael_mic_hdr()
551 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
[all …]
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c529 struct rtl_80211_hdr_4addr *hdr11; in michael_mic_hdr() local
531 hdr11 = (struct rtl_80211_hdr_4addr *) skb->data; in michael_mic_hdr()
532 switch (le16_to_cpu(hdr11->frame_ctl) & in michael_mic_hdr()
535 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
536 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
539 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
540 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ in michael_mic_hdr()
543 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ in michael_mic_hdr()
544 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ in michael_mic_hdr()
547 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr()
[all …]
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c527 struct rtllib_hdr_4addr *hdr11; in michael_mic_hdr() local
529 hdr11 = (struct rtllib_hdr_4addr *) skb->data; in michael_mic_hdr()
530 switch (le16_to_cpu(hdr11->frame_ctl) & in michael_mic_hdr()
533 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
534 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
537 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
538 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr()
541 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
542 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
545 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
[all …]
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c855 struct ieee80211_hdr *hdr11; in mac80211_hwsim_monitor_ack() local
876 hdr11 = (struct ieee80211_hdr *) skb_put(skb, 10); in mac80211_hwsim_monitor_ack()
877 hdr11->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in mac80211_hwsim_monitor_ack()
879 hdr11->duration_id = cpu_to_le16(0); in mac80211_hwsim_monitor_ack()
880 memcpy(hdr11->addr1, addr, ETH_ALEN); in mac80211_hwsim_monitor_ack()