summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/bluetooth
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2015-04-18 06:16:33 +0000
committertakawata <takawata@FreeBSD.org>2015-04-18 06:16:33 +0000
commitfe5caf3eb9cdd8f84c5a69d6ea364734e433972c (patch)
tree835a4434a404454d24bafdd31d07d7231bff8207 /sys/netgraph/bluetooth
parent3743bf0203ddab7051be5c5452242831f0711db9 (diff)
downloadFreeBSD-src-fe5caf3eb9cdd8f84c5a69d6ea364734e433972c.zip
FreeBSD-src-fe5caf3eb9cdd8f84c5a69d6ea364734e433972c.tar.gz
Forgot to add default event mask definition.
Diffstat (limited to 'sys/netgraph/bluetooth')
-rw-r--r--sys/netgraph/bluetooth/include/ng_hci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netgraph/bluetooth/include/ng_hci.h b/sys/netgraph/bluetooth/include/ng_hci.h
index ffa396b..1688c4c 100644
--- a/sys/netgraph/bluetooth/include/ng_hci.h
+++ b/sys/netgraph/bluetooth/include/ng_hci.h
@@ -897,6 +897,8 @@ typedef struct {
} __attribute__ ((packed)) ng_hci_set_event_mask_cp;
typedef ng_hci_status_rp ng_hci_set_event_mask_rp;
+#define NG_HCI_EVENT_MASK_DEFAULT 0x1fffffffffff
+#define NG_HCI_EVENT_MASK_LE 0x2000000000000000
#define NG_HCI_OCF_RESET 0x0003
/* No command parameter(s) */
@@ -1454,6 +1456,7 @@ typedef struct {
} __attribute__ ((packed)) ng_hci_le_set_event_mask_cp;
typedef ng_hci_status_rp ng_hci_le_set_event_mask_rp;
+#define NG_HCI_LE_EVENT_MASK_ALL 0x1f
#define NG_HCI_OCF_LE_READ_BUFFER_SIZE 0x0002
/*No command parameter */
OpenPOWER on IntegriCloud