iwlwifi: add support for suspend-resume flow for new device generation
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 3 Apr 2019 11:37:54 +0000 (14:37 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:52:05 +0000 (15:52 +0300)
commite5f3f215d07f0f802373a123cbd29c6387aa818d
tree31b2bceee7ddfc858d15be014cfd3be39ecb9c33
parent973ef19e9d506963cb882b9450da3703cf5892c0
iwlwifi: add support for suspend-resume flow for new device generation

The new device generation has a slightly different suspend resume flow
Currently, the way the driver instruct the device to move to D3 is by
sending D3_CONFIG_CMD.
Instead of using the host command the indication is by writing to the
doorbell interrupt.
The FW will respond with interrupt to indicate transition completion.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-prph.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c