Searched refs:new_pattern (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | wow.c | 328 struct cfg80211_pkt_pattern new_pattern = {}; in ath10k_vif_wow_set_wakeups() local 332 new_pattern.pattern = ath_pattern; in ath10k_vif_wow_set_wakeups() 333 new_pattern.mask = ath_bitmask; in ath10k_vif_wow_set_wakeups() 344 ath10k_wow_convert_8023_to_80211(&new_pattern, in ath10k_vif_wow_set_wakeups() 347 new_pattern = old_pattern; in ath10k_vif_wow_set_wakeups() 348 new_pattern.pkt_offset += WOW_HDR_LEN - ETH_HLEN; in ath10k_vif_wow_set_wakeups() 352 if (WARN_ON(new_pattern.pattern_len > WOW_MAX_PATTERN_SIZE)) in ath10k_vif_wow_set_wakeups() 357 new_pattern.pattern, in ath10k_vif_wow_set_wakeups() 358 new_pattern.mask, in ath10k_vif_wow_set_wakeups() 359 new_pattern.pattern_len, in ath10k_vif_wow_set_wakeups() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | wow.c | 417 struct ath12k_pkt_pattern new_pattern = {}; in ath12k_wow_vif_set_wakeups() local 425 &new_pattern); in ath12k_wow_vif_set_wakeups() 427 if (WARN_ON(new_pattern.pattern_len > WOW_MAX_PATTERN_SIZE)) in ath12k_wow_vif_set_wakeups() 430 memcpy(new_pattern.pattern, eth_pattern->pattern, in ath12k_wow_vif_set_wakeups() 436 new_pattern.bytemask[j] = 0xff; 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() 444 new_pattern.pattern, in ath12k_wow_vif_set_wakeups() 445 new_pattern.bytemask, in ath12k_wow_vif_set_wakeups() 446 new_pattern.pattern_len, in ath12k_wow_vif_set_wakeups() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | action.c | 1197 __be64 *new_pattern; in hws_action_create_modify_header_hws() local 1203 new_pattern = kcalloc(num_of_patterns, size_in_bytes, GFP_KERNEL); in hws_action_create_modify_header_hws() 1204 if (!new_pattern) in hws_action_create_modify_header_hws() 1218 &new_pattern[i * pat_max_sz]); in hws_action_create_modify_header_hws() 1278 &new_pattern[i * pat_max_sz], in hws_action_create_modify_header_hws() 1304 kfree(new_pattern); in hws_action_create_modify_header_hws() 1317 kfree(new_pattern); in hws_action_create_modify_header_hws()
|