Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/netgraph/bluetooth/include/
Dng_hci.h351 u_int16_t con_handle; /* connection handle + PB + BC flags */ member
360 u_int16_t con_handle; /* connection handle + reserved bits */ member
408 u_int16_t con_handle; /* connection handle */ member
417 u_int16_t con_handle; /* con_handle */ member
442 u_int16_t con_handle; /* connection handle */ member
448 u_int16_t con_handle; /* connection handle */ member
461 u_int16_t con_handle; /* connection handle */ member
467 u_int16_t con_handle; /* connection handle */ member
574 u_int16_t con_handle; /* connection handle */ member
591 u_int16_t con_handle; /* connection handle */ member
[all …]
Dng_btsocket_sco.h74 u_int16_t con_handle; /* connection handle */ member
Dng_l2cap.h632 u_int16_t con_handle; /* connection handle */ member
/freebsd-9-stable/sys/netgraph/bluetooth/l2cap/
Dng_l2cap_llpi.c81 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()
308 con = ng_l2cap_con_by_handle(l2cap, ep->con_handle); in ng_l2cap_lp_discon_ind()
313 __func__, NG_NODE_NAME(l2cap->node), ep->con_handle); in ng_l2cap_lp_discon_ind()
324 con->con_handle); in ng_l2cap_lp_discon_ind()
350 ng_l2cap_lp_qos_req(ng_l2cap_p l2cap, u_int16_t con_handle, in ng_l2cap_lp_qos_req() argument
359 con = ng_l2cap_con_by_handle(l2cap, con_handle); in ng_l2cap_lp_qos_req()
364 __func__, NG_NODE_NAME(l2cap->node), con_handle); in ng_l2cap_lp_qos_req()
[all …]
Dng_l2cap_misc.c129 con->con_handle = fake_con_handle ++; in ng_l2cap_new_con()
214 con->con_handle); in ng_l2cap_discon_timeout()
311 ng_l2cap_con_by_handle(ng_l2cap_p l2cap, u_int16_t con_handle) in ng_l2cap_con_by_handle() argument
316 if (con->con_handle == con_handle) in ng_l2cap_con_by_handle()
483 con->con_handle); in ng_l2cap_lp_timeout()
525 arg = ((cmd->ident << 16) | cmd->con->con_handle); in ng_l2cap_command_timeout()
Dng_l2cap_cmds.c331 u_int16_t con_handle = (arg2 & 0x0ffff); in ng_l2cap_process_command_timeout() local
341 con = ng_l2cap_con_by_handle(l2cap, con_handle); in ng_l2cap_process_command_timeout()
345 __func__, NG_NODE_NAME(node), con_handle); in ng_l2cap_process_command_timeout()
353 __func__, NG_NODE_NAME(node), con_handle, ident); in ng_l2cap_process_command_timeout()
Dng_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()
583 e2->con_handle = con->con_handle; in ng_l2cap_default_rcvmsg()
Dng_l2cap_var.h115 u_int16_t con_handle; /* ACL connection handle */ member
Dng_l2cap_evnt.c430 con->con_handle); in ng_l2cap_process_con_rsp()
684 con->con_handle); in ng_l2cap_process_cfg_rsp()
925 con->con_handle); in ng_l2cap_process_discon_rsp()
/freebsd-9-stable/usr.sbin/bluetooth/hccontrol/
Dstatus.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 …]
Dlink_policy.c53 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_role_discovery()
54 cp.con_handle = htole16(cp.con_handle); in hci_role_discovery()
75 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_role_discovery()
169 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_link_policy_settings()
170 cp.con_handle = htole16(cp.con_handle); in hci_read_link_policy_settings()
191 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_link_policy_settings()
212 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_write_link_policy_settings()
213 cp.con_handle = htole16(cp.con_handle); in hci_write_link_policy_settings()
Dlink_control.c278 le16toh(ep->con_handle)); in hci_create_connection()
315 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_disconnect()
316 cp.con_handle = htole16(cp.con_handle); in hci_disconnect()
353 le16toh(ep->con_handle)); in hci_disconnect()
394 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_add_sco_connection()
395 cp.con_handle = htole16(cp.con_handle); in hci_add_sco_connection()
433 le16toh(ep->con_handle)); in hci_add_sco_connection()
458 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_change_connection_packet_type()
459 cp.con_handle = htole16(cp.con_handle); in hci_change_connection_packet_type()
504 le16toh(ep->con_handle)); in hci_change_connection_packet_type()
[all …]
Dhost_controller_baseband.c1288 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_read_link_supervision_timeout()
1289 cp.con_handle = htole16(cp.con_handle); in hci_read_link_supervision_timeout()
1312 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_link_supervision_timeout()
1333 cp.con_handle = (uint16_t) (n & 0x0fff); in hci_write_link_supervision_timeout()
1334 cp.con_handle = htole16(cp.con_handle); in hci_write_link_supervision_timeout()
Dnode.c303 r.connections[n].con_handle, in hci_read_connection_list()
/freebsd-9-stable/sys/netgraph/bluetooth/hci/
Dng_hci_ulpi.c179 cfm->con_handle = con->con_handle; in ng_hci_lp_acl_con_req()
434 req->cp.con_handle = htole16(acl_con->con_handle); in ng_hci_lp_sco_con_req()
510 con = ng_hci_con_by_handle(unit, ep->con_handle); in ng_hci_lp_discon_req()
514 __func__, NG_NODE_NAME(unit->node), ep->con_handle); in ng_hci_lp_discon_req()
524 ep->con_handle); in ng_hci_lp_discon_req()
547 req->cp.con_handle = htole16(ep->con_handle); in ng_hci_lp_discon_req()
590 ep->con_handle = con->con_handle; in ng_hci_lp_con_cfm()
613 ep->con_handle = con->con_handle; in ng_hci_lp_con_cfm()
900 ep->con_handle = con->con_handle; in ng_hci_lp_discon_ind()
918 ep->con_handle = con->con_handle; in ng_hci_lp_discon_ind()
[all …]
Dng_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
809 con_handle = NG_HCI_CON_HANDLE(le16toh( in ng_hci_acl_rcvdata()
810 mtod(m, ng_hci_acldata_pkt_t *)->con_handle)); in ng_hci_acl_rcvdata()
824 con = ng_hci_con_by_handle(unit, con_handle); in ng_hci_acl_rcvdata()
828 "con_handle=%d\n", __func__, NG_NODE_NAME(unit->node), con_handle); in ng_hci_acl_rcvdata()
838 con_handle, con->link_type); in ng_hci_acl_rcvdata()
848 con->state, con_handle); in ng_hci_acl_rcvdata()
857 __func__, NG_NODE_NAME(unit->node), con_handle, in ng_hci_acl_rcvdata()
893 u_int16_t con_handle; in ng_hci_sco_rcvdata() local
[all …]
Dng_hci_evnt.c291 winner->con_handle, NGI_M(item)->m_pkthdr.len); in send_data_packets()
319 winner->con_handle, error); in send_data_packets()
359 state->con_handle = con->con_handle; in sync_con_queue()
490 con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in con_compl()
525 lp->cp.con_handle = ep->con_handle; in con_compl()
661 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in discon_compl()
699 u_int16_t h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in encryption_change()
746 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in read_remote_features_compl()
796 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in qos_setup_compl()
906 con->con_handle, con->pending, p); in num_compl_pkts()
[all …]
Dng_hci_misc.c281 con->con_handle = fake_con_handle ++; in ng_hci_new_con()
332 ng_hci_con_by_handle(ng_hci_unit_p unit, int con_handle) in ng_hci_con_by_handle() argument
337 if (con->con_handle == con_handle) in ng_hci_con_by_handle()
416 con->con_handle); in ng_hci_con_timeout()
Dng_hci_var.h181 u_int16_t con_handle; /* con. handle */ member
Dng_hci_cmds.c497 h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle)); in process_link_policy_params()
/freebsd-9-stable/sys/netgraph/bluetooth/socket/
Dng_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 …]
/freebsd-9-stable/usr.sbin/bluetooth/l2control/
Dl2cap.c166 r.connections[n].con_handle, in l2cap_read_connection_list()