iwlwifi: mvm: add SSID match information for net-detect
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 21 Nov 2014 07:32:23 +0000 (09:32 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 1 Dec 2014 10:04:42 +0000 (12:04 +0200)
commitd9718da82f595eeac0cd42d849f7c3adc02da5e3
treeb6827feb0968b338123c648b1b2f06969cde712d
parent804d4c5a811c616a111938bd04b41df83a753c74
iwlwifi: mvm: add SSID match information for net-detect

Add SSID information to the net-detect indication to userspace.  Fetch
the matched profiles from the firmware in order to find the correct
SSIDs in the profiles that matched.

Since the net-detect information is stored in cfg80211, and in theory
it could change while we are waking up and reading the matched
profiles, we need to save it when we enter D3 so it is available
during 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