diff options
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 | ||||
-rw-r--r-- | include/net/bluetooth/mgmt.h | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index ee1ee1bfae9e..5b924423cf20 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -873,6 +873,8 @@ int mgmt_device_found(u16 index, bdaddr_t *bdaddr, u8 *dev_class, s8 rssi, | |||
873 | u8 *eir); | 873 | u8 *eir); |
874 | int mgmt_remote_name(u16 index, bdaddr_t *bdaddr, u8 *name); | 874 | int mgmt_remote_name(u16 index, bdaddr_t *bdaddr, u8 *name); |
875 | int mgmt_discovering(u16 index, u8 discovering); | 875 | int mgmt_discovering(u16 index, u8 discovering); |
876 | int mgmt_device_blocked(u16 index, bdaddr_t *bdaddr); | ||
877 | int mgmt_device_unblocked(u16 index, bdaddr_t *bdaddr); | ||
876 | 878 | ||
877 | /* HCI info for socket */ | 879 | /* HCI info for socket */ |
878 | #define hci_pi(sk) ((struct hci_pinfo *) sk) | 880 | #define hci_pi(sk) ((struct hci_pinfo *) sk) |
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 48522e6386bf..d66da0f94f95 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -307,3 +307,13 @@ struct mgmt_ev_remote_name { | |||
307 | } __packed; | 307 | } __packed; |
308 | 308 | ||
309 | #define MGMT_EV_DISCOVERING 0x0014 | 309 | #define MGMT_EV_DISCOVERING 0x0014 |
310 | |||
311 | #define MGMT_EV_DEVICE_BLOCKED 0x0015 | ||
312 | struct mgmt_ev_device_blocked { | ||
313 | bdaddr_t bdaddr; | ||
314 | } __packed; | ||
315 | |||
316 | #define MGMT_EV_DEVICE_UNBLOCKED 0x0016 | ||
317 | struct mgmt_ev_device_unblocked { | ||
318 | bdaddr_t bdaddr; | ||
319 | } __packed; | ||