Home
last modified time | relevance | path

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

/NextBSD/sys/netgraph/bluetooth/l2cap/
HDng_l2cap_llpi.c81 con->con_handle); in ng_l2cap_lp_con_req()
171 con->con_handle); in ng_l2cap_lp_con_cfm()
188 con->con_handle = ep->con_handle; in ng_l2cap_lp_con_cfm()
232 con->con_handle); in ng_l2cap_lp_con_ind()
307 con = ng_l2cap_con_by_handle(l2cap, ep->con_handle); in ng_l2cap_lp_discon_ind()
312 __func__, NG_NODE_NAME(l2cap->node), ep->con_handle); in ng_l2cap_lp_discon_ind()
323 con->con_handle); in ng_l2cap_lp_discon_ind()
349 ng_l2cap_lp_qos_req(ng_l2cap_p l2cap, u_int16_t con_handle, in ng_l2cap_lp_qos_req() argument
358 con = ng_l2cap_con_by_handle(l2cap, con_handle); in ng_l2cap_lp_qos_req()
363 __func__, NG_NODE_NAME(l2cap->node), con_handle); in ng_l2cap_lp_qos_req()
[all …]
HDng_l2cap_misc.c132 con->con_handle = fake_con_handle ++; in ng_l2cap_new_con()
218 con->con_handle); in ng_l2cap_discon_timeout()
316 ng_l2cap_con_by_handle(ng_l2cap_p l2cap, u_int16_t con_handle) in ng_l2cap_con_by_handle() argument
321 if (con->con_handle == con_handle) in ng_l2cap_con_by_handle()
404 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()
HDng_l2cap_cmds.c344 u_int16_t con_handle = (arg2 & 0x0ffff); in ng_l2cap_process_command_timeout() local
354 con = ng_l2cap_con_by_handle(l2cap, con_handle); in ng_l2cap_process_command_timeout()
358 __func__, NG_NODE_NAME(node), con_handle); in ng_l2cap_process_command_timeout()
366 __func__, NG_NODE_NAME(node), con_handle, ident); in ng_l2cap_process_command_timeout()
HDng_l2cap_main.c303 ep->con_handle); in ng_l2cap_lower_rcvmsg()
310 ep->con_handle, con->pending, in ng_l2cap_lower_rcvmsg()
319 con->con_handle, con->pending, in ng_l2cap_lower_rcvmsg()
585 e2->con_handle = con->con_handle; in ng_l2cap_default_rcvmsg()
HDng_l2cap_ulpi.c197 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_con_rsp()
200 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_con_rsp()
366 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_encryption_change()
964 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_write_rsp()
967 op->lcid = ch->con->con_handle; in ng_l2cap_l2ca_write_rsp()
1008 con->con_handle); in ng_l2cap_l2ca_receive()
1013 hdr->dcid = con->con_handle; in ng_l2cap_l2ca_receive()
1018 con->con_handle); in ng_l2cap_l2ca_receive()
1024 hdr->dcid = con->con_handle; in ng_l2cap_l2ca_receive()
HDng_l2cap_var.h117 u_int16_t con_handle; /* ACL connection handle */ member
HDng_l2cap_evnt.c548 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()
/NextBSD/usr.sbin/bluetooth/hccontrol/
HDstatus.c53 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_failed_contact_counter()
54 cp.con_handle = htole16(cp.con_handle); in hci_read_failed_contact_counter()
75 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_failed_contact_counter()
95 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_reset_failed_contact_counter()
96 cp.con_handle = htole16(cp.con_handle); in hci_reset_failed_contact_counter()
134 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_get_link_quality()
135 cp.con_handle = htole16(cp.con_handle); in hci_get_link_quality()
156 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_get_link_quality()
176 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_rssi()
177 cp.con_handle = htole16(cp.con_handle); in hci_read_rssi()
[all …]
HDlink_policy.c54 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_role_discovery()
55 cp.con_handle = htole16(cp.con_handle); in hci_role_discovery()
76 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_role_discovery()
170 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_link_policy_settings()
171 cp.con_handle = htole16(cp.con_handle); in hci_read_link_policy_settings()
192 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_link_policy_settings()
213 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_write_link_policy_settings()
214 cp.con_handle = htole16(cp.con_handle); in hci_write_link_policy_settings()
HDlink_control.c279 le16toh(ep->con_handle)); in hci_create_connection()
316 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_disconnect()
317 cp.con_handle = htole16(cp.con_handle); in hci_disconnect()
354 le16toh(ep->con_handle)); in hci_disconnect()
395 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_add_sco_connection()
396 cp.con_handle = htole16(cp.con_handle); in hci_add_sco_connection()
434 le16toh(ep->con_handle)); in hci_add_sco_connection()
459 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_change_connection_packet_type()
460 cp.con_handle = htole16(cp.con_handle); in hci_change_connection_packet_type()
505 le16toh(ep->con_handle)); in hci_change_connection_packet_type()
[all …]
HDhost_controller_baseband.c1289 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_link_supervision_timeout()
1290 cp.con_handle = htole16(cp.con_handle); in hci_read_link_supervision_timeout()
1313 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_link_supervision_timeout()
1334 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_write_link_supervision_timeout()
1335 cp.con_handle = htole16(cp.con_handle); in hci_write_link_supervision_timeout()
HDnode.c304 r.connections[n].con_handle, in hci_read_connection_list()
/NextBSD/sys/netgraph/bluetooth/include/
HDng_hci.h354 u_int16_t con_handle; /* connection handle + PB + BC flags */ member
363 u_int16_t con_handle; /* connection handle + reserved bits */ member
411 u_int16_t con_handle; /* connection handle */ member
420 u_int16_t con_handle; /* con_handle */ member
445 u_int16_t con_handle; /* connection handle */ member
451 u_int16_t con_handle; /* connection handle */ member
464 u_int16_t con_handle; /* connection handle */ member
470 u_int16_t con_handle; /* connection handle */ member
475 uint16_t con_handle; member
583 u_int16_t con_handle; /* connection handle */ member
[all …]
HDng_btsocket_sco.h74 u_int16_t con_handle; /* connection handle */ member
HDng_l2cap.h673 u_int16_t con_handle; /* connection handle */ member
/NextBSD/sys/netgraph/bluetooth/hci/
HDng_hci_ulpi.c191 cfm->con_handle = con->con_handle; in ng_hci_lp_acl_con_req()
446 req->cp.con_handle = htole16(acl_con->con_handle); in ng_hci_lp_sco_con_req()
558 cfm->con_handle = con->con_handle; in ng_hci_lp_le_con_req()
696 con = ng_hci_con_by_handle(unit, ep->con_handle); in ng_hci_lp_discon_req()
700 __func__, NG_NODE_NAME(unit->node), ep->con_handle); in ng_hci_lp_discon_req()
710 ep->con_handle); in ng_hci_lp_discon_req()
733 req->cp.con_handle = htole16(ep->con_handle); in ng_hci_lp_discon_req()
776 ep->con_handle = con->con_handle; in ng_hci_lp_con_cfm()
799 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()
[all …]
HDng_hci_main.c532 e2->con_handle = c->con_handle; in ng_hci_default_rcvmsg()
774 u_int16_t con_handle; in ng_hci_acl_rcvdata() local
807 con_handle = NG_HCI_CON_HANDLE(le16toh( in ng_hci_acl_rcvdata()
808 mtod(m, ng_hci_acldata_pkt_t *)->con_handle)); in ng_hci_acl_rcvdata()
822 con = ng_hci_con_by_handle(unit, con_handle); in ng_hci_acl_rcvdata()
826 "con_handle=%d\n", __func__, NG_NODE_NAME(unit->node), con_handle); in ng_hci_acl_rcvdata()
836 con_handle, con->link_type); in ng_hci_acl_rcvdata()
846 con->state, con_handle); in ng_hci_acl_rcvdata()
855 __func__, NG_NODE_NAME(unit->node), con_handle, in ng_hci_acl_rcvdata()
891 u_int16_t con_handle; in ng_hci_sco_rcvdata() local
[all …]
HDng_hci_evnt.c299 winner->con_handle, NGI_M(item)->m_pkthdr.len); in send_data_packets()
327 winner->con_handle, error); in send_data_packets()
366 state->con_handle = con->con_handle; in sync_con_queue()
522 con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->handle)); in le_connection_complete()
715 con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in con_compl()
750 lp->cp.con_handle = ep->con_handle; in con_compl()
886 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in discon_compl()
923 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in encryption_change()
974 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in read_remote_features_compl()
1025 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in qos_setup_compl()
[all …]
HDng_hci_misc.c282 con->con_handle = fake_con_handle ++; in ng_hci_new_con()
333 ng_hci_con_by_handle(ng_hci_unit_p unit, int con_handle) in ng_hci_con_by_handle() argument
338 if (con->con_handle == con_handle) in ng_hci_con_by_handle()
417 con->con_handle); in ng_hci_con_timeout()
HDng_hci_var.h181 u_int16_t con_handle; /* con. handle */ member
HDng_hci_cmds.c506 h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle)); in process_link_policy_params()
/NextBSD/sys/netgraph/bluetooth/socket/
HDng_btsocket_sco.c406 ep->status, ep->con_handle, pcb->state); in ng_btsocket_sco_process_lp_con_cfm()
423 pcb->con_handle = ep->con_handle; in ng_btsocket_sco_process_lp_con_cfm()
565 pcb = ng_btsocket_sco_pcb_by_handle(&rt->src, ep->con_handle); in ng_btsocket_sco_process_lp_discon_ind()
586 pcb->con_handle, pcb->state); in ng_btsocket_sco_process_lp_discon_ind()
683 ep->con_handle = pcb->con_handle; in ng_btsocket_sco_send_lp_discon_req()
707 u_int16_t con_handle; in ng_btsocket_sco_data_input() local
750 con_handle = NG_HCI_CON_HANDLE(le16toh(hdr->con_handle)); in ng_btsocket_sco_data_input()
757 con_handle, hdr->length); in ng_btsocket_sco_data_input()
762 pcb = ng_btsocket_sco_pcb_by_handle(&rt->src, con_handle); in ng_btsocket_sco_data_input()
882 ep->con_handle, rt->pending, in ng_btsocket_sco_default_msg_input()
[all …]
/NextBSD/usr.sbin/bluetooth/l2control/
HDl2cap.c167 r.connections[n].con_handle, in l2cap_read_connection_list()