All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/8] Bluetooth: Add macros for advertising instance flags
@ 2015-03-26  1:14 Arman Uguray
  2015-03-26  1:14 ` [PATCH v1 2/8] Bluetooth: Support the "connectable mode" adv flag Arman Uguray
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Arman Uguray @ 2015-03-26  1:14 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Arman Uguray

This patch adds macro definitions for possible advertising instance
flags that can be passed to the "Add Advertising" command.

Signed-off-by: Arman Uguray <armansito@chromium.org>
---
 include/net/bluetooth/mgmt.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 68abd4b..b831242 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -554,6 +554,14 @@ struct mgmt_rp_add_advertising {
 	__u8	instance;
 } __packed;
 
+#define MGMT_ADV_FLAG_CONNECTABLE	BIT(0)
+#define MGMT_ADV_FLAG_DISCOV		BIT(1)
+#define MGMT_ADV_FLAG_LIMITED_DISCOV	BIT(2)
+#define MGMT_ADV_FLAG_MANAGED_FLAGS	BIT(3)
+#define MGMT_ADV_FLAG_TX_POWER		BIT(4)
+#define MGMT_ADV_FLAG_APPEARANCE	BIT(5)
+#define MGMT_ADV_FLAG_LOCAL_NAME	BIT(6)
+
 #define MGMT_OP_REMOVE_ADVERTISING	0x003F
 struct mgmt_cp_remove_advertising {
 	__u8	instance;
-- 
2.2.0.rc0.207.ga3a616c


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

end of thread, other threads:[~2015-03-26  1:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26  1:14 [PATCH v1 1/8] Bluetooth: Add macros for advertising instance flags Arman Uguray
2015-03-26  1:14 ` [PATCH v1 2/8] Bluetooth: Support the "connectable mode" adv flag Arman Uguray
2015-03-26  1:14 ` [PATCH v1 3/8] Bluetooth: Support the "discoverable" " Arman Uguray
2015-03-26  1:14 ` [PATCH v1 4/8] Bluetooth: Support the "limited-discoverable" " Arman Uguray
2015-03-26  1:14 ` [PATCH v1 5/8] Bluetooth: Support the "managed-flags" " Arman Uguray
2015-03-26  1:14 ` [PATCH v1 6/8] Bluetooth: Support the "tx-power" " Arman Uguray
2015-03-26  1:14 ` [PATCH v1 7/8] Bluetooth: Update supported_flags for AD features Arman Uguray
2015-03-26  1:14 ` [PATCH v1 8/8] Bluetooth: Unify advertising data code paths Arman Uguray

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.