OSDN Git Service

iwlwifi: optimize power saving
authorDaniel Halperin <dhalperi@cs.washington.edu>
Tue, 19 Jan 2010 18:22:19 +0000 (10:22 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 29 Jan 2010 19:13:19 +0000 (11:13 -0800)
commit49dcc819b077c2d473062e17d5a1373a8b660e02
tree79a2869a213ef3fc9ba2c9cb3cac8f74fb1ca180
parent1dbfd9d46a6df5232ba0b12d2da950da89eff3da
iwlwifi: optimize power saving

In hostap AP mode, every time the client sends the AP
a packet the STA_NOTIFY_AWAKE code is sent from mac80211.
This results in a command being sent to the uCode even if
the client was not asleep.

The following simple patch has fixed the issue for me without any
degradation that I can find.

Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c