From: Ivo van Doorn Date: Sat, 30 Apr 2011 15:18:18 +0000 (+0200) Subject: rt2x00: Add autowake support for USB hardware X-Git-Tag: v3.0-rc2~7^2~16^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c0bcf89d85cc97a0d9ce4cd909351a81fa4fdde;p=pandora-kernel.git rt2x00: Add autowake support for USB hardware The USB drivers don't support automatically waking up when in powersaving mode, add a work object which will wakeup the device in time to receive the next beacon. Based on that beacon, we either go back into powersaving mode, or we remain awake to receive the buffered frames for our station. Some part of the code, especially rt2x00lib_find_ie and rt2x00lib_rxdone_check_ps are inspired on the code from carl9170. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed