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

/linux-4.1.27/net/wireless/
H A Dlib80211_crypt_tkip.c532 struct ieee80211_hdr *hdr11; michael_mic_hdr() local
534 hdr11 = (struct ieee80211_hdr *)skb->data; michael_mic_hdr()
536 switch (le16_to_cpu(hdr11->frame_control) & michael_mic_hdr()
539 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ michael_mic_hdr()
540 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ michael_mic_hdr()
543 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ michael_mic_hdr()
544 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ michael_mic_hdr()
547 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ michael_mic_hdr()
548 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ michael_mic_hdr()
551 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ michael_mic_hdr()
552 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ michael_mic_hdr()
556 if (ieee80211_is_data_qos(hdr11->frame_control)) { michael_mic_hdr()
557 hdr[12] = le16_to_cpu(*((__le16 *)ieee80211_get_qos_ctl(hdr11))) michael_mic_hdr()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c529 struct rtllib_hdr_4addr *hdr11; michael_mic_hdr() local
531 hdr11 = (struct rtllib_hdr_4addr *) skb->data; michael_mic_hdr()
532 switch (le16_to_cpu(hdr11->frame_ctl) & michael_mic_hdr()
535 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ michael_mic_hdr()
536 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ michael_mic_hdr()
539 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ michael_mic_hdr()
540 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ michael_mic_hdr()
543 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ michael_mic_hdr()
544 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ michael_mic_hdr()
547 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ michael_mic_hdr()
548 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ michael_mic_hdr()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c526 struct ieee80211_hdr_4addr *hdr11; michael_mic_hdr() local
528 hdr11 = (struct ieee80211_hdr_4addr *) skb->data; michael_mic_hdr()
529 switch (le16_to_cpu(hdr11->frame_ctl) & michael_mic_hdr()
532 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ michael_mic_hdr()
533 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ michael_mic_hdr()
536 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ michael_mic_hdr()
537 memcpy(hdr + ETH_ALEN, hdr11->addr3, ETH_ALEN); /* SA */ michael_mic_hdr()
540 memcpy(hdr, hdr11->addr3, ETH_ALEN); /* DA */ michael_mic_hdr()
541 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ michael_mic_hdr()
544 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ michael_mic_hdr()
545 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ michael_mic_hdr()
/linux-4.1.27/drivers/net/wireless/
H A Dmac80211_hwsim.c855 struct ieee80211_hdr *hdr11; mac80211_hwsim_monitor_ack() local
876 hdr11 = (struct ieee80211_hdr *) skb_put(skb, 10); mac80211_hwsim_monitor_ack()
877 hdr11->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | mac80211_hwsim_monitor_ack()
879 hdr11->duration_id = cpu_to_le16(0); mac80211_hwsim_monitor_ack()
880 memcpy(hdr11->addr1, addr, ETH_ALEN); mac80211_hwsim_monitor_ack()

Completed in 218 milliseconds