public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2] Bluetooth: flushable packet supports headers
@ 2011-01-25  9:45 Emeltchenko Andrei
  2011-01-27  9:01 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Emeltchenko Andrei @ 2011-01-25  9:45 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>

Modify headers to enable support for flushable packets. Following
commit: 8bcbd526c84724d8de087130d53e79da256e34bf to linux kernel
implements functionality on kernel side.
---
 lib/bluetooth.h |    5 +++++
 lib/hci.h       |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index a0486c7..bc0921e 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -70,6 +70,11 @@ struct bt_security {
 
 #define BT_DEFER_SETUP	7
 
+#define BT_FLUSHABLE	8
+
+#define BT_FLUSHABLE_OFF	0
+#define BT_FLUSHABLE_ON		1
+
 /* Connection and socket states */
 enum {
 	BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */
diff --git a/lib/hci.h b/lib/hci.h
index 0cb120f..9b5388b 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -196,6 +196,7 @@ enum {
 #define HCI_HOST_BUSY_PAIRING			0x38
 
 /* ACL flags */
+#define ACL_START_NO_FLUSH	0x00
 #define ACL_CONT		0x01
 #define ACL_START		0x02
 #define ACL_ACTIVE_BCAST	0x04
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCHv2] Bluetooth: flushable packet supports headers
  2011-01-25  9:45 [PATCHv2] Bluetooth: flushable packet supports headers Emeltchenko Andrei
@ 2011-01-27  9:01 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-01-27  9:01 UTC (permalink / raw)
  To: Emeltchenko Andrei; +Cc: linux-bluetooth

Hi Andrei,

On Tue, Jan 25, 2011, Emeltchenko Andrei wrote:
> Modify headers to enable support for flushable packets. Following
> commit: 8bcbd526c84724d8de087130d53e79da256e34bf to linux kernel
> implements functionality on kernel side.
> ---
>  lib/bluetooth.h |    5 +++++
>  lib/hci.h       |    1 +
>  2 files changed, 6 insertions(+), 0 deletions(-)

Pushed upstream. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-27  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-25  9:45 [PATCHv2] Bluetooth: flushable packet supports headers Emeltchenko Andrei
2011-01-27  9:01 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox