Home
last modified time | relevance | path

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

/openbmc/linux/net/wireless/
H A 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 …]
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A 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 …]
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c468 struct rtllib_hdr_4addr *hdr11; in michael_mic_hdr() local
470 hdr11 = (struct rtllib_hdr_4addr *)skb->data; in michael_mic_hdr()
471 switch (le16_to_cpu(hdr11->frame_ctl) & in michael_mic_hdr()
474 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
475 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
478 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
479 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr()
482 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
483 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
486 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
[all …]
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1273 struct ieee80211_hdr *hdr11; in mac80211_hwsim_monitor_ack() local
1294 hdr11 = skb_put(skb, 10); in mac80211_hwsim_monitor_ack()
1295 hdr11->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in mac80211_hwsim_monitor_ack()
1297 hdr11->duration_id = cpu_to_le16(0); in mac80211_hwsim_monitor_ack()
1298 memcpy(hdr11->addr1, addr, ETH_ALEN); in mac80211_hwsim_monitor_ack()