iwlwifi: mvm: add debugfs entry with the number of net-detect scans
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 30 Mar 2015 17:46:32 +0000 (20:46 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 2 Apr 2015 06:26:46 +0000 (09:26 +0300)
commit484b3d13b4ac3d721f3479433ad82100e1277580
tree259c881d448c4d3af5320f85b64f95db1ea3f24c
parent7b9d74e44a9f504e22a505e36327a00dc301a968
iwlwifi: mvm: add debugfs entry with the number of net-detect scans

Our testers need to know the number of scans performed while in
net-detect mode before the device wakes up.  The firmware already
passes this information to the driver, so we can save it and report it
in a debugfs entry.

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/debugfs.c
drivers/net/wireless/iwlwifi/mvm/mvm.h