linux/drivers/net/wireless/intel/iwlwifi
Luca Coelho b7282643bf iwlwifi: replace d0i3_mode and wowlan_d0i3 with more generic variables
The d0i3_mode variable is used to distinguish between transports that
handle d0i3 entry during suspend by themselves (i.e. the slave
transports) and those which rely on the op_mode layer to do it.  The
reason why the former do it by themselves is that they need to
transition from d0i3 in runtime_suspend into d0i3 in system-wide
suspend and this transition needs to happen before the op_mode's
suspend flow is called.

The wowlan_d0i3 element is also a bit confusing, because it just
reflects the wowlan->any value for the trans to understand.  This is a
bit unclear in the code and not generic enough for future use.

To make it clearer and to generalize the platform power mode settings,
introduce two variables to indicate the platform power management
modes used by the transport.

Additionally, in order not to take too big a step in one patch, treat
this new variables semantically in the same way as the old d0i3_mode
element, introducing a iwl_mvm_enter_d0i3_on_suspend() function to
help with that.

This commit also adds the foundation for a new concept where the
firmware configuration state (i.e. D0, D3 or D0i3) is abstracted from
the platform PM mode we are in (i.e. runtime suspend or system-wide
suspend).

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2015-12-13 13:10:45 +02:00
..
dvm iwlwifi: update host command messages to new format 2015-12-13 08:56:17 +02:00
mvm iwlwifi: replace d0i3_mode and wowlan_d0i3 with more generic variables 2015-12-13 13:10:45 +02:00
pcie iwlwifi: replace d0i3_mode and wowlan_d0i3 with more generic variables 2015-12-13 13:10:45 +02:00
iwl-1000.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-2000.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-5000.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-6000.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-7000.c iwlwifi: Add PCI IDs for the new 3168 series 2015-12-01 21:17:54 +02:00
iwl-8000.c iwlwifi: Add PCI IDs for the new series 8165 2015-12-01 21:17:54 +02:00
iwl-9000.c iwlwifi: Add new PCI IDs for 9260 and 5165 series 2015-12-01 21:17:53 +02:00
iwl-agn-hw.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-config.h iwlwifi: Add PCI IDs for the new series 8165 2015-12-01 21:17:54 +02:00
iwl-csr.h
iwl-debug.c
iwl-debug.h iwlwifi: remove IWL_DL_LED 2015-12-01 21:17:58 +02:00
iwl-devtrace-data.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-devtrace-io.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-devtrace-ucode.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c iwlwifi: print index in api/capa flags parsing message 2015-12-01 21:17:56 +02:00
iwl-drv.h
iwl-eeprom-parse.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-eeprom-parse.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-eeprom-read.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-eeprom-read.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-fh.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-fw-error-dump.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-fw-file.h iwlwifi: mvm: add trigger for firmware dump upon TDLS events 2015-11-26 16:38:50 +02:00
iwl-fw.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-io.c iwlwifi: export the _no_grab version of PRPH IO functions 2015-11-26 16:38:51 +02:00
iwl-io.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-modparams.h iwlwifi: generalize d0i3_entry_timeout module parameter 2015-11-26 16:38:50 +02:00
iwl-notif-wait.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-notif-wait.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-nvm-parse.c iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-nvm-parse.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-op-mode.h iwlwifi: trans: support a callback for ASYNC commands 2015-12-13 08:52:52 +02:00
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h
iwl-scd.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
iwl-trans.c iwlwifi: update host command messages to new format 2015-12-13 08:56:17 +02:00
iwl-trans.h iwlwifi: replace d0i3_mode and wowlan_d0i3 with more generic variables 2015-12-13 13:10:45 +02:00
Kconfig iwlwifi: dvm: remove Kconfig default 2015-11-26 16:38:48 +02:00
Makefile iwlwifi: Add new PCI IDs for 9260 and 5165 series 2015-12-01 21:17:53 +02:00