aboutsummaryrefslogtreecommitdiffstats
path: root/sys/netgraph/bluetooth/include/ng_hci.h
diff options
context:
space:
mode:
authorTakanori Watanabe <takawata@FreeBSD.org>2015-04-18 06:16:33 +0000
committerTakanori Watanabe <takawata@FreeBSD.org>2015-04-18 06:16:33 +0000
commitd87b1182c681403b058fa8773bf3a6433ad7e934 (patch)
tree835a4434a404454d24bafdd31d07d7231bff8207 /sys/netgraph/bluetooth/include/ng_hci.h
parentbcff2d9100c3dedbbf2bfb84cdfcb547d81b8b83 (diff)
downloadsrc-d87b1182c681403b058fa8773bf3a6433ad7e934.tar.gz
src-d87b1182c681403b058fa8773bf3a6433ad7e934.zip
Forgot to add default event mask definition.
Notes
Notes: svn path=/head/; revision=281683
Diffstat (limited to 'sys/netgraph/bluetooth/include/ng_hci.h')
-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 ffa396bccb06..1688c4c35bbe 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 */