Lines Matching refs:eth_pattern
161 const struct cfg80211_pkt_pattern *eth_pattern, in ath12k_wow_convert_8023_to_80211() argument
171 const u8 *eth_pat = eth_pattern->pattern; in ath12k_wow_convert_8023_to_80211()
172 size_t eth_pat_len = eth_pattern->pattern_len; in ath12k_wow_convert_8023_to_80211()
173 size_t eth_pkt_ofs = eth_pattern->pkt_offset; in ath12k_wow_convert_8023_to_80211()
183 if (eth_pattern->mask[i / 8] & BIT(i % 8)) in ath12k_wow_convert_8023_to_80211()
416 const struct cfg80211_pkt_pattern *eth_pattern = &patterns[i]; in ath12k_wow_vif_set_wakeups() local
419 if (WARN_ON(eth_pattern->pattern_len > WOW_MAX_PATTERN_SIZE)) in ath12k_wow_vif_set_wakeups()
424 ath12k_wow_convert_8023_to_80211(ar, eth_pattern, in ath12k_wow_vif_set_wakeups()
430 memcpy(new_pattern.pattern, eth_pattern->pattern, in ath12k_wow_vif_set_wakeups()
431 eth_pattern->pattern_len); in ath12k_wow_vif_set_wakeups()
434 for (j = 0; j < eth_pattern->pattern_len; j++) in ath12k_wow_vif_set_wakeups()
435 if (eth_pattern->mask[j / 8] & BIT(j % 8)) in ath12k_wow_vif_set_wakeups()
438 new_pattern.pattern_len = eth_pattern->pattern_len; in ath12k_wow_vif_set_wakeups()
439 new_pattern.pkt_offset = eth_pattern->pkt_offset; in ath12k_wow_vif_set_wakeups()