Lines Matching refs:ETH_HLEN
83 u8 hdr_8023_pattern[ETH_HLEN] = {}; in ath10k_wow_convert_8023_to_80211()
84 u8 hdr_8023_bit_mask[ETH_HLEN] = {}; in ath10k_wow_convert_8023_to_80211()
106 old->pattern, ETH_HLEN - 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()
135 new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; in ath10k_wow_convert_8023_to_80211()
138 if (total_len > ETH_HLEN) in ath10k_wow_convert_8023_to_80211()
141 hdr_80211_end_offset = hdr_len + rfc_len + total_len - ETH_HLEN; in ath10k_wow_convert_8023_to_80211()
158 if (total_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()
162 total_len - ETH_HLEN); in ath10k_wow_convert_8023_to_80211()
164 (void *)old->mask + ETH_HLEN - old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
165 total_len - ETH_HLEN); in ath10k_wow_convert_8023_to_80211()
167 new->pattern_len += total_len - ETH_HLEN; in ath10k_wow_convert_8023_to_80211()
343 if (patterns[i].pkt_offset < ETH_HLEN) in ath10k_vif_wow_set_wakeups()
347 new_pattern.pkt_offset += WOW_HDR_LEN - ETH_HLEN; in ath10k_vif_wow_set_wakeups()