Re: [PATCH] Bluetooth: Add BT_POWER L2CAP socket option.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jaikumar,

On Tue, May 24, 2011 at 11:37 AM, Ville Tervo <ville.tervo@xxxxxxxxx> wrote:
> Hi Jaikumar,
>
> On Mon, May 23, 2011 at 06:06:04PM -0700, ext Jaikumar Ganesh wrote:
>> 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.
>>
>
> I would prefer keeping old way the default way. Otherwise you need to update
> all socket users in user space. Other that that this looks good to me.

What is wrong that we need such control to be done in userspace?


-- 
Luiz Augusto von Dentz
Computer Engineer
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux