• Luca Coelho's avatar
    iwlwifi: mvm: handle pass all scan reporting · a339e918
    Luca Coelho authored
    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: default avatarLuca Coelho <luciano.coelho@intel.com>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    a339e918
scan.c 47.8 KB