]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: Cancel and set MARKER_CMD timer during suspend-resume
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 27 Dec 2017 13:21:18 +0000 (15:21 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 2 Mar 2018 08:19:59 +0000 (10:19 +0200)
commit139919a9271277b9cb401d0994b62452cad3ce0a
treea64214c9a67c028709c0939e1c425853880527cf
parentd4ba7a61cced28f44f5357ceddcb9960648a4b32
iwlwifi: Cancel and set MARKER_CMD timer during suspend-resume

While entering to D3 mode there is a gap between the time the
driver handles the D3_CONFIG_CMD response to the time the host is going
to sleep.
In between there might be cases which MARKER_CMD can tailgate.
Also during resume flow the MARKER_CMD might get sent while D0I3_CMD
is being handled in the FW.
Cancel MARKER_CMD timer and set it again properly during suspend
resume flows to prevent this command from being sent accidentlly.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
drivers/net/wireless/intel/iwlwifi/fw/init.c
drivers/net/wireless/intel/iwlwifi/fw/runtime.h
drivers/net/wireless/intel/iwlwifi/mvm/d3.c