linux/drivers/net/wireless/iwlwifi
Ben Cahill 88521364cc iwlwifi: remove power-wasting calls to apm_ops.init()
To save power, don't run apm_ops.init() until needed at "up" time.

EEPROM (5000 and earlier devices) may be read without running apm_ops.init(),
but OTP reads (6000 and newer devices) require a powered-up chip.
Therefore, remove apm_ops.init() from the general path in XXXX_pci_probe(),
and call it only if device uses OTP.  Once done with OTP read, call
apm_ops.stop() to reset chip and save power until "up" time comes around.

NOTE:  This patch depends on removal of priv->lock from iwl_apm_stop();
lock does not get initialized until later in flow.  See patch
"remove unneeded locks from apm_stop()".

Signed-off-by: Ben Cahill <ben.m.cahill@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-11-02 15:39:44 -05:00
..
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
Makefile iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-1000.c iwlwifi: issue ct_kill host command based on device config 2009-10-27 16:50:01 -04:00
iwl-3945-fh.h
iwl-3945-hw.h iwlwifi: remove duplicate defines 2009-10-27 16:50:02 -04:00
iwl-3945-led.c iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-3945-led.h iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-3945-rs.c iwlwifi: use %pM for formatted MAC addresses 2009-10-07 16:33:51 -04:00
iwl-3945.c iwlwifi: add channel switch support to 5000 series and up 2009-10-27 16:50:02 -04:00
iwl-3945.h iwlwifi: remove duplicate defines 2009-10-27 16:50:02 -04:00
iwl-4965-hw.h iwlwifi: remove duplicated/unused definition 2009-10-27 16:47:58 -04:00
iwl-4965.c iwlwifi: add channel switch support to 5000 series and up 2009-10-27 16:50:02 -04:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: add channel switch support to 5000 series and up 2009-10-27 16:50:02 -04:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: update lowest API version support for 6x00 & 6x50 series 2009-10-27 16:50:03 -04:00
iwl-agn-led.c iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-agn-led.h iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-agn-rs.c iwlagn: store station rate scale information in mac80211 station structure 2009-10-27 16:48:33 -04:00
iwl-agn-rs.h iwlwifi: move rate scaling structures to header file 2009-10-27 16:48:32 -04:00
iwl-agn.c iwlwifi: remove power-wasting calls to apm_ops.init() 2009-11-02 15:39:44 -05:00
iwl-calib.c iwlwifi: additional items in sensitivity range table 2009-10-27 16:47:58 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: minor comments changes for wimax co-exist command 2009-10-27 16:50:04 -04:00
iwl-core.c iwlwifi: remove unneeded locks from apm_stop() and stop_master() 2009-11-02 15:39:44 -05:00
iwl-core.h iwlwifi: add channel switch support to 5000 series and up 2009-10-27 16:50:02 -04:00
iwl-csr.h iwlwifi: set auto clock gate disable bit for 6x00/6x50 series 2009-10-27 16:48:33 -04:00
iwl-debug.h iwlwifi: show current power save status reported by uCode 2009-10-27 16:48:31 -04:00
iwl-debugfs.c iwlwifi: rework for static power save 2009-10-27 16:48:34 -04:00
iwl-dev.h iwlwifi: remove duplicate defines 2009-10-27 16:50:02 -04:00
iwl-devtrace.c iwlwifi: device tracing 2009-10-07 16:39:44 -04:00
iwl-devtrace.h iwlwifi: device tracing 2009-10-07 16:39:44 -04:00
iwl-eeprom.c iwlwifi: remove power-wasting calls to apm_ops.init() 2009-11-02 15:39:44 -05:00
iwl-eeprom.h iwlwifi: identify eeprom version for 6x50 series NIC 2009-10-27 16:48:31 -04:00
iwl-fh.h
iwl-hcmd.c iwlwifi: add missing commands to syslog messages 2009-10-27 16:49:58 -04:00
iwl-helpers.h
iwl-io.h iwlwifi: device tracing 2009-10-07 16:39:44 -04:00
iwl-led.c iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-led.h iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-power.c iwlwifi: remove duplicated define 2009-10-27 16:50:03 -04:00
iwl-power.h iwlwifi: remove duplicated define 2009-10-27 16:50:03 -04:00
iwl-prph.h
iwl-rx.c iwlwifi: fix use after free bug for paged rx 2009-10-27 16:50:01 -04:00
iwl-scan.c iwlwifi: use paged Rx 2009-10-27 16:48:06 -04:00
iwl-spectrum.c iwlwifi: use paged Rx 2009-10-27 16:48:06 -04:00
iwl-spectrum.h
iwl-sta.c iwlwifi: use paged Rx 2009-10-27 16:48:06 -04:00
iwl-sta.h
iwl-tx.c iwlwifi: remove unused parameters 2009-10-27 16:50:02 -04:00
iwl3945-base.c iwlwifi: remove power-wasting calls to apm_ops.init() 2009-11-02 15:39:44 -05:00