diff options
author | Takanori Watanabe <takawata@FreeBSD.org> | 2017-04-27 15:03:24 +0000 |
---|---|---|
committer | Takanori Watanabe <takawata@FreeBSD.org> | 2017-04-27 15:03:24 +0000 |
commit | 4aa92fe2f385fa66a86878dd38e29cde6c28ece7 (patch) | |
tree | 118a668c3443572267cfcc3b5b43a326489a5a7b /sys/netgraph/bluetooth/include/ng_hci.h | |
parent | 791c9d7848b38e9ef3f8f1b78d0e00a2fbafa542 (diff) | |
download | src-4aa92fe2f385fa66a86878dd38e29cde6c28ece7.tar.gz src-4aa92fe2f385fa66a86878dd38e29cde6c28ece7.zip |
Make cached Bluetooth LE host advertise information visible from userland.
Differential Revision: https://reviews.freebsd.org/D10362
Notes
Notes:
svn path=/head/; revision=317506
Diffstat (limited to 'sys/netgraph/bluetooth/include/ng_hci.h')
-rw-r--r-- | sys/netgraph/bluetooth/include/ng_hci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netgraph/bluetooth/include/ng_hci.h b/sys/netgraph/bluetooth/include/ng_hci.h index 7fe1dc7a6f0b..34cd1a68f221 100644 --- a/sys/netgraph/bluetooth/include/ng_hci.h +++ b/sys/netgraph/bluetooth/include/ng_hci.h @@ -80,6 +80,7 @@ #define NG_HCI_FEATURES_SIZE 8 /* LMP features */ #define NG_HCI_UNIT_NAME_SIZE 248 /* unit name size */ #define NG_HCI_COMMANDS_SIZE 64 /*Command list BMP size*/ +#define NG_HCI_EXTINQ_MAX 240 /**/ /* HCI specification */ #define NG_HCI_SPEC_V10 0x00 /* v1.0 */ #define NG_HCI_SPEC_V11 0x01 /* v1.1 */ @@ -561,6 +562,9 @@ typedef struct { u_int16_t clock_offset; /* clock offset */ bdaddr_t bdaddr; /* bdaddr */ u_int8_t features[NG_HCI_FEATURES_SIZE]; /* features */ + uint8_t addrtype; + uint8_t extinq_size; /* MAX 240*/ + uint8_t extinq_data[NG_HCI_EXTINQ_MAX]; } ng_hci_node_neighbor_cache_entry_ep; #define NG_HCI_MAX_NEIGHBOR_NUM \ |