All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Poulain <loic.poulain@intel.com>
To: Sriram V <vshrirama@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: keep alive
Date: Sun, 17 Jul 2016 13:56:37 +0200	[thread overview]
Message-ID: <578B7275.50703@intel.com> (raw)
In-Reply-To: <CAH9_wRNYizT3piDpbyT1MMwU7T10u6-z9iQws_+6BiJvB8-TGA@mail.gmail.com>

Hi Sriram,

> I am using a broadcom's bcm bt chip. I wanted to find if there is some
> sort of "Keep Alive" Feature so that connections are not lost?

You should have a look at the spec, but to make it short, Physical link
is monitored/supervised at controller level (Master-Slave(s) polling).
No need to explicitly send NULL data packet like WiFi/802.11.

> I am keeping the bt chip turned on during sleep/suspend. However, I am
> not sure if BT sends keep alive probe periodically. Can someone
> clarify on this.

Connection is maintained, but If there is some incoming logical link
data (ACL, SCO...), Host needs to be active in order to retrieve and
process this data. Actually, any data causing HCI transfer from
controller to host.

In case of system suspend, that means BT controller needs wakeup
capability (via USB resume, out of band gpio...) to move host from
suspend to active.

If host does not wake up, this can cause issues at higher level
(timeout, data lost...) and potentially trigger physical disconnection.

Regards,
Loic

      reply	other threads:[~2016-07-17 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-16 13:22 keep alive Sriram V
2016-07-17 11:56 ` Loic Poulain [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=578B7275.50703@intel.com \
    --to=loic.poulain@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=vshrirama@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.