From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH v4 1/6] lib: Add definitions for Enhanced Credits Based Mode
Date: Mon, 30 Mar 2020 15:24:14 -0700 [thread overview]
Message-ID: <CABBYNZ+=DVXVQAwPWFYKeM-dgPkCvxDjWUtXdB55v9uCD+MXEA@mail.gmail.com> (raw)
In-Reply-To: <20200320204038.11799-1-luiz.dentz@gmail.com>
Hi,
On Fri, Mar 20, 2020 at 1:40 PM Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
>
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> ---
> lib/bluetooth.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/lib/bluetooth.h b/lib/bluetooth.h
> index d14217eac..4a52ecb78 100644
> --- a/lib/bluetooth.h
> +++ b/lib/bluetooth.h
> @@ -141,6 +141,14 @@ struct bt_voice {
> #define BT_PHY_LE_CODED_TX 0x00002000
> #define BT_PHY_LE_CODED_RX 0x00004000
>
> +#define BT_MODE 15
> +
> +#define BT_MODE_BASIC 0x00
> +#define BT_MODE_ERTM 0x01
> +#define BT_MODE_STREAMING 0x02
> +#define BT_MODE_LE_FLOWCTL 0x03
> +#define BT_MODE_EXT_FLOWCTL 0x04
> +
> /* Connection and socket states */
> enum {
> BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */
> --
> 2.21.1
>
Applied.
--
Luiz Augusto von Dentz
prev parent reply other threads:[~2020-03-30 22:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-20 20:40 [PATCH v4 1/6] lib: Add definitions for Enhanced Credits Based Mode Luiz Augusto von Dentz
2020-03-20 20:40 ` [PATCH v4 2/6] btio: Add mode to for Enhanced Credit Mode Luiz Augusto von Dentz
2020-03-20 20:40 ` [PATCH v4 3/6] l2test: Add support for BT_MODE_EXT_FLOWCTL Luiz Augusto von Dentz
2020-03-20 20:40 ` [PATCH v4 4/6] emulator/bthost: Add support for ECRED Connection request/response Luiz Augusto von Dentz
2020-03-20 20:40 ` [PATCH v4 5/6] tools/l2cap-tester: Add test for Ext-Flowctl mode Luiz Augusto von Dentz
2020-03-20 20:40 ` [PATCH v4 6/6] gatt: Enable connecting to EATT channel using " Luiz Augusto von Dentz
2020-03-30 22:24 ` Luiz Augusto von Dentz [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='CABBYNZ+=DVXVQAwPWFYKeM-dgPkCvxDjWUtXdB55v9uCD+MXEA@mail.gmail.com' \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).