Lines Matching refs:total_len
88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211() local
138 if (total_len > ETH_HLEN) in ath10k_wow_convert_8023_to_80211()
140 else if (total_len > offsetof(struct ethhdr, h_proto)) 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()
142 else if (total_len > ETH_ALEN) in ath10k_wow_convert_8023_to_80211()
143 hdr_80211_end_offset = total_len - ETH_ALEN + in ath10k_wow_convert_8023_to_80211()
146 hdr_80211_end_offset = total_len + in ath10k_wow_convert_8023_to_80211()
158 if (total_len > ETH_HLEN) { in ath10k_wow_convert_8023_to_80211()
162 total_len - ETH_HLEN); 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()