Bluetooth: Implement proper low-power support for Three-wire UART
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Jul 2012 13:12:16 +0000 (16:12 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 17 Jul 2012 17:48:37 +0000 (14:48 -0300)
commit95c5c22097433711de93bc377af89918c6140f77
treef6bef30e1ba112cb510465ffb358a08da5c62249
parentf674a057c1f6b0fedf7d989c6dac0b482fef1b55
Bluetooth: Implement proper low-power support for Three-wire UART

This patch adds on-demand wakeup request sending (and re-sendind) when
we are in low-power state. When the controller enters this state it will
send a sleep message after which the host is not allowed to send any
other packets until a wakeup request has been sent and the woken message
received as a response to it. The wakeup requests are re-sent
periodically until a woken message is received.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/hci_h5.c