iwlwifi: pcie: add initial RTPM support for PCI
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 6 Jan 2016 20:40:38 +0000 (18:40 -0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 1 Feb 2016 14:39:33 +0000 (16:39 +0200)
commitb3ff1270566d41eb8ab2d67844bf17b7fa9fee78
tree1cc8c097bc1c3d7c34916a067003e79528f473cc
parent96a6497bc3ed1c19d877e5f4f95f2cfa27448abe
iwlwifi: pcie: add initial RTPM support for PCI

Add an initial implementation of runtime power management (RTPM) for
PCI devices.  With this patch, RTPM is only used when wifi is off
(i.e. the wifi interface is down).  This implementation is behind a
new Kconfig flag, IWLWIFI_PCIE_RTPM.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/Kconfig
drivers/net/wireless/intel/iwlwifi/pcie/drv.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c