summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/bluetooth/include/ng_hci.h
diff options
context:
space:
mode:
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 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