iwlwifi: mvm: add channel information to the netdetect notifications
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 21 Nov 2014 20:08:01 +0000 (22:08 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 1 Dec 2014 10:04:42 +0000 (12:04 +0200)
commit8ed4e659f34c963f7398ca1c92a1ab9593afba83
tree4edc07a14dd4db79f1aa30a9a4b5c9379eb82f2b
parentd9718da82f595eeac0cd42d849f7c3adc02da5e3
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>
drivers/net/wireless/iwlwifi/mvm/d3.c
drivers/net/wireless/iwlwifi/mvm/mvm.h