staging: vt6656: implement power saving code.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 27 Sep 2015 08:17:41 +0000 (09:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:19:53 +0000 (04:19 +0200)
commit43c93d9bf5e2b195c38de99024d8d9e545a5aae5
treece08d956515493d368f6513b3e62b4fb9c842343
parentc15158797df6c36780bd07252eb079ff4c9d1706
staging: vt6656: implement power saving code.

The device should ready to listen to next beacon so on count down of
wake_up_count == 1.

schedule command WLAN_CMD_TBTT_WAKEUP which calls vnt_next_tbtt_wakeup which
wakes the device.

This restores this back to vendors code with a slight difference the
count down is in the interrupt handler.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/int.c
drivers/staging/vt6656/power.c