Lines Matching refs:pkt_offset

159 	int total_len = old->pkt_offset + old->pattern_len;  in ath11k_wow_convert_8023_to_80211()
176 memcpy(hdr_8023_pattern + old->pkt_offset, in ath11k_wow_convert_8023_to_80211()
177 old->pattern, ETH_HLEN - old->pkt_offset); in ath11k_wow_convert_8023_to_80211()
178 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath11k_wow_convert_8023_to_80211()
179 old->mask, ETH_HLEN - old->pkt_offset); in ath11k_wow_convert_8023_to_80211()
198 if (old->pkt_offset < ETH_ALEN) in ath11k_wow_convert_8023_to_80211()
199 new->pkt_offset = old->pkt_offset + in ath11k_wow_convert_8023_to_80211()
201 else if (old->pkt_offset < offsetof(struct ethhdr, h_proto)) in ath11k_wow_convert_8023_to_80211()
202 new->pkt_offset = old->pkt_offset + in ath11k_wow_convert_8023_to_80211()
206 new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; in ath11k_wow_convert_8023_to_80211()
220 new->pattern_len = hdr_80211_end_offset - new->pkt_offset; in ath11k_wow_convert_8023_to_80211()
223 hdr_80211_pattern + new->pkt_offset, in ath11k_wow_convert_8023_to_80211()
226 hdr_80211_bit_mask + new->pkt_offset, in ath11k_wow_convert_8023_to_80211()
232 (void *)old->pattern + ETH_HLEN - old->pkt_offset, in ath11k_wow_convert_8023_to_80211()
235 (void *)old->mask + ETH_HLEN - old->pkt_offset, in ath11k_wow_convert_8023_to_80211()
415 if (patterns[i].pkt_offset < ETH_HLEN) { in ath11k_vif_wow_set_wakeups()
425 new_pattern.pkt_offset += WOW_HDR_LEN - ETH_HLEN; in ath11k_vif_wow_set_wakeups()
437 new_pattern.pkt_offset); in ath11k_vif_wow_set_wakeups()