Lines Matching refs:old
81 const struct cfg80211_pkt_pattern *old) in ath10k_wow_convert_8023_to_80211() argument
88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211()
105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
106 old->pattern, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
107 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
108 old->mask, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
127 if (old->pkt_offset < ETH_ALEN) in ath10k_wow_convert_8023_to_80211()
128 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211()
130 else if (old->pkt_offset < offsetof(struct ethhdr, h_proto)) in ath10k_wow_convert_8023_to_80211()
131 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211()
135 new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; in ath10k_wow_convert_8023_to_80211()
161 (void *)old->pattern + ETH_HLEN - old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
164 (void *)old->mask + ETH_HLEN - old->pkt_offset, in ath10k_wow_convert_8023_to_80211()