Home
last modified time | relevance | path

Searched refs:con_handle (Results 1 – 23 of 23) sorted by relevance

/freebsd/usr.sbin/bluetooth/hccontrol/
H A Dstatus.c54 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_failed_contact_counter()
55 cp.con_handle = htole16(cp.con_handle); in hci_read_failed_contact_counter()
76 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_failed_contact_counter()
96 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_reset_failed_contact_counter()
97 cp.con_handle = htole16(cp.con_handle); in hci_reset_failed_contact_counter()
135 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_get_link_quality()
136 cp.con_handle = htole16(cp.con_handle); in hci_get_link_quality()
157 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_get_link_quality()
177 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_rssi()
178 cp.con_handle = htole16(cp.con_handle); in hci_read_rssi()
[all …]
H A Dlink_policy.c55 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_role_discovery()
56 cp.con_handle = htole16(cp.con_handle); in hci_role_discovery()
77 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_role_discovery()
171 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_link_policy_settings()
172 cp.con_handle = htole16(cp.con_handle); in hci_read_link_policy_settings()
193 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_link_policy_settings()
214 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_write_link_policy_settings()
215 cp.con_handle = htole16(cp.con_handle); in hci_write_link_policy_settings()
H A Dlink_control.c280 le16toh(ep->con_handle)); in hci_create_connection()
318 cp.con_handle = htole16(cp.con_handle); in hci_disconnect()
355 le16toh(ep->con_handle)); in hci_disconnect()
397 cp.con_handle = htole16(cp.con_handle); in hci_add_sco_connection()
435 le16toh(ep->con_handle)); in hci_add_sco_connection()
461 cp.con_handle = htole16(cp.con_handle); in hci_change_connection_packet_type()
506 le16toh(ep->con_handle)); in hci_change_connection_packet_type()
624 cp.con_handle = htole16(cp.con_handle); in hci_read_remote_supported_features()
663 le16toh(ep->con_handle)); in hci_read_remote_supported_features()
692 cp.con_handle = htole16(cp.con_handle); in hci_read_remote_version_information()
[all …]
H A Dhost_controller_baseband.c1290 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_link_supervision_timeout()
1291 cp.con_handle = htole16(cp.con_handle); in hci_read_link_supervision_timeout()
1314 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_link_supervision_timeout()
1335 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_write_link_supervision_timeout()
1336 cp.con_handle = htole16(cp.con_handle); in hci_write_link_supervision_timeout()
H A Dnode.c316 r.connections[n].con_handle, in hci_read_connection_list()
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.c82 con->con_handle); in ng_l2cap_lp_con_req()
172 con->con_handle); in ng_l2cap_lp_con_cfm()
189 con->con_handle = ep->con_handle; in ng_l2cap_lp_con_cfm()
233 con->con_handle); in ng_l2cap_lp_con_ind()
324 con->con_handle); in ng_l2cap_lp_discon_ind()
375 con->con_handle); in ng_l2cap_lp_qos_req()
396 ep->con_handle = con_handle; in ng_l2cap_lp_qos_req()
528 if((ch->con->con_handle == ep->con_handle) && in ng_l2cap_lp_enc_change()
685 acl_hdr->con_handle = le16toh(acl_hdr->con_handle); in ng_l2cap_lp_receive()
686 con_handle = NG_HCI_CON_HANDLE(acl_hdr->con_handle); in ng_l2cap_lp_receive()
[all …]
H A Dng_l2cap_misc.c133 con->con_handle = fake_con_handle ++; in ng_l2cap_new_con()
219 con->con_handle); in ng_l2cap_discon_timeout()
317 ng_l2cap_con_by_handle(ng_l2cap_p l2cap, u_int16_t con_handle) in ng_l2cap_con_by_handle() argument
322 if (con->con_handle == con_handle) in ng_l2cap_con_by_handle()
405 u_int16_t con_handle) in ng_l2cap_chan_by_conhandle() argument
411 (ch->con->con_handle == con_handle)) in ng_l2cap_chan_by_conhandle()
518 con->con_handle); in ng_l2cap_lp_timeout()
560 arg = ((cmd->ident << 16) | cmd->con->con_handle); in ng_l2cap_command_timeout()
H A Dng_l2cap_cmds.c345 u_int16_t con_handle = (arg2 & 0x0ffff); in ng_l2cap_process_command_timeout() local
355 con = ng_l2cap_con_by_handle(l2cap, con_handle); in ng_l2cap_process_command_timeout()
359 __func__, NG_NODE_NAME(node), con_handle); in ng_l2cap_process_command_timeout()
367 __func__, NG_NODE_NAME(node), con_handle, ident); in ng_l2cap_process_command_timeout()
H A Dng_l2cap_main.c304 ep->con_handle); in ng_l2cap_lower_rcvmsg()
311 ep->con_handle, con->pending, in ng_l2cap_lower_rcvmsg()
320 con->con_handle, con->pending, in ng_l2cap_lower_rcvmsg()
586 e2->con_handle = con->con_handle; in ng_l2cap_default_rcvmsg()
H A Dng_l2cap_ulpi.c198 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_con_rsp()
201 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_con_rsp()
367 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_encryption_change()
965 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_write_rsp()
968 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_write_rsp()
1009 con->con_handle); in ng_l2cap_l2ca_receive()
1014 hdr->dcid = con->con_handle; in ng_l2cap_l2ca_receive()
1019 con->con_handle); in ng_l2cap_l2ca_receive()
1025 hdr->dcid = con->con_handle; in ng_l2cap_l2ca_receive()
1395 ip->lcid = ch->con->con_handle; in ng_l2cap_l2ca_discon_ind()
H A Dng_l2cap_var.h118 u_int16_t con_handle; /* ACL connection handle */ member
H A Dng_l2cap_evnt.c549 con->con_handle); in ng_l2cap_process_con_rsp()
805 con->con_handle); in ng_l2cap_process_cfg_rsp()
1046 con->con_handle); in ng_l2cap_process_discon_rsp()
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_hci.h477 u_int16_t con_handle; /* connection handle */ member
486 u_int16_t con_handle; /* con_handle */ member
511 u_int16_t con_handle; /* connection handle */ member
536 u_int16_t con_handle; /* connection handle */ member
541 uint16_t con_handle; member
669 u_int16_t con_handle; /* connection handle */ member
735 u_int16_t con_handle; /* connection handle */ member
742 u_int16_t con_handle; /* connection handle */ member
806 u_int16_t con_handle; /* connection handle */ member
813 u_int16_t con_handle; /* connection handle */ member
[all …]
H A Dng_btsocket_sco.h75 u_int16_t con_handle; /* connection handle */ member
H A Dng_l2cap.h673 u_int16_t con_handle; /* connection handle */ member
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c192 cfm->con_handle = con->con_handle; in ng_hci_lp_acl_con_req()
559 cfm->con_handle = con->con_handle; in ng_hci_lp_le_con_req()
777 ep->con_handle = con->con_handle; in ng_hci_lp_con_cfm()
800 ep->con_handle = con->con_handle; in ng_hci_lp_con_cfm()
834 ep->con_handle = con->con_handle; in ng_hci_lp_enc_change()
1116 ep->con_handle = con->con_handle; in ng_hci_lp_discon_ind()
1134 ep->con_handle = con->con_handle; in ng_hci_lp_discon_ind()
1277 ep->con_handle = con->con_handle; in ng_hci_lp_qos_cfm()
1297 ep->con_handle = con->con_handle; in ng_hci_lp_qos_cfm()
1337 ep->con_handle = con->con_handle; in ng_hci_lp_qos_ind()
[all …]
H A Dng_hci_main.c552 e2->con_handle = c->con_handle; in ng_hci_default_rcvmsg()
794 u_int16_t con_handle; in ng_hci_acl_rcvdata() local
827 con_handle = NG_HCI_CON_HANDLE(le16toh( in ng_hci_acl_rcvdata()
842 con = ng_hci_con_by_handle(unit, con_handle); in ng_hci_acl_rcvdata()
856 con_handle, con->link_type); in ng_hci_acl_rcvdata()
866 con->state, con_handle); in ng_hci_acl_rcvdata()
911 u_int16_t con_handle; in ng_hci_sco_rcvdata() local
946 con_handle = NG_HCI_CON_HANDLE(le16toh( in ng_hci_sco_rcvdata()
961 con = ng_hci_con_by_handle(unit, con_handle); in ng_hci_sco_rcvdata()
975 con_handle, con->link_type); in ng_hci_sco_rcvdata()
[all …]
H A Dng_hci_evnt.c300 winner->con_handle, NGI_M(item)->m_pkthdr.len); in send_data_packets()
328 winner->con_handle, error); in send_data_packets()
367 state->con_handle = con->con_handle; in sync_con_queue()
736 con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in con_compl()
771 lp->cp.con_handle = ep->con_handle; in con_compl()
907 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in discon_compl()
944 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in encryption_change()
995 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in read_remote_features_compl()
1046 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in qos_setup_compl()
1156 con->con_handle, con->pending, p); in num_compl_pkts()
[all …]
H A Dng_hci_misc.c283 con->con_handle = fake_con_handle ++; in ng_hci_new_con()
334 ng_hci_con_by_handle(ng_hci_unit_p unit, int con_handle) in ng_hci_con_by_handle() argument
339 if (con->con_handle == con_handle) in ng_hci_con_by_handle()
418 con->con_handle); in ng_hci_con_timeout()
H A Dng_hci_var.h182 u_int16_t con_handle; /* con. handle */ member
H A Dng_hci_cmds.c507 h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle)); in process_link_policy_params()
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_sco.c408 ep->status, ep->con_handle, pcb->state); in ng_btsocket_sco_process_lp_con_cfm()
425 pcb->con_handle = ep->con_handle; in ng_btsocket_sco_process_lp_con_cfm()
581 pcb->con_handle, pcb->state); in ng_btsocket_sco_process_lp_discon_ind()
678 ep->con_handle = pcb->con_handle; in ng_btsocket_sco_send_lp_discon_req()
702 u_int16_t con_handle; in ng_btsocket_sco_data_input() local
745 con_handle = NG_HCI_CON_HANDLE(le16toh(hdr->con_handle)); in ng_btsocket_sco_data_input()
752 con_handle, hdr->length); in ng_btsocket_sco_data_input()
877 ep->con_handle, rt->pending, in ng_btsocket_sco_default_msg_input()
1473 tmp = pcb->con_handle; in ng_btsocket_sco_ctloutput()
1750 hdr->con_handle = htole16(NG_HCI_MK_CON_HANDLE(pcb->con_handle, 0, 0)); in ng_btsocket_sco_send2()
[all …]
/freebsd/usr.sbin/bluetooth/l2control/
H A Dl2cap.c168 r.connections[n].con_handle, in l2cap_read_connection_list()