Indeed, the kernel has already something to manage sniff mode
automatically, especially when SCO is part of the question:
get a look at:
/sys/class/bluetooth/hci0/idle_timeout
/sys/class/bluetooth/hci0/sniff_min_interval
/sys/class/bluetooth/hci0/sniff_max_interval
arnaud
On 01/24/2012 02:23 PM, Luiz Augusto von Dentz wrote:
Hi Dmitriy,
On Tue, Jan 24, 2012 at 2:58 PM, Dmitriy Paliy<dmitriy.paliy@xxxxxxxxx> wrote:
Hi,
The following set of patches introduces disabling/enabling sniff bit
in link policy settings. Further, the sniff mode is than disallowed
while SCO channel is open.
This helps to avoid problems in instability in some of TI controllers
firmware when sniff request comes from remote device during an active
call. Real impact is that controller becomes unconnectable eventhough
page scan is enabled.
Any comments, and possibly ideas, would be highly appreciated.
It looks like we would need a new command/operation to support it on
mgmt which is not addressed by your patches, in the other hand perhaps
this could be done automatically by the kernel when SCO is active.
--
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