aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
diff options
context:
space:
mode:
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>2024-04-16 13:54:07 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-04-19 10:16:33 +0200
commit492bc4e49facfdacfebbe39eead37ac54713670d (patch)
tree3be9bb7324f8dc8cd3fa5c587736fbecc7606a8a /drivers/net/wireless/intel/iwlwifi/mvm/utils.c
parentwifi: iwlwifi: mvm: exit EMLSR upon missed beacon (diff)
downloadlinux-492bc4e49facfdacfebbe39eead37ac54713670d.tar.gz
linux-492bc4e49facfdacfebbe39eead37ac54713670d.zip
wifi: iwlwifi: mvm: implement EMLSR prevention mechanism.
Address scenarios where repeated entry and exit from EMLSR occur, such as encountering missed beacons on a specific link, while still discovering that link during a scan. To mitigate this, introduce the EMLSR prevention mechanism, which operates as follows: - On each exit from EMLSR event, record the timestamp and the exit reason. - If two consecutive exits happen for the same reason within a 400-second window, enforce a 300-second EMLSR prevention. - If a third exit for the same reason occurs within 400 seconds from the second exit, enforce an extended EMLSR prevention of 600 seconds. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Link: https://msgid.link/20240416134215.d820ee98b300.I6406db40cf25eabdba602afd783466473b909216@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions