49#ifndef _NETGRAPH_HCI_H_
50#define _NETGRAPH_HCI_H_
59#define NG_HCI_NODE_TYPE "hci"
60#define NGM_HCI_COOKIE 1000774184
63#define NG_HCI_HOOK_DRV "drv"
64#define NG_HCI_HOOK_ACL "acl"
65#define NG_HCI_HOOK_SCO "sco"
66#define NG_HCI_HOOK_RAW "raw"
75#define NG_HCI_BDADDR_SIZE 6
76#define NG_HCI_LAP_SIZE 3
77#define NG_HCI_KEY_SIZE 16
78#define NG_HCI_PIN_SIZE 16
79#define NG_HCI_EVENT_MASK_SIZE 8
80#define NG_HCI_LE_EVENT_MASK_SIZE 8
81#define NG_HCI_CLASS_SIZE 3
82#define NG_HCI_FEATURES_SIZE 8
83#define NG_HCI_UNIT_NAME_SIZE 248
84#define NG_HCI_COMMANDS_SIZE 64
85#define NG_HCI_EXTINQ_MAX 240
87#define NG_HCI_SPEC_V10 0x00
88#define NG_HCI_SPEC_V11 0x01
93#define NG_HCI_LMP_3SLOT 0x01
94#define NG_HCI_LMP_5SLOT 0x02
95#define NG_HCI_LMP_ENCRYPTION 0x04
96#define NG_HCI_LMP_SLOT_OFFSET 0x08
97#define NG_HCI_LMP_TIMING_ACCURACY 0x10
98#define NG_HCI_LMP_SWITCH 0x20
99#define NG_HCI_LMP_HOLD_MODE 0x40
100#define NG_HCI_LMP_SNIFF_MODE 0x80
102#define NG_HCI_LMP_PARK_MODE 0x01
103#define NG_HCI_LMP_RSSI 0x02
104#define NG_HCI_LMP_CHANNEL_QUALITY 0x04
105#define NG_HCI_LMP_SCO_LINK 0x08
106#define NG_HCI_LMP_HV2_PKT 0x10
107#define NG_HCI_LMP_HV3_PKT 0x20
108#define NG_HCI_LMP_ULAW_LOG 0x40
109#define NG_HCI_LMP_ALAW_LOG 0x80
111#define NG_HCI_LMP_CVSD 0x01
112#define NG_HCI_LMP_PAGING_SCHEME 0x02
113#define NG_HCI_LMP_POWER_CONTROL 0x04
114#define NG_HCI_LMP_TRANSPARENT_SCO 0x08
115#define NG_HCI_LMP_FLOW_CONTROL_LAG0 0x10
116#define NG_HCI_LMP_FLOW_CONTROL_LAG1 0x20
117#define NG_HCI_LMP_FLOW_CONTROL_LAG2 0x40
120#define NG_HCI_LINK_SCO 0x00
121#define NG_HCI_LINK_ACL 0x01
122#define NG_HCI_LINK_LE_PUBLIC 0x02
123#define NG_HCI_LINK_LE_RANDOM 0x03
128#define NG_HCI_PKT_DM1 0x0008
129#define NG_HCI_PKT_DH1 0x0010
130#define NG_HCI_PKT_HV1 0x0020
131#define NG_HCI_PKT_HV2 0x0040
132#define NG_HCI_PKT_HV3 0x0080
134#define NG_HCI_PKT_DM3 0x0400
135#define NG_HCI_PKT_DH3 0x0800
137#define NG_HCI_PKT_DM5 0x4000
138#define NG_HCI_PKT_DH5 0x8000
148#define NG_HCI_UNIT_MODE_ACTIVE 0x00
149#define NG_HCI_UNIT_MODE_HOLD 0x01
150#define NG_HCI_UNIT_MODE_SNIFF 0x02
151#define NG_HCI_UNIT_MODE_PARK 0x03
155#define NG_HCI_MANDATORY_PAGE_SCAN_MODE 0x00
156#define NG_HCI_OPTIONAL_PAGE_SCAN_MODE1 0x01
157#define NG_HCI_OPTIONAL_PAGE_SCAN_MODE2 0x02
158#define NG_HCI_OPTIONAL_PAGE_SCAN_MODE3 0x03
162#define NG_HCI_SCAN_REP_MODE0 0x00
163#define NG_HCI_SCAN_REP_MODE1 0x01
164#define NG_HCI_SCAN_REP_MODE2 0x02
168#define NG_HCI_PAGE_SCAN_PERIOD_MODE0 0x00
169#define NG_HCI_PAGE_SCAN_PERIOD_MODE1 0x01
170#define NG_HCI_PAGE_SCAN_PERIOD_MODE2 0x02
174#define NG_HCI_NO_SCAN_ENABLE 0x00
175#define NG_HCI_INQUIRY_ENABLE_PAGE_DISABLE 0x01
176#define NG_HCI_INQUIRY_DISABLE_PAGE_ENABLE 0x02
177#define NG_HCI_INQUIRY_ENABLE_PAGE_ENABLE 0x03
181#define NG_HCI_HOLD_MODE_NO_CHANGE 0x00
182#define NG_HCI_HOLD_MODE_SUSPEND_PAGE_SCAN 0x01
183#define NG_HCI_HOLD_MODE_SUSPEND_INQUIRY_SCAN 0x02
184#define NG_HCI_HOLD_MODE_SUSPEND_PERIOD_INQUIRY 0x04
188#define NG_HCI_ROLE_MASTER 0x00
189#define NG_HCI_ROLE_SLAVE 0x01
193#define NG_HCI_USE_SEMI_PERMANENT_LINK_KEYS 0x00
194#define NG_HCI_USE_TEMPORARY_LINK_KEY 0x01
198#define NG_HCI_PIN_TYPE_VARIABLE 0x00
199#define NG_HCI_PIN_TYPE_FIXED 0x01
202#define NG_HCI_LINK_KEY_TYPE_COMBINATION_KEY 0x00
203#define NG_HCI_LINK_KEY_TYPE_LOCAL_UNIT_KEY 0x01
204#define NG_HCI_LINK_KEY_TYPE_REMOTE_UNIT_KEY 0x02
208#define NG_HCI_ENCRYPTION_MODE_NONE 0x00
209#define NG_HCI_ENCRYPTION_MODE_P2P 0x01
210#define NG_HCI_ENCRYPTION_MODE_ALL 0x02
214#define NG_HCI_SERVICE_TYPE_NO_TRAFFIC 0x00
215#define NG_HCI_SERVICE_TYPE_BEST_EFFORT 0x01
216#define NG_HCI_SERVICE_TYPE_GUARANTEED 0x02
220#define NG_HCI_LINK_POLICY_DISABLE_ALL_LM_MODES 0x0000
221#define NG_HCI_LINK_POLICY_ENABLE_ROLE_SWITCH 0x0001
222#define NG_HCI_LINK_POLICY_ENABLE_HOLD_MODE 0x0002
223#define NG_HCI_LINK_POLICY_ENABLE_SNIFF_MODE 0x0004
224#define NG_HCI_LINK_POLICY_ENABLE_PARK_MODE 0x0008
228#define NG_HCI_EVMSK_DEFAULT 0x00001fffffffffff
229#define NG_HCI_EVMSK_ALL 0x1fffffffffffffff
230#define NG_HCI_EVMSK_NONE 0x0000000000000000
231#define NG_HCI_EVMSK_INQUIRY_COMPL 0x0000000000000001
232#define NG_HCI_EVMSK_INQUIRY_RESULT 0x0000000000000002
233#define NG_HCI_EVMSK_CON_COMPL 0x0000000000000004
234#define NG_HCI_EVMSK_CON_REQ 0x0000000000000008
235#define NG_HCI_EVMSK_DISCON_COMPL 0x0000000000000010
236#define NG_HCI_EVMSK_AUTH_COMPL 0x0000000000000020
237#define NG_HCI_EVMSK_REMOTE_NAME_REQ_COMPL 0x0000000000000040
238#define NG_HCI_EVMSK_ENCRYPTION_CHANGE 0x0000000000000080
239#define NG_HCI_EVMSK_CHANGE_CON_LINK_KEY_COMPL 0x0000000000000100
240#define NG_HCI_EVMSK_MASTER_LINK_KEY_COMPL 0x0000000000000200
241#define NG_HCI_EVMSK_READ_REMOTE_FEATURES_COMPL 0x0000000000000400
242#define NG_HCI_EVMSK_READ_REMOTE_VER_INFO_COMPL 0x0000000000000800
243#define NG_HCI_EVMSK_QOS_SETUP_COMPL 0x0000000000001000
244#define NG_HCI_EVMSK_COMMAND_COMPL 0x0000000000002000
245#define NG_HCI_EVMSK_COMMAND_STATUS 0x0000000000004000
246#define NG_HCI_EVMSK_HARDWARE_ERROR 0x0000000000008000
247#define NG_HCI_EVMSK_FLUSH_OCCUR 0x0000000000010000
248#define NG_HCI_EVMSK_ROLE_CHANGE 0x0000000000020000
249#define NG_HCI_EVMSK_NUM_COMPL_PKTS 0x0000000000040000
250#define NG_HCI_EVMSK_MODE_CHANGE 0x0000000000080000
251#define NG_HCI_EVMSK_RETURN_LINK_KEYS 0x0000000000100000
252#define NG_HCI_EVMSK_PIN_CODE_REQ 0x0000000000200000
253#define NG_HCI_EVMSK_LINK_KEY_REQ 0x0000000000400000
254#define NG_HCI_EVMSK_LINK_KEY_NOTIFICATION 0x0000000000800000
255#define NG_HCI_EVMSK_LOOPBACK_COMMAND 0x0000000001000000
256#define NG_HCI_EVMSK_DATA_BUFFER_OVERFLOW 0x0000000002000000
257#define NG_HCI_EVMSK_MAX_SLOT_CHANGE 0x0000000004000000
258#define NG_HCI_EVMSK_READ_CLOCK_OFFSET_COMLETE 0x0000000008000000
259#define NG_HCI_EVMSK_CON_PKT_TYPE_CHANGED 0x0000000010000000
260#define NG_HCI_EVMSK_QOS_VIOLATION 0x0000000020000000
261#define NG_HCI_EVMSK_PAGE_SCAN_MODE_CHANGE 0x0000000040000000
262#define NG_HCI_EVMSK_PAGE_SCAN_REP_MODE_CHANGE 0x0000000080000000
263#define NG_HCI_EVMSK_FLOW_SPEC_COMPL 0x0000000100000000
264#define NG_HCI_EVMSK_INQUIRY_RESULT_W_RSSI 0x0000000200000000
265#define NG_HCI_EVMSK_READ_REM_EXT_FEAT_COMPL 0x0000000400000000
269#define NG_HCI_EVMSK_SYNC_CONN_COMPL 0x0000100000000000
270#define NG_HCI_EVMSK_SYNC_CONN_CHANGED 0x0000200000000000
271#define NG_HCI_EVMSK_SNIFF_SUBRATING 0x0000400000000000
272#define NG_HCI_EVMSK_EXT_INQUIRY_RESULT 0x0000800000000000
273#define NG_HCI_EVMSK_ENC_KEY_REFRESH_COMPL 0x0001000000000000
274#define NG_HCI_EVMSK_IO_CAPABILITY_REQ 0x0002000000000000
275#define NG_HCI_EVMSK_IO_CAPABILITY_RESP 0x0004000000000000
276#define NG_HCI_EVMSK_USER_CONFIRMATION_REQ 0x0008000000000000
277#define NG_HCI_EVMSK_USER_PASSKEY_REQ 0x0010000000000000
278#define NG_HCI_EVMSK_REM_OOB_DATA_REQ 0x0020000000000000
279#define NG_HCI_EVMSK_SIMPLE_PAIRING_COMPL 0x0040000000000000
280#define NG_HCI_EVMSK_LINK_SUPERV_TO_CHANGED 0x0080000000000000
281#define NG_HCI_EVMSK_ENH_FLUSH_COMPL 0x0100000000000000
282#define NG_HCI_EVMSK_USER_PASSKEY_NOTIFICATION 0x0200000000000000
283#define NG_HCI_EVMSK_KEYPRESS_NOTIFICATION 0x0400000000000000
284#define NG_HCI_EVMSK_REM_HOST_SUPP_FEAT_NOTIFI 0x0800000000000000
285#define NG_HCI_EVMSK_LE_META 0x1000000000000000
289#define NG_HCI_LEEVMSK_ALL 0x000000003fffffff
290#define NG_HCI_LEEVMSK_NONE 0x0000000000000000
291#define NG_HCI_LEEVMSK_DEFAULT 0x000000000000001f
292#define NG_HCI_LEEVMSK_CONN_COMPLETE 0x0000000000000001
293#define NG_HCI_LEEVMSK_ADV_REP 0x0000000000000002
294#define NG_HCI_LEEVMSK_CONN_UPDATE 0x0000000000000004
295#define NG_HCI_LEEVMSK_READ_REM_FEAT_REQ 0x0000000000000008
296#define NG_HCI_LEEVMSK_LONG_TERM_KEY_REQ 0x0000000000000010
297#define NG_HCI_LEEVMSK_REM_CONN_PARAM_REQ 0x0000000000000020
298#define NG_HCI_LEEVMSK_DATA_LENGTH_CHG 0x0000000000000040
299#define NG_HCI_LEEVMSK_RD_LOC_P256_PK_COMPL 0x0000000000000080
300#define NG_HCI_LEEVMSK_GEN_DHKEY_COMPL 0x0000000000000100
301#define NG_HCI_LEEVMSK_ENH_CONN_COMPL 0x0000000000000200
302#define NG_HCI_LEEVMSK_DIR_ADV_REP 0x0000000000000400
303#define NG_HCI_LEEVMSK_PHY_UPD_COMPL 0x0000000000000800
304#define NG_HCI_LEEVMSK_EXT_ADV_REP 0x0000000000001000
305#define NG_HCI_LEEVMSK_PER_ADV_SYNC_EST 0x0000000000002000
306#define NG_HCI_LEEVMSK_PER_ADV_REP 0x0000000000004000
307#define NG_HCI_LEEVMSK_PER_ADV_SYNC_LOST 0x0000000000008000
308#define NG_HCI_LEEVMSK_SCAN_TIMEOUT 0x0000000000010000
309#define NG_HCI_LEEVMSK_ADV_SET_TERM 0x0000000000020000
310#define NG_HCI_LEEVMSK_SCAN_REQ_RCVD 0x0000000000040000
311#define NG_HCI_LEEVMSK_CHAN_SEL_ALGO 0x0000000000080000
312#define NG_HCI_LEEVMSK_CONNLESS_IQ_REP 0x0000000000010000
313#define NG_HCI_LEEVMSK_CONN_IQ_REP 0x0000000000020000
314#define NG_HCI_LEEVMSK_CTE_REQ_FAILED 0x0000000000040000
315#define NG_HCI_LEEVMSK_PER_ADV_SYN_TRF_RCVD 0x0000000000080000
316#define NG_HCI_LEEVMSK_CIS_EST 0x0000000000100000
317#define NG_HCI_LEEVMSK_CIS_REQ 0x0000000000200000
318#define NG_HCI_LEEVMSK_CREATE_BIG_COMPL 0x0000000000400000
319#define NG_HCI_LEEVMSK_TERM_BIG_COMPL 0x0000000000800000
320#define NG_HCI_LEEVMSK_BIG_SYNC_EST 0x0000000001000000
321#define NG_HCI_LEEVMSK_BIG_SYNC_LOST 0x0000000002000000
322#define NG_HCI_LEEVMSK_REQ_PEER_SCA_COMPL 0x0000000004000000
323#define NG_HCI_LEEVMSK_PATH_LOSS_THRESHOLD 0x0000000008000000
324#define NG_HCI_LEEVMSK_TX_PWR_REP 0x0000000010000000
325#define NG_HCI_LEEVMSK_BIGINFO_ADV_REP 0x0000000020000000
329#define NG_HCI_FILTER_TYPE_NONE 0x00
330#define NG_HCI_FILTER_TYPE_INQUIRY_RESULT 0x01
331#define NG_HCI_FILTER_TYPE_CON_SETUP 0x02
335#define NG_HCI_FILTER_COND_INQUIRY_NEW_UNIT 0x00
336#define NG_HCI_FILTER_COND_INQUIRY_UNIT_CLASS 0x01
337#define NG_HCI_FILTER_COND_INQUIRY_BDADDR 0x02
341#define NG_HCI_FILTER_COND_CON_ANY_UNIT 0x00
342#define NG_HCI_FILTER_COND_CON_UNIT_CLASS 0x01
343#define NG_HCI_FILTER_COND_CON_BDADDR 0x02
347#define NG_HCI_XMIT_LEVEL_CURRENT 0x00
348#define NG_HCI_XMIT_LEVEL_MAXIMUM 0x01
352#define NG_HCI_H2HC_FLOW_CONTROL_NONE 0x00
353#define NG_HCI_H2HC_FLOW_CONTROL_ACL 0x01
354#define NG_HCI_H2HC_FLOW_CONTROL_SCO 0x02
355#define NG_HCI_H2HC_FLOW_CONTROL_BOTH 0x03
359#define NG_HCI_COUNTRY_CODE_NAM_EUR_JP 0x00
360#define NG_HCI_COUNTRY_CODE_FRANCE 0x01
364#define NG_HCI_LOOPBACK_NONE 0x00
365#define NG_HCI_LOOPBACK_LOCAL 0x01
366#define NG_HCI_LOOPBACK_REMOTE 0x02
380#define NG_HCI_OPCODE(gf,cf) ((((gf) & 0x3f) << 10) | ((cf) & 0x3ff))
381#define NG_HCI_OCF(op) ((op) & 0x3ff)
382#define NG_HCI_OGF(op) (((op) >> 10) & 0x3f)
389#define NG_HCI_CON_HANDLE(h) ((h) & 0x0fff)
390#define NG_HCI_PB_FLAG(h) (((h) & 0x3000) >> 12)
391#define NG_HCI_BC_FLAG(h) (((h) & 0xc000) >> 14)
392#define NG_HCI_MK_CON_HANDLE(h, pb, bc) \
393 (((h) & 0x0fff) | (((pb) & 3) << 12) | (((bc) & 3) << 14))
396#define NG_HCI_LE_PACKET_START 0x0
397#define NG_HCI_PACKET_FRAGMENT 0x1
398#define NG_HCI_PACKET_START 0x2
402#define NG_HCI_POINT2POINT 0x0
403#define NG_HCI_BROADCAST_ACTIVE 0x1
404#define NG_HCI_BROADCAST_PICONET 0x2
408#define NG_HCI_CMD_PKT 0x01
409#define NG_HCI_CMD_PKT_SIZE 0xff
417#define NG_HCI_ACL_DATA_PKT 0x02
418#define NG_HCI_ACL_PKT_SIZE 0xffff
426#define NG_HCI_SCO_DATA_PKT 0x03
427#define NG_HCI_SCO_PKT_SIZE 0xff
430 u_int16_t con_handle;
435#define NG_HCI_EVENT_PKT 0x04
436#define NG_HCI_EVENT_PKT_SIZE 0xff
450#define NG_HCI_BDADDR_ANY ((bdaddr_p) "\000\000\000\000\000\000")
464#define NGM_HCI_LP_CON_REQ 1
476#define NGM_HCI_LP_DISCON_REQ 2
483#define NGM_HCI_LP_CON_CFM 3
492#define NGM_HCI_LP_CON_IND 4
500#define NGM_HCI_LP_CON_RSP 5
508#define NGM_HCI_LP_DISCON_IND 6
516#define NGM_HCI_LP_QOS_REQ 7
528#define NGM_HCI_LP_QOS_CFM 8
535#define NGM_HCI_LP_QOS_IND 9
540#define NGM_HCI_LP_ENC_CHG 10
553#define NG_HCI_ALERT_LEVEL 1
554#define NG_HCI_ERR_LEVEL 2
555#define NG_HCI_WARN_LEVEL 3
556#define NG_HCI_INFO_LEVEL 4
559#define NG_HCI_UNIT_CONNECTED (1 << 0)
560#define NG_HCI_UNIT_INITED (1 << 1)
561#define NG_HCI_UNIT_READY (NG_HCI_UNIT_CONNECTED|NG_HCI_UNIT_INITED)
562#define NG_HCI_UNIT_COMMAND_PENDING (1 << 2)
565#define NG_HCI_CON_CLOSED 0
566#define NG_HCI_CON_W4_LP_CON_RSP 1
567#define NG_HCI_CON_W4_CONN_COMPLETE 2
568#define NG_HCI_CON_OPEN 3
571#define NGM_HCI_NODE_GET_STATE 100
575#define NGM_HCI_NODE_INIT 101
579#define NGM_HCI_NODE_GET_DEBUG 102
580#define NGM_HCI_NODE_SET_DEBUG 103
584#define NGM_HCI_NODE_GET_BUFFER 104
596#define NGM_HCI_NODE_GET_BDADDR 105
600#define NGM_HCI_NODE_GET_FEATURES 106
603#define NGM_HCI_NODE_GET_STAT 107
615#define NGM_HCI_NODE_RESET_STAT 108
618#define NGM_HCI_NODE_FLUSH_NEIGHBOR_CACHE 109
620#define NGM_HCI_NODE_GET_NEIGHBOR_CACHE 110
636#define NG_HCI_MAX_NEIGHBOR_NUM \
637 ((0xffff - sizeof(ng_hci_node_get_neighbor_cache_ep))/sizeof(ng_hci_node_neighbor_cache_entry_ep))
639#define NGM_HCI_NODE_GET_CON_LIST 111
657#define NG_HCI_MAX_CON_NUM \
658 ((0xffff - sizeof(ng_hci_node_con_list_ep))/sizeof(ng_hci_node_con_ep))
660#define NGM_HCI_NODE_UP 112
668#define NGM_HCI_SYNC_CON_QUEUE 113
674#define NGM_HCI_NODE_GET_LINK_POLICY_SETTINGS_MASK 114
675#define NGM_HCI_NODE_SET_LINK_POLICY_SETTINGS_MASK 115
678#define NGM_HCI_NODE_GET_PACKET_MASK 116
679#define NGM_HCI_NODE_SET_PACKET_MASK 117
682#define NGM_HCI_NODE_GET_ROLE_SWITCH 118
683#define NGM_HCI_NODE_SET_ROLE_SWITCH 119
686#define NGM_HCI_NODE_LIST_NAMES 200
694#define NG_HCI_OGF_LINK_CONTROL 0x01
696#define NG_HCI_OCF_INQUIRY 0x0001
704#define NG_HCI_OCF_INQUIRY_CANCEL 0x0002
708#define NG_HCI_OCF_PERIODIC_INQUIRY 0x0003
713 u_int8_t inquiry_length;
714 u_int8_t num_responses;
719#define NG_HCI_OCF_EXIT_PERIODIC_INQUIRY 0x0004
723#define NG_HCI_OCF_CREATE_CON 0x0005
734#define NG_HCI_OCF_DISCON 0x0006
736 u_int16_t con_handle;
741#define NG_HCI_OCF_ADD_SCO_CON 0x0007
743 u_int16_t con_handle;
748#define NG_HCI_OCF_ACCEPT_CON 0x0009
755#define NG_HCI_OCF_REJECT_CON 0x000a
762#define NG_HCI_OCF_LINK_KEY_REP 0x000b
773#define NG_HCI_OCF_LINK_KEY_NEG_REP 0x000c
783#define NG_HCI_OCF_PIN_CODE_REP 0x000d
795#define NG_HCI_OCF_PIN_CODE_NEG_REP 0x000e
805#define NG_HCI_OCF_CHANGE_CON_PKT_TYPE 0x000f
807 u_int16_t con_handle;
812#define NG_HCI_OCF_AUTH_REQ 0x0011
814 u_int16_t con_handle;
818#define NG_HCI_OCF_SET_CON_ENCRYPTION 0x0013
820 u_int16_t con_handle;
825#define NG_HCI_OCF_CHANGE_CON_LINK_KEY 0x0015
827 u_int16_t con_handle;
831#define NG_HCI_OCF_MASTER_LINK_KEY 0x0017
837#define NG_HCI_OCF_REMOTE_NAME_REQ 0x0019
840 u_int8_t page_scan_rep_mode;
841 u_int8_t page_scan_mode;
842 u_int16_t clock_offset;
846#define NG_HCI_OCF_READ_REMOTE_FEATURES 0x001b
848 u_int16_t con_handle;
852#define NG_HCI_OCF_READ_REMOTE_VER_INFO 0x001d
854 u_int16_t con_handle;
858#define NG_HCI_OCF_READ_CLOCK_OFFSET 0x001f
860 u_int16_t con_handle;
870#define NG_HCI_OGF_LINK_POLICY 0x02
872#define NG_HCI_OCF_HOLD_MODE 0x0001
874 u_int16_t con_handle;
880#define NG_HCI_OCF_SNIFF_MODE 0x0003
882 u_int16_t con_handle;
883 u_int16_t max_interval;
884 u_int16_t min_interval;
890#define NG_HCI_OCF_EXIT_SNIFF_MODE 0x0004
892 u_int16_t con_handle;
896#define NG_HCI_OCF_PARK_MODE 0x0005
898 u_int16_t con_handle;
899 u_int16_t max_interval;
900 u_int16_t min_interval;
904#define NG_HCI_OCF_EXIT_PARK_MODE 0x0006
906 u_int16_t con_handle;
910#define NG_HCI_OCF_QOS_SETUP 0x0007
912 u_int16_t con_handle;
922#define NG_HCI_OCF_ROLE_DISCOVERY 0x0009
924 u_int16_t con_handle;
929 u_int16_t con_handle;
933#define NG_HCI_OCF_SWITCH_ROLE 0x000b
940#define NG_HCI_OCF_READ_LINK_POLICY_SETTINGS 0x000c
942 u_int16_t con_handle;
943}
__attribute__ ((packed)) ng_hci_read_link_policy_settings_cp;
947 u_int16_t con_handle;
949}
__attribute__ ((packed)) ng_hci_read_link_policy_settings_rp;
951#define NG_HCI_OCF_WRITE_LINK_POLICY_SETTINGS 0x000d
953 u_int16_t con_handle;
955}
__attribute__ ((packed)) ng_hci_write_link_policy_settings_cp;
959 u_int16_t con_handle;
960}
__attribute__ ((packed)) ng_hci_write_link_policy_settings_rp;
968#define NG_HCI_OGF_HC_BASEBAND 0x03
970#define NG_HCI_OCF_SET_EVENT_MASK 0x0001
976#define NG_HCI_EVENT_MASK_DEFAULT 0x1fffffffffff
977#define NG_HCI_EVENT_MASK_LE 0x2000000000000000
979#define NG_HCI_OCF_RESET 0x0003
983#define NG_HCI_OCF_SET_EVENT_FILTER 0x0005
987 u_int8_t condition[0];
992#define NG_HCI_OCF_FLUSH 0x0008
994 u_int16_t con_handle;
999 u_int16_t con_handle;
1002#define NG_HCI_OCF_READ_PIN_TYPE 0x0009
1009#define NG_HCI_OCF_WRITE_PIN_TYPE 0x000a
1016#define NG_HCI_OCF_CREATE_NEW_UNIT_KEY 0x000b
1020#define NG_HCI_OCF_READ_STORED_LINK_KEY 0x000d
1032#define NG_HCI_OCF_WRITE_STORED_LINK_KEY 0x0011
1045#define NG_HCI_OCF_DELETE_STORED_LINK_KEY 0x0012
1056#define NG_HCI_OCF_CHANGE_LOCAL_NAME 0x0013
1063#define NG_HCI_OCF_READ_LOCAL_NAME 0x0014
1070#define NG_HCI_OCF_READ_CON_ACCEPT_TIMO 0x0015
1077#define NG_HCI_OCF_WRITE_CON_ACCEPT_TIMO 0x0016
1084#define NG_HCI_OCF_READ_PAGE_TIMO 0x0017
1091#define NG_HCI_OCF_WRITE_PAGE_TIMO 0x0018
1098#define NG_HCI_OCF_READ_SCAN_ENABLE 0x0019
1105#define NG_HCI_OCF_WRITE_SCAN_ENABLE 0x001a
1107 u_int8_t scan_enable;
1112#define NG_HCI_OCF_READ_PAGE_SCAN_ACTIVITY 0x001b
1118}
__attribute__ ((packed)) ng_hci_read_page_scan_activity_rp;
1120#define NG_HCI_OCF_WRITE_PAGE_SCAN_ACTIVITY 0x001c
1122 u_int16_t page_scan_interval;
1123 u_int16_t page_scan_window;
1124}
__attribute__ ((packed)) ng_hci_write_page_scan_activity_cp;
1128#define NG_HCI_OCF_READ_INQUIRY_SCAN_ACTIVITY 0x001d
1134}
__attribute__ ((packed)) ng_hci_read_inquiry_scan_activity_rp;
1136#define NG_HCI_OCF_WRITE_INQUIRY_SCAN_ACTIVITY 0x001e
1138 u_int16_t inquiry_scan_interval;
1139 u_int16_t inquiry_scan_window;
1140}
__attribute__ ((packed)) ng_hci_write_inquiry_scan_activity_cp;
1144#define NG_HCI_OCF_READ_AUTH_ENABLE 0x001f
1151#define NG_HCI_OCF_WRITE_AUTH_ENABLE 0x0020
1153 u_int8_t auth_enable;
1158#define NG_HCI_OCF_READ_ENCRYPTION_MODE 0x0021
1165#define NG_HCI_OCF_WRITE_ENCRYPTION_MODE 0x0022
1167 u_int8_t encryption_mode;
1172#define NG_HCI_OCF_READ_UNIT_CLASS 0x0023
1179#define NG_HCI_OCF_WRITE_UNIT_CLASS 0x0024
1186#define NG_HCI_OCF_READ_VOICE_SETTINGS 0x0025
1193#define NG_HCI_OCF_WRITE_VOICE_SETTINGS 0x0026
1200#define NG_HCI_OCF_READ_AUTO_FLUSH_TIMO 0x0027
1202 u_int16_t con_handle;
1207 u_int16_t con_handle;
1211#define NG_HCI_OCF_WRITE_AUTO_FLUSH_TIMO 0x0028
1213 u_int16_t con_handle;
1219 u_int16_t con_handle;
1222#define NG_HCI_OCF_READ_NUM_BROADCAST_RETRANS 0x0029
1227}
__attribute__ ((packed)) ng_hci_read_num_broadcast_retrans_rp;
1229#define NG_HCI_OCF_WRITE_NUM_BROADCAST_RETRANS 0x002a
1232}
__attribute__ ((packed)) ng_hci_write_num_broadcast_retrans_cp;
1236#define NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY 0x002b
1241}
__attribute__ ((packed)) ng_hci_read_hold_mode_activity_rp;
1243#define NG_HCI_OCF_WRITE_HOLD_MODE_ACTIVITY 0x002c
1245 u_int8_t hold_mode_activity;
1246}
__attribute__ ((packed)) ng_hci_write_hold_mode_activity_cp;
1250#define NG_HCI_OCF_READ_XMIT_LEVEL 0x002d
1252 u_int16_t con_handle;
1258 u_int16_t con_handle;
1262#define NG_HCI_OCF_READ_SCO_FLOW_CONTROL 0x002e
1269#define NG_HCI_OCF_WRITE_SCO_FLOW_CONTROL 0x002f
1276#define NG_HCI_OCF_H2HC_FLOW_CONTROL 0x0031
1283#define NG_HCI_OCF_HOST_BUFFER_SIZE 0x0033
1293#define NG_HCI_OCF_HOST_NUM_COMPL_PKTS 0x0035
1302#define NG_HCI_OCF_READ_LINK_SUPERVISION_TIMO 0x0036
1304 u_int16_t con_handle;
1305}
__attribute__ ((packed)) ng_hci_read_link_supervision_timo_cp;
1309 u_int16_t con_handle;
1311}
__attribute__ ((packed)) ng_hci_read_link_supervision_timo_rp;
1313#define NG_HCI_OCF_WRITE_LINK_SUPERVISION_TIMO 0x0037
1315 u_int16_t con_handle;
1317}
__attribute__ ((packed)) ng_hci_write_link_supervision_timo_cp;
1321 u_int16_t con_handle;
1322}
__attribute__ ((packed)) ng_hci_write_link_supervision_timo_rp;
1324#define NG_HCI_OCF_READ_SUPPORTED_IAC_NUM 0x0038
1331#define NG_HCI_OCF_READ_IAC_LAP 0x0039
1340#define NG_HCI_OCF_WRITE_IAC_LAP 0x003a
1350#define NG_HCI_OCF_READ_PAGE_SCAN_PERIOD 0x003b
1357#define NG_HCI_OCF_WRITE_PAGE_SCAN_PERIOD 0x003c
1359 u_int8_t page_scan_period_mode;
1364#define NG_HCI_OCF_READ_PAGE_SCAN 0x003d
1368 u_int8_t page_scan_mode;
1371#define NG_HCI_OCF_WRITE_PAGE_SCAN 0x003e
1373 u_int8_t page_scan_mode;
1378#define NG_HCI_OCF_READ_LE_HOST_SUPPORTED 0x6c
1385#define NG_HCI_OCF_WRITE_LE_HOST_SUPPORTED 0x6d
1387 u_int8_t le_supported_host;
1388 u_int8_t simultaneous_le_host;
1389}
__attribute__ ((packed)) ng_hci_write_le_host_supported_cp;
1400#define NG_HCI_OGF_INFO 0x04
1402#define NG_HCI_OCF_READ_LOCAL_VER 0x0001
1412#define NG_HCI_OCF_READ_LOCAL_COMMANDS 0x0002
1418#define NG_HCI_OCF_READ_LOCAL_FEATURES 0x0003
1424#define NG_HCI_OCF_READ_BUFFER_SIZE 0x0005
1427 u_int16_t max_acl_size;
1428 u_int8_t max_sco_size;
1429 u_int16_t num_acl_pkt;
1430 u_int16_t num_sco_pkt;
1433#define NG_HCI_OCF_READ_COUNTRY_CODE 0x0007
1439#define NG_HCI_OCF_READ_BDADDR 0x0009
1451#define NG_HCI_OGF_STATUS 0x05
1453#define NG_HCI_OCF_READ_FAILED_CONTACT_CNTR 0x0001
1455 u_int16_t con_handle;
1456}
__attribute__ ((packed)) ng_hci_read_failed_contact_cntr_cp;
1460 u_int16_t con_handle;
1462}
__attribute__ ((packed)) ng_hci_read_failed_contact_cntr_rp;
1464#define NG_HCI_OCF_RESET_FAILED_CONTACT_CNTR 0x0002
1466 u_int16_t con_handle;
1467}
__attribute__ ((packed)) ng_hci_reset_failed_contact_cntr_cp;
1471 u_int16_t con_handle;
1472}
__attribute__ ((packed)) ng_hci_reset_failed_contact_cntr_rp;
1474#define NG_HCI_OCF_GET_LINK_QUALITY 0x0003
1476 u_int16_t con_handle;
1481 u_int16_t con_handle;
1485#define NG_HCI_OCF_READ_RSSI 0x0005
1487 u_int16_t con_handle;
1492 u_int16_t con_handle;
1502#define NG_HCI_OGF_TESTING 0x06
1504#define NG_HCI_OCF_READ_LOOPBACK_MODE 0x0001
1511#define NG_HCI_OCF_WRITE_LOOPBACK_MODE 0x0002
1518#define NG_HCI_OCF_ENABLE_UNIT_UNDER_TEST 0x0003
1528#define NG_HCI_OGF_LE 0x08
1529#define NG_HCI_OCF_LE_SET_EVENT_MASK 0x0001
1535#define NG_HCI_LE_EVENT_MASK_ALL 0x1f
1537#define NG_HCI_OCF_LE_READ_BUFFER_SIZE 0x0002
1545#define NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES 0x0003
1550}
__attribute__ ((packed)) ng_hci_le_read_local_supported_features_rp;
1552#define NG_HCI_OCF_LE_SET_RANDOM_ADDRESS 0x0005
1558#define NG_HCI_OCF_LE_SET_ADVERTISING_PARAMETERS 0x0006
1568}
__attribute__ ((packed)) ng_hci_le_set_advertising_parameters_cp;
1571#define NG_HCI_OCF_LE_READ_ADVERTISING_CHANNEL_TX_POWER 0x0007
1576}
__attribute__ ((packed)) ng_hci_le_read_advertising_channel_tx_power_rp;
1578#define NG_HCI_OCF_LE_SET_ADVERTISING_DATA 0x0008
1579#define NG_HCI_ADVERTISING_DATA_SIZE 31
1583}
__attribute__ ((packed)) ng_hci_le_set_advertising_data_cp;
1586#define NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA 0x0009
1591}
__attribute__ ((packed)) ng_hci_le_set_scan_response_data_cp;
1594#define NG_HCI_OCF_LE_SET_ADVERTISE_ENABLE 0x000a
1600#define NG_HCI_OCF_LE_SET_SCAN_PARAMETERS 0x000b
1605 u_int8_t own_address_type;
1610#define NG_HCI_OCF_LE_SET_SCAN_ENABLE 0x000c
1617#define NG_HCI_OCF_LE_CREATE_CONNECTION 0x000d
1624 u_int8_t own_address_type;
1633#define NG_HCI_OCF_LE_CREATE_CONNECTION_CANCEL 0x000e
1636#define NG_HCI_OCF_LE_READ_WHITE_LIST_SIZE 0x000f
1641}
__attribute__ ((packed)) ng_hci_le_read_white_list_size_rp;
1643#define NG_HCI_OCF_LE_CLEAR_WHITE_LIST 0x0010
1646#define NG_HCI_OCF_LE_ADD_DEVICE_TO_WHITE_LIST 0x0011
1650}
__attribute__ ((packed)) ng_hci_le_add_device_to_white_list_cp;
1653#define NG_HCI_OCF_LE_REMOVE_DEVICE_FROM_WHITE_LIST 0x0012
1655 u_int8_t address_type;
1657}
__attribute__ ((packed)) ng_hci_le_remove_device_from_white_list_cp;
1660#define NG_HCI_OCF_LE_CONNECTION_UPDATE 0x0013
1663 u_int16_t conn_interval_min;
1664 u_int16_t conn_interval_max;
1665 u_int16_t conn_latency;
1666 u_int16_t supervision_timeout;
1672#define NG_HCI_OCF_LE_SET_HOST_CHANNEL_CLASSIFICATION 0x0014
1674 u_int8_t le_channel_map[5];
1675}
__attribute__ ((packed)) ng_hci_le_set_host_channel_classification_cp;
1678#define NG_HCI_OCF_LE_READ_CHANNEL_MAP 0x0015
1680 u_int16_t connection_handle;
1684 u_int16_t connection_handle;
1685 u_int8_t le_channel_map[5];
1688#define NG_HCI_OCF_LE_READ_REMOTE_USED_FEATURES 0x0016
1690 u_int16_t connection_handle;
1691}
__attribute__ ((packed)) ng_hci_le_read_remote_used_features_cp;
1693#define NG_HCI_128BIT 16
1694#define NG_HCI_OCF_LE_ENCRYPT 0x0017
1704#define NG_HCI_OCF_LE_RAND 0x0018
1711#define NG_HCI_OCF_LE_START_ENCRYPTION 0x0019
1713 u_int16_t connection_handle;
1714 u_int64_t random_number;
1719#define NG_HCI_OCF_LE_LONG_TERM_KEY_REQUEST_REPLY 0x001a
1721 u_int16_t connection_handle;
1723}
__attribute__ ((packed)) ng_hci_le_long_term_key_request_reply_cp;
1726 u_int16_t connection_handle;
1727}
__attribute__ ((packed)) ng_hci_le_long_term_key_request_reply_rp;
1729#define NG_HCI_OCF_LE_LONG_TERM_KEY_REQUEST_NEGATIVE_REPLY 0x001b
1731 u_int16_t connection_handle;
1732}
__attribute__((packed)) ng_hci_le_long_term_key_request_negative_reply_cp;
1735 u_int16_t connection_handle;
1736}
__attribute__ ((packed)) ng_hci_le_long_term_key_request_negative_reply_rp;
1738#define NG_HCI_OCF_LE_READ_SUGGESTED_DATA_LENGTH 0x0023
1744}
__attribute__ ((packed)) ng_hci_le_read_suggested_data_length_rp;
1746#define NG_HCI_OCF_LE_WRITE_SUGGESTED_DATA_LENGTH 0x0024
1748 u_int16_t suggested_max_tx_octets;
1749 u_int16_t suggested_max_tx_time;
1750}
__attribute__ ((packed)) ng_hci_le_write_suggested_data_length_cp;
1753#define NG_HCI_OCF_LE_READ_BUFFER_SIZE_V2 0x0060
1757 u_int16_t hc_le_data_packet_length;
1758 u_int8_t hc_total_num_le_data_packets;
1763#define NG_HCI_OCF_LE_READ_SUPPORTED_STATES 0x001c
1768}
__attribute__ ((packed)) ng_hci_le_read_supported_states_rp;
1770#define NG_HCI_OCF_LE_RECEIVER_TEST 0x001d
1776#define NG_HCI_OCF_LE_TRANSMITTER_TEST 0x001e
1784#define NG_HCI_OCF_LE_TEST_END 0x001f
1797#define NG_HCI_OGF_BT_LOGO 0x3e
1799#define NG_HCI_OGF_VENDOR 0x3f
1807#define NG_HCI_EVENT_INQUIRY_COMPL 0x01
1812#define NG_HCI_EVENT_INQUIRY_RESULT 0x02
1814 u_int8_t num_responses;
1820 u_int8_t page_scan_rep_mode;
1821 u_int8_t page_scan_period_mode;
1822 u_int8_t page_scan_mode;
1824 u_int16_t clock_offset;
1827#define NG_HCI_EVENT_CON_COMPL 0x03
1830 u_int16_t con_handle;
1833 u_int8_t encryption_mode;
1836#define NG_HCI_EVENT_CON_REQ 0x04
1843#define NG_HCI_EVENT_DISCON_COMPL 0x05
1846 u_int16_t con_handle;
1850#define NG_HCI_EVENT_AUTH_COMPL 0x06
1853 u_int16_t con_handle;
1856#define NG_HCI_EVENT_REMOTE_NAME_REQ_COMPL 0x7
1863#define NG_HCI_EVENT_ENCRYPTION_CHANGE 0x08
1866 u_int16_t con_handle;
1867 u_int8_t encryption_enable;
1870#define NG_HCI_EVENT_CHANGE_CON_LINK_KEY_COMPL 0x09
1873 u_int16_t con_handle;
1874}
__attribute__ ((packed)) ng_hci_change_con_link_key_compl_ep;
1876#define NG_HCI_EVENT_MASTER_LINK_KEY_COMPL 0x0a
1879 u_int16_t con_handle;
1883#define NG_HCI_EVENT_READ_REMOTE_FEATURES_COMPL 0x0b
1886 u_int16_t con_handle;
1888}
__attribute__ ((packed)) ng_hci_read_remote_features_compl_ep;
1890#define NG_HCI_EVENT_READ_REMOTE_VER_INFO_COMPL 0x0c
1893 u_int16_t con_handle;
1894 u_int8_t lmp_version;
1895 u_int16_t manufacturer;
1896 u_int16_t lmp_subversion;
1897}
__attribute__ ((packed)) ng_hci_read_remote_ver_info_compl_ep;
1899#define NG_HCI_EVENT_QOS_SETUP_COMPL 0x0d
1902 u_int16_t con_handle;
1904 u_int8_t service_type;
1905 u_int32_t token_rate;
1906 u_int32_t peak_bandwidth;
1908 u_int32_t delay_variation;
1911#define NG_HCI_EVENT_COMMAND_COMPL 0x0e
1918#define NG_HCI_EVENT_COMMAND_STATUS 0x0f
1921 u_int8_t num_cmd_pkts;
1925#define NG_HCI_EVENT_HARDWARE_ERROR 0x10
1930#define NG_HCI_EVENT_FLUSH_OCCUR 0x11
1932 u_int16_t con_handle;
1935#define NG_HCI_EVENT_ROLE_CHANGE 0x12
1942#define NG_HCI_EVENT_NUM_COMPL_PKTS 0x13
1944 u_int8_t num_con_handles;
1950#define NG_HCI_EVENT_MODE_CHANGE 0x14
1953 u_int16_t con_handle;
1958#define NG_HCI_EVENT_RETURN_LINK_KEYS 0x15
1966#define NG_HCI_EVENT_PIN_CODE_REQ 0x16
1971#define NG_HCI_EVENT_LINK_KEY_REQ 0x17
1976#define NG_HCI_EVENT_LINK_KEY_NOTIFICATION 0x18
1983#define NG_HCI_EVENT_LOOPBACK_COMMAND 0x19
1985 u_int8_t command[0];
1988#define NG_HCI_EVENT_DATA_BUFFER_OVERFLOW 0x1a
1993#define NG_HCI_EVENT_MAX_SLOT_CHANGE 0x1b
1995 u_int16_t con_handle;
1999#define NG_HCI_EVENT_READ_CLOCK_OFFSET_COMPL 0x1c
2002 u_int16_t con_handle;
2003 u_int16_t clock_offset;
2004}
__attribute__ ((packed)) ng_hci_read_clock_offset_compl_ep;
2006#define NG_HCI_EVENT_CON_PKT_TYPE_CHANGED 0x1d
2009 u_int16_t con_handle;
2013#define NG_HCI_EVENT_QOS_VIOLATION 0x1e
2015 u_int16_t con_handle;
2018#define NG_HCI_EVENT_PAGE_SCAN_MODE_CHANGE 0x1f
2021 u_int8_t page_scan_mode;
2024#define NG_HCI_EVENT_PAGE_SCAN_REP_MODE_CHANGE 0x20
2027 u_int8_t page_scan_rep_mode;
2028}
__attribute__ ((packed)) ng_hci_page_scan_rep_mode_change_ep;
2029#define NG_HCI_EVENT_LE 0x3e
2034#define NG_HCI_LEEV_CON_COMPL 0x01
2040 u_int8_t address_type;
2044 u_int16_t supervision_timeout;
2049#define NG_HCI_LEEV_ADVREP 0x02
2054#define NG_HCI_SCAN_RESPONSE_DATA_MAX 0x1f
2065#define NG_HCI_LEEV_CON_UPDATE_COMPL 0x03
2068 u_int16_t connection_handle;
2070 u_int16_t conn_latency;
2071 u_int16_t supervision_timeout;
2072}
__attribute__((packed)) ng_hci_connection_update_complete_ep;
2074#define NG_HCI_LEEV_READ_REMOTE_FEATURES_COMPL 0x04
2077 u_int16_t connection_handle;
2081#define NG_HCI_LEEV_LONG_TERM_KEY_REQUEST 0x05
2083 u_int16_t connection_handle;
2084 u_int64_t random_number;
2085 u_int16_t encrypted_diversifier;
2088#define NG_HCI_LEEV_REMOTE_CONN_PARAM_REQUEST 0x06
2090 u_int16_t connection_handle;
2097#define NG_HCI_LEEV_DATA_LENGTH_CHANGE 0x07
2099 u_int16_t connection_handle;
2106#define NG_HCI_LEEV_READ_LOCAL_P256_PK_COMPL 0x08
2109 u_int8_t local_p256_pk[64];
2110}
__attribute__((packed)) ng_hci_le_read_local_p256_pk_compl_ep;
2112#define NG_HCI_LEEV_GEN_DHKEY_COMPL 0x09
2115 u_int8_t dh_key[32];
2118#define NG_HCI_LEEV_ENH_CONN_COMPL 0x0a
2121 u_int16_t connection_handle;
2123 u_int8_t peer_addr_type;
2127 u_int16_t conn_interval;
2128 u_int16_t conn_latency;
2129 u_int16_t supervision_timeout;
2130 u_int8_t master_clock_accuracy;
2133#define NG_HCI_EVENT_BT_LOGO 0xfe
2135#define NG_HCI_EVENT_VENDOR 0xff
#define NG_HCI_UNIT_NAME_SIZE
#define NG_HCI_CLASS_SIZE
ng_hci_status_rp ng_hci_change_local_name_rp
ng_hci_status_rp ng_hci_le_add_device_to_white_list_rp
u_int16_t ng_hci_node_packet_mask_ep
u_int16_t ng_hci_node_debug_ep
ng_hci_status_rp ng_hci_le_set_advertise_enable_rp
ng_hci_status_rp ng_hci_periodic_inquiry_rp
ng_hci_status_rp ng_hci_le_set_random_address_rp
ng_hci_status_rp ng_hci_write_voice_settings_rp
ng_hci_status_rp ng_hci_le_set_scan_parameters_rp
#define NG_HCI_LE_EVENT_MASK_SIZE
ng_hci_status_rp ng_hci_le_transmitter_test_rp
ng_hci_status_rp ng_hci_create_new_unit_key_rp
#define NG_HCI_COMMANDS_SIZE
ng_hci_status_rp ng_hci_le_receiver_test_rp
#define NG_HCI_SCAN_RESPONSE_DATA_MAX
ng_hci_status_rp ng_hci_inquiry_cancel_rp
#define NG_HCI_EXTINQ_MAX
ng_hci_status_rp ng_hci_le_set_scan_enable_rp
ng_hci_status_rp ng_hci_write_pin_type_rp
ng_hci_status_rp ng_hci_le_set_advertising_data_rp
ng_hci_status_rp ng_hci_le_write_suggested_data_length_rp
#define NG_HCI_EVENT_MASK_SIZE
ng_hci_status_rp ng_hci_host_buffer_size_rp
ng_hci_status_rp ng_hci_le_set_scan_response_data_rp
ng_hci_status_rp ng_hci_write_scan_enable_rp
ng_hci_status_rp ng_hci_le_set_event_mask_rp
ng_hci_status_rp ng_hci_enable_unit_under_test_rp
ng_hci_status_rp ng_hci_write_page_scan_period_rp
ng_hci_status_rp ng_hci_write_page_timo_rp
#define NG_HCI_ADVERTISING_DATA_SIZE
ng_hci_status_rp ng_hci_write_page_scan_rp
ng_hci_status_rp ng_hci_write_iac_lap_rp
ng_hci_status_rp ng_hci_h2hc_flow_control_rp
#define NG_HCI_FEATURES_SIZE
u_int16_t ng_hci_node_role_switch_ep
ng_hci_status_rp ng_hci_write_inquiry_scan_activity_rp
ng_hci_status_rp ng_hci_write_hold_mode_activity_rp
ng_hci_status_rp ng_hci_write_sco_flow_control_rp
ng_hci_status_rp ng_hci_set_event_filter_rp
ng_hci_status_rp ng_hci_exit_periodic_inquiry_rp
ng_hci_status_rp ng_hci_le_set_advertising_parameters_rp
ng_hci_status_rp ng_hci_le_create_connection_cancel_rp
ng_hci_status_rp ng_hci_le_set_host_channel_classification_rp
ng_hci_status_rp ng_hci_write_page_scan_activity_rp
#define NG_HCI_BDADDR_SIZE
ng_hci_status_rp ng_hci_write_con_accept_timo_rp
ng_hci_status_rp ng_hci_le_clear_white_list_rp
u_int16_t ng_hci_node_state_ep
ng_hci_status_rp ng_hci_set_event_mask_rp
ng_hci_status_rp ng_hci_write_encryption_mode_rp
u_int16_t ng_hci_node_link_policy_mask_ep
ng_hci_status_rp ng_hci_write_le_host_supported_rp
ng_hci_status_rp ng_hci_reset_rp
ng_hci_status_rp ng_hci_le_remove_device_from_white_list_rp
ng_hci_status_rp ng_hci_write_auth_enable_rp
ng_hci_status_rp ng_hci_write_loopback_mode_rp
ng_hci_status_rp ng_hci_write_unit_class_rp
ng_hci_status_rp ng_hci_write_num_broadcast_retrans_rp
struct ubt_softc __attribute__
u_int8_t encryption_enable
u_int8_t advertising_filter_policy
u_int8_t hold_mode_activity
u_int8_t simultaneous_le_host
u_int16_t advertising_interval_min
u_int16_t supervision_timeout
u_int16_t num_keys_deleted
u_int16_t maximum_ce_length
u_int8_t hc_total_num_le_data_packets
u_int8_t advertising_type
u_int8_t advertising_enable
u_int8_t scanning_filter_policy
u_int16_t advertising_interval_max
u_int16_t le_scan_interval
u_int8_t hc_total_num_iso_data_packets
u_int8_t filter_condition_type
u_int16_t number_of_packets
u_int8_t length_of_test_data
u_int16_t conn_interval_min
u_int16_t conn_interval_max
u_int16_t min_period_length
bdaddr_t peer_res_private_addr
u_int8_t le_supported_host
u_int8_t scan_response_data_length
u_int16_t connection_handle
u_int16_t inquiry_scan_window
bdaddr_t local_res_private_addr
u_int8_t page_scan_period_mode
u_int16_t encrypted_diversifier
u_int16_t page_scan_window
u_int16_t hc_iso_data_packet_length
u_int16_t max_period_length
u_int8_t filter_duplicates
u_int16_t inquiry_scan_interval
u_int8_t master_clock_accuracy
u_int8_t num_keys_written
u_int32_t delay_variation
u_int8_t direct_address_type
u_int16_t page_scan_interval
u_int8_t own_address_type
u_int16_t suggested_max_tx_time
u_int16_t minimum_ce_length
u_int16_t hc_le_data_packet_length
u_int8_t advertising_data_length
u_int16_t suggested_max_tx_octets
u_int8_t transmit_power_level
u_int8_t advertising_channel_map
u_int8_t page_scan_rep_mode
u_int8_t accept_role_switch
u_int32_t delay_variation
u_int32_t num_connections
u_int16_t page_scan_rep_mode