Lines Matching refs:hdr
18 struct ieee80211_hdr_4addr *hdr; in hostap_dump_tx_80211() local
21 hdr = (struct ieee80211_hdr_4addr *) skb->data; in hostap_dump_tx_80211()
29 fc = le16_to_cpu(hdr->frame_ctl); in hostap_dump_tx_80211()
40 printk(" dur=0x%04x seq=0x%04x\n", le16_to_cpu(hdr->duration_id), in hostap_dump_tx_80211()
41 le16_to_cpu(hdr->seq_ctl)); in hostap_dump_tx_80211()
43 printk(KERN_DEBUG " A1=%pM", hdr->addr1); in hostap_dump_tx_80211()
44 printk(" A2=%pM", hdr->addr2); in hostap_dump_tx_80211()
45 printk(" A3=%pM", hdr->addr3); in hostap_dump_tx_80211()
47 printk(" A4=%pM", hdr->addr4); in hostap_dump_tx_80211()
60 struct ieee80211_hdr_4addr hdr; in hostap_data_start_xmit() local
118 memset(&hdr, 0, sizeof(hdr)); in hostap_data_start_xmit()
151 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
165 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
173 memset(&hdr.addr1, 0xff, ETH_ALEN); in hostap_data_start_xmit()
175 memcpy(&hdr.addr1, iface->u.wds.remote_addr, in hostap_data_start_xmit()
178 memcpy(&hdr.addr1, local->bssid, ETH_ALEN); in hostap_data_start_xmit()
179 memcpy(&hdr.addr2, dev->dev_addr, ETH_ALEN); in hostap_data_start_xmit()
180 skb_copy_from_linear_data(skb, &hdr.addr3, ETH_ALEN); in hostap_data_start_xmit()
184 skb_copy_from_linear_data(skb, &hdr.addr1, ETH_ALEN); in hostap_data_start_xmit()
185 memcpy(&hdr.addr2, dev->dev_addr, ETH_ALEN); in hostap_data_start_xmit()
186 skb_copy_from_linear_data_offset(skb, ETH_ALEN, &hdr.addr3, in hostap_data_start_xmit()
191 memcpy(&hdr.addr1, to_assoc_ap ? in hostap_data_start_xmit()
193 skb_copy_from_linear_data_offset(skb, ETH_ALEN, &hdr.addr2, in hostap_data_start_xmit()
195 skb_copy_from_linear_data(skb, &hdr.addr3, ETH_ALEN); in hostap_data_start_xmit()
198 skb_copy_from_linear_data(skb, &hdr.addr1, ETH_ALEN); in hostap_data_start_xmit()
199 skb_copy_from_linear_data_offset(skb, ETH_ALEN, &hdr.addr2, in hostap_data_start_xmit()
201 memcpy(&hdr.addr3, local->bssid, ETH_ALEN); in hostap_data_start_xmit()
204 hdr.frame_ctl = cpu_to_le16(fc); in hostap_data_start_xmit()
238 memcpy(skb_push(skb, hdr_len), &hdr, hdr_len); in hostap_data_start_xmit()
240 memcpy(skb_put(skb, ETH_ALEN), &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
268 struct ieee80211_hdr_4addr *hdr; in hostap_mgmt_start_xmit() local
290 hdr = (struct ieee80211_hdr_4addr *) skb->data; in hostap_mgmt_start_xmit()
291 fc = le16_to_cpu(hdr->frame_ctl); in hostap_mgmt_start_xmit()
313 struct ieee80211_hdr_4addr *hdr; in hostap_tx_encrypt() local
327 hdr = (struct ieee80211_hdr_4addr *) skb->data; in hostap_tx_encrypt()
331 local->dev->name, hdr->addr1); in hostap_tx_encrypt()
352 hdr = (struct ieee80211_hdr_4addr *) skb->data; in hostap_tx_encrypt()
353 fc = le16_to_cpu(hdr->frame_ctl); in hostap_tx_encrypt()
387 struct ieee80211_hdr_4addr *hdr; in hostap_master_start_xmit() local
430 hdr = (struct ieee80211_hdr_4addr *) skb->data; in hostap_master_start_xmit()
431 fc = le16_to_cpu(hdr->frame_ctl); in hostap_master_start_xmit()
472 hdr->frame_ctl = cpu_to_le16(fc); in hostap_master_start_xmit()
496 hdr->frame_ctl = cpu_to_le16(fc); in hostap_master_start_xmit()