wifi: iwlwifi: no power save during transition to D3
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 13 Sep 2023 11:56:48 +0000 (14:56 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Sep 2023 14:11:40 +0000 (16:11 +0200)
commit1bd9c9eba6de1c03f52d711bcd9b03bc467cfbb0
tree3f3e3a86a6ef90aa604cab4ad5bf0389717eae9c
parentdfed221d2e2ec190a5931e88dee81460acee36b6
wifi: iwlwifi: no power save during transition to D3

Transition to d3 is much faster if there is no power save during the
transition. Therefore a new flag was added to the device power cmd to
indicate the power save isn't allowed until the transition is completed.
Set this flag in _iwl_mvm_suspend, when the transition begins.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230913145231.ced036106507.Ib5ed5a47ee35f624902bd8882dde3e559285965b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/power.h
drivers/net/wireless/intel/iwlwifi/mvm/power.c