iwlwifi: support multiple d0i3 modes
authorEliad Peller <eliad@wizery.com>
Tue, 9 Dec 2014 13:11:56 +0000 (15:11 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 28 Dec 2014 18:00:19 +0000 (20:00 +0200)
commit0f8f93d6c81817d902fb46b0d741164992cc685a
treea38343b8bf763a1d5471159f21bf7acecca1232b
parent91742449479bd8666f9533efd9594a7d9f87bd0d
iwlwifi: support multiple d0i3 modes

Allow configuring additional d0i3 mode, in which the
fw will be configured to enter d0i3 only on suspend
(while keeping the wake_lock accounting as usual)

The d0i3 mode to use will be determined by the
underlying trans layer.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/mvm/mvm.h