]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't disconnect immediately if we don't hear beacons after CSA
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 11 Apr 2021 10:25:38 +0000 (13:25 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 14 Apr 2021 09:07:20 +0000 (12:07 +0300)
commitacae884d57502fe9b1eabde2583a0088911b84e4
tree82cfe725c2e706e65dea6a317d82fd119f55cd0a
parentd08609474d3af8af8f617f88b955d72056e3d4c4
iwlwifi: mvm: don't disconnect immediately if we don't hear beacons after CSA

When we switch channel, we may miss a few beacons on the
new channel. Don't disconnect if the time event for the
switch ends before we hear the beacons.

Note that this is relevant only for old devices that still
use the TIME_EVENT firmware API for channel switch.

The check that we hear a beacon before the time event
ends was meant to be used for the association time event
and not for the channel switch time event.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210411132130.3d710091a0bd.I37a161ffdfb099a10080fbdc3b70a4deb76952e2@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c