android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Johannes Berg 7af2c46078 iwlwifi: clean up PS code
This removes all the dead code that tries to adjust the power
saving level based on the system AC state (inacceptable policy
in the kernel) or based on overtemp conditions (unused).

Also, pass _all_ policy wrt. enabling PS to mac80211, since
we do not use the power_disabled internally I now use that to
mirror the mac80211 CONF_PS setting. When mac80211 turns off
CONF_PS we follow suit. This means that the user power level
(which can currently only be set from sysfs) is not touched
for mac80211 powersave changes.

This means no "association status" checks are necessary since
mac80211 will not allow power save to be enabled when not
associated.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-05-11 15:23:59 -04:00
..
iwl3945-base.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-1000.c iwlwifi: correct device name for 1000 series 2009-03-16 18:09:36 -04:00
iwl-3945-fh.h
iwl-3945-hw.h iwl3945: set TFD_QUEUE_MAX to correct value 2009-03-27 20:12:58 -04:00
iwl-3945-led.c iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-3945-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-3945-rs.c iwlwifi: Fix handling of retry count of NO_ACK frames in iwl-{3945|agn}-rs 2009-05-06 15:14:51 -04:00
iwl-3945.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-04-25 16:36:46 -07:00
iwl-3945.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-04-25 16:36:46 -07:00
iwl-4965-hw.h
iwl-4965.c iwlwifi: remove radio disable parameter. 2009-04-22 16:57:19 -04:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: remove radio disable parameter. 2009-04-22 16:57:19 -04:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: add station management ops 2009-04-22 16:54:42 -04:00
iwl-agn-rs.c iwlwifi: "is_fat" bit in rate scale match RXON flag 2009-05-06 15:15:00 -04:00
iwl-agn-rs.h iwlwifi: Display decoded rate/mcs information 2009-04-22 16:54:43 -04:00
iwl-agn.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-calib.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: improve scan support 2009-04-22 16:57:18 -04:00
iwl-core.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-core.h iwlwifi: make iwl_set_rate static 2009-05-11 15:23:55 -04:00
iwl-csr.h iwlwifi: fix EEPROM validation mask to include OTP only devices 2009-04-21 16:43:30 -04:00
iwl-debug.h iwlwifi: adding interrupt counter in debugfs for debugging 2009-04-22 16:54:44 -04:00
iwl-debugfs.c iwlwifi: adding interrupt counter in debugfs for debugging 2009-04-22 16:54:44 -04:00
iwl-dev.h iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-io.h iwlwifi: print contents of control register when error occurs 2009-03-16 18:09:47 -04:00
iwl-led.c
iwl-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-power.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-power.h iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-prph.h
iwl-rfkill.c rfkill: remove user_claim stuff 2009-04-22 16:54:27 -04:00
iwl-rfkill.h
iwl-rx.c iwlwifi: clean up unused NL80211_IFTYPE_MONITOR for Monitor mode 2009-04-22 16:57:19 -04:00
iwl-scan.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-04-29 20:30:35 -07:00
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-05-08 12:46:17 -07:00
iwl-sta.h iwl3945: unify set key flow with iwlwifi 2009-03-05 14:39:36 -05:00
iwl-tx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-04-25 16:36:46 -07:00
Kconfig iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
Makefile iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00