]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
iwlwifi: mvm: handle pass all scan reporting
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 2 Feb 2016 20:58:46 +0000 (22:58 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 19:59:53 +0000 (21:59 +0200)
commita339e918daf281a0eb78783abc954c1e97af16c4
treed73046ac84a7cfc7745a9e5b691ef2350626b522
parent3cce9bb07b5d40a3f8a10a1148f10896a7a42f5a
iwlwifi: mvm: handle pass all scan reporting

The firmware doesn't send match found notifications when no matchsets
are passed.  This makes sense because if there are no matchsets,
nothing can be matched.  But the nl80211 API should report when there
are results available, even if no matchsets were passed.

To handle this, we can use the firmware's ITERATION_COMPLETE
reporting, which will send us notifications every time it completed a
scheduled scan iteration.  Then we can set a flag when we received
beacons and use that to report that results are available.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/rx.c
drivers/net/wireless/intel/iwlwifi/mvm/scan.c