e312c24cf8
Depending on required latency requested by pm_qos (via mac80211) we can automatically adjust the sleep state. Also, mac80211 has a user-visible dynamic sleep feature where we are supposed to stay awake after sending/receiving frames to better receive response frames to our packets, this can be integrated into the sleep command. Currently, and this patch doesn't change that yet, we default to using sleep level 1 if PS is enabled. With a module parameter to iwlcore, automatic adjustment to changing network latency requirements can be enabled -- this isn't yet the default due to requiring more testing. The goal is to enable automatic adjustment and then go into the deepest possible sleep state possible depending on the networking latency requirements. This patch does, however, enable IEEE80211_HW_SUPPORTS_DYNAMIC_PS to avoid the double-timer (one in software and one in the device) when transmitting -- the exact timeout may be ignored but that is not of big concern. Note also that we keep the hard-coded power indices around for thermal throttling -- the specification of that calls for using the specified power levels. Those can also be selected in debugfs to allow easier testing of such parameters. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
iwl-1000.c | ||
iwl-3945-fh.h | ||
iwl-3945-hw.h | ||
iwl-3945-led.c | ||
iwl-3945-led.h | ||
iwl-3945-rs.c | ||
iwl-3945.c | ||
iwl-3945.h | ||
iwl-4965-hw.h | ||
iwl-4965.c | ||
iwl-5000-hw.h | ||
iwl-5000.c | ||
iwl-6000-hw.h | ||
iwl-6000.c | ||
iwl-agn-rs.c | ||
iwl-agn-rs.h | ||
iwl-agn.c | ||
iwl-calib.c | ||
iwl-calib.h | ||
iwl-commands.h | ||
iwl-core.c | ||
iwl-core.h | ||
iwl-csr.h | ||
iwl-debug.h | ||
iwl-debugfs.c | ||
iwl-dev.h | ||
iwl-eeprom.c | ||
iwl-eeprom.h | ||
iwl-fh.h | ||
iwl-hcmd.c | ||
iwl-helpers.h | ||
iwl-io.h | ||
iwl-led.c | ||
iwl-led.h | ||
iwl-power.c | ||
iwl-power.h | ||
iwl-prph.h | ||
iwl-rx.c | ||
iwl-scan.c | ||
iwl-spectrum.c | ||
iwl-spectrum.h | ||
iwl-sta.c | ||
iwl-sta.h | ||
iwl-tx.c | ||
iwl3945-base.c | ||
Kconfig | ||
Makefile |