1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intersil/hostap
Vaibhav Gupta 99aaa1aafa hostap: use generic power management
Drivers using legacy power management .suspen()/.resume() callbacks
have to manage PCI states and device's PM states themselves. They also
need to take care of standard configuration registers.

Switch to generic power management framework using a single
"struct dev_pm_ops" variable to take the unnecessary load from the driver.
This also avoids the need for the driver to directly call most of the PCI
helper functions and device power state control functions as through
the generic framework, PCI Core takes care of the necessary operations,
and drivers are required to do only device-specific jobs.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200721150547.371763-1-vaibhavgupta40@gmail.com
2020-08-02 18:18:15 +03:00
..
hostap.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_80211.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_80211_rx.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_80211_tx.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_ap.c hostap: Adjust indentation in prism2_hostapd_add_sta 2020-01-26 17:36:17 +02:00
hostap_ap.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_common.h hostap: Replace zero-length array with flexible-array member 2020-03-23 18:59:15 +02:00
hostap_config.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_cs.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
hostap_download.c hostap: convert to struct proc_ops 2020-03-26 21:23:28 +02:00
hostap_hw.c hostap: use generic power management 2020-08-02 18:18:15 +03:00
hostap_info.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
hostap_ioctl.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
hostap_main.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
hostap_pci.c hostap: use generic power management 2020-08-02 18:18:15 +03:00
hostap_plx.c hostap: use %*ph to print small buffer 2019-09-06 17:12:02 +03:00
hostap_proc.c hostap: Add missing annotations for prism2_bss_list_proc_start() and prism2_bss_list_proc_stop 2020-04-15 11:42:22 +03:00
hostap_wlan.h hostap: Replace zero-length array with flexible-array member 2020-03-23 18:59:15 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00