All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaud Mouiche <arnaud.mouiche@invoxia.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Dmitriy Paliy <dmitriy.paliy@nokia.com>, linux-bluetooth@vger.kernel.org
Subject: Re: [RFC BlueZ 0/4] Add hciops_allow_sniff to disable and restore LMP_SNIFF bit
Date: Wed, 25 Jan 2012 09:06:32 +0100	[thread overview]
Message-ID: <4F1FB808.8000400@invoxia.com> (raw)
In-Reply-To: <CABBYNZJ99t68PrYwi57KPuJXrJpu76Rt-6KNwwZuxwy39uA8GA@mail.gmail.com>

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@nokia.com>  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.
>


      reply	other threads:[~2012-01-25  8:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 12:58 [RFC BlueZ 0/4] Add hciops_allow_sniff to disable and restore LMP_SNIFF bit Dmitriy Paliy
2012-01-24 12:58 ` [PATCH BlueZ 1/4] " Dmitriy Paliy
2012-01-24 12:58 ` [PATCH BlueZ 2/4] Add btd_adapter_allow_sniff to adapter Dmitriy Paliy
2012-01-24 12:58 ` [PATCH BlueZ 3/4] Add manager_allow_sniff to audio manager Dmitriy Paliy
2012-01-24 12:58 ` [PATCH BlueZ 4/4] Fix disallow entering in sniff mode while SCO is open Dmitriy Paliy
2012-01-24 13:23 ` [RFC BlueZ 0/4] Add hciops_allow_sniff to disable and restore LMP_SNIFF bit Luiz Augusto von Dentz
2012-01-25  8:06   ` Arnaud Mouiche [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F1FB808.8000400@invoxia.com \
    --to=arnaud.mouiche@invoxia.com \
    --cc=dmitriy.paliy@nokia.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.