/freebsd/usr.sbin/bluetooth/hccontrol/ |
H A D | status.c | 54 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 D | link_policy.c | 55 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 D | link_control.c | 280 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 D | host_controller_baseband.c | 1290 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 D | node.c | 316 r.connections[n].con_handle, in hci_read_connection_list()
|
/freebsd/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_llpi.c | 82 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 D | ng_l2cap_misc.c | 133 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 D | ng_l2cap_cmds.c | 345 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 D | ng_l2cap_main.c | 304 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 D | ng_l2cap_ulpi.c | 198 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 D | ng_l2cap_var.h | 118 u_int16_t con_handle; /* ACL connection handle */ member
|
H A D | ng_l2cap_evnt.c | 549 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 D | ng_hci.h | 477 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 D | ng_btsocket_sco.h | 75 u_int16_t con_handle; /* connection handle */ member
|
H A D | ng_l2cap.h | 673 u_int16_t con_handle; /* connection handle */ member
|
/freebsd/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_ulpi.c | 192 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 D | ng_hci_main.c | 552 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 D | ng_hci_evnt.c | 300 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 D | ng_hci_misc.c | 283 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 D | ng_hci_var.h | 182 u_int16_t con_handle; /* con. handle */ member
|
H A D | ng_hci_cmds.c | 507 h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle)); in process_link_policy_params()
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_sco.c | 408 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 D | l2cap.c | 168 r.connections[n].con_handle, in l2cap_read_connection_list()
|