diff options
author | Luciano Coelho | 2014-11-21 21:08:01 +0100 |
---|---|---|
committer | Emmanuel Grumbach | 2014-12-01 11:04:42 +0100 |
commit | 8ed4e659f34c963f7398ca1c92a1ab9593afba83 (patch) | |
tree | 4edc07a14dd4db79f1aa30a9a4b5c9379eb82f2b /drivers/net/wireless/iwlwifi/mvm/mvm.h | |
parent | iwlwifi: mvm: add SSID match information for net-detect (diff) | |
download | kernel-qcow2-linux-8ed4e659f34c963f7398ca1c92a1ab9593afba83.tar.gz kernel-qcow2-linux-8ed4e659f34c963f7398ca1c92a1ab9593afba83.tar.xz kernel-qcow2-linux-8ed4e659f34c963f7398ca1c92a1ab9593afba83.zip |
iwlwifi: mvm: add channel information to the netdetect notifications
Add the channels on which there was a match for every match reported
by the firmware. The firmware reports the channels as indices to the
array of channels that was passed in the scheduled scan request, so we
need to save the array when entering D3 to make sure it is available
when we resume.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h index d69cc862234a..bb7953bf3375 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h @@ -687,6 +687,8 @@ struct iwl_mvm { struct ieee80211_scan_ies nd_ies; struct cfg80211_match_set *nd_match_sets; int n_nd_match_sets; + struct ieee80211_channel **nd_channels; + int n_nd_channels; bool net_detect; #ifdef CONFIG_IWLWIFI_DEBUGFS u32 d3_wake_sysassert; /* must be u32 for debugfs_create_bool */ |