Home
last modified time | relevance | path

Searched refs:prot_ofs (Results 1 – 1 of 1) sorted by relevance

/drivers/net/wireless/ath/ath12k/
A Dwow.c168 size_t prot_ofs = offsetof(struct ethhdr, h_proto); in ath12k_wow_convert_8023_to_80211() local
218 delta = eth_pkt_ofs + eth_pat_len - prot_ofs; in ath12k_wow_convert_8023_to_80211()
220 eth_pat + prot_ofs - eth_pkt_ofs, in ath12k_wow_convert_8023_to_80211()
223 eth_bytemask + prot_ofs - eth_pkt_ofs, in ath12k_wow_convert_8023_to_80211()
228 } else if (eth_pkt_ofs < prot_ofs) { in ath12k_wow_convert_8023_to_80211()
231 if (size_add(eth_pkt_ofs, eth_pat_len) < prot_ofs) { in ath12k_wow_convert_8023_to_80211()
237 memcpy(pat, eth_pat, prot_ofs - eth_pkt_ofs); in ath12k_wow_convert_8023_to_80211()
238 memcpy(bytemask, eth_bytemask, prot_ofs - eth_pkt_ofs); in ath12k_wow_convert_8023_to_80211()
240 delta = eth_pkt_ofs + eth_pat_len - prot_ofs; in ath12k_wow_convert_8023_to_80211()
242 eth_pat + prot_ofs - eth_pkt_ofs, in ath12k_wow_convert_8023_to_80211()
[all …]

Completed in 4 milliseconds