Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dlib.c997 struct iwlagn_wowlan_patterns_cmd *pattern_cmd; in iwlagn_send_patterns() local
1007 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns()
1009 pattern_cmd = kmalloc(cmd.len[0], GFP_KERNEL); in iwlagn_send_patterns()
1010 if (!pattern_cmd) in iwlagn_send_patterns()
1013 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwlagn_send_patterns()
1018 memcpy(&pattern_cmd->patterns[i].mask, in iwlagn_send_patterns()
1020 memcpy(&pattern_cmd->patterns[i].pattern, in iwlagn_send_patterns()
1023 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns()
1024 pattern_cmd->patterns[i].pattern_size = in iwlagn_send_patterns()
1028 cmd.data[0] = pattern_cmd; in iwlagn_send_patterns()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c653 if (!pattern_cmd) in iwl_mvm_send_patterns_v1()
661 memcpy(&pattern_cmd->patterns[i].mask, in iwl_mvm_send_patterns_v1()
663 memcpy(&pattern_cmd->patterns[i].pattern, in iwl_mvm_send_patterns_v1()
667 pattern_cmd->patterns[i].pattern_size = in iwl_mvm_send_patterns_v1()
671 cmd.data[0] = pattern_cmd; in iwl_mvm_send_patterns_v1()
673 kfree(pattern_cmd); in iwl_mvm_send_patterns_v1()
693 cmd.len[0] = sizeof(*pattern_cmd) + in iwl_mvm_send_patterns()
697 if (!pattern_cmd) in iwl_mvm_send_patterns()
707 pattern_cmd->patterns[i].pattern_type = in iwl_mvm_send_patterns()
720 cmd.data[0] = pattern_cmd; in iwl_mvm_send_patterns()
[all …]