Lines Matching defs:hdr
358 struct ieee80211_hdr *hdr;
370 hdr = rtl_get_hdr(skb);
371 fc = hdr->frame_control;
375 if (is_broadcast_ether_addr(hdr->addr1)) {
377 } else if (is_multicast_ether_addr(hdr->addr1)) {
400 struct ieee80211_hdr *hdr;
412 hdr = rtl_get_hdr(skb);
413 fc = hdr->frame_control;
417 if (is_broadcast_ether_addr(hdr->addr1)) {
419 } else if (is_multicast_ether_addr(hdr->addr1)) {
486 static unsigned int _rtl_rx_get_padding(struct ieee80211_hdr *hdr,
494 if (NET_IP_ALIGN == 0 || len < sizeof(*hdr))
501 if (ieee80211_is_data_qos(hdr->frame_control)) {
502 u8 *qc = ieee80211_get_qos_ctl(hdr);
509 if ((unsigned long)qc - (unsigned long)hdr < len &&
514 if (ieee80211_has_a4(hdr->frame_control))
536 struct ieee80211_hdr *hdr;
551 hdr = (void *)(_urb->transfer_buffer + RTL_RX_DESC_SIZE);
552 padding = _rtl_rx_get_padding(hdr, size - RTL_RX_DESC_SIZE);
863 struct ieee80211_hdr *hdr = rtl_get_hdr(skb);
864 __le16 fc = hdr->frame_control;
865 u8 *pda_addr = hdr->addr1;
875 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM);
885 rtlpriv->cfg->ops->fill_tx_desc(hw, hdr, (u8 *)pdesc, NULL, info, sta, skb,
898 struct ieee80211_hdr *hdr = rtl_get_hdr(skb);
899 __le16 fc = hdr->frame_control;