diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2011-05-24 01:06:04 (GMT) |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-06-08 19:58:19 (GMT) |
commit | 14b12d0b98f87162b7e9e93dde66d1af97886567 (patch) | |
tree | 3ee2430863ad890b9b36ee4172fadc5147a01ad0 /net/batman-adv/Makefile | |
parent | 96d97a673d42408c0f960cc54d44be7629343bce (diff) | |
download | linux-fsl-qoriq-14b12d0b98f87162b7e9e93dde66d1af97886567.tar.xz |
Bluetooth: Add BT_POWER L2CAP socket option.
Add BT_POWER socket option used to control the power
characteristics of the underlying ACL link. When the remote end
has put the link in sniff mode and the host stack wants to send
data we need need to explicitly exit sniff mode to work well with
certain devices (For example, A2DP on Plantronics Voyager 855).
However, this causes problems with HID devices.
Hence, moving into active mode when sending data, irrespective
of who set the sniff mode has been made as a socket option. By
default, we will move into active mode. HID devices can set the
L2CAP socket option to prevent this from happening.
Currently, this has been implemented for L2CAP sockets. This has been
tested with incoming and outgoing L2CAP sockets for HID and A2DP.
Based on discussions on linux-bluetooth and patches submitted by
Andrei Emeltchenko.
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/batman-adv/Makefile')
0 files changed, 0 insertions, 0 deletions