Lines Matching refs:bdaddr
61 * hci_acl_open(unit, bdaddr)
63 * open ACL connection to remote bdaddr. Only one ACL connection is permitted
68 hci_acl_open(struct hci_unit *unit, bdaddr_t *bdaddr)
76 KASSERT(bdaddr != NULL);
78 link = hci_link_lookup_bdaddr(unit, bdaddr, HCI_LINK_ACL);
80 link = hci_link_alloc(unit, bdaddr, HCI_LINK_ACL);
91 bdaddr_copy(&cp.bdaddr, bdaddr);
94 memo = hci_memo_find(unit, bdaddr);
168 * There should not be a link to the same bdaddr already, we check
172 hci_acl_newconn(struct hci_unit *unit, bdaddr_t *bdaddr)
190 link = hci_link_lookup_bdaddr(unit, bdaddr, HCI_LINK_ACL);
198 link = hci_link_alloc(unit, bdaddr, HCI_LINK_ACL);
769 hci_sco_newconn(struct hci_unit *unit, bdaddr_t *bdaddr)
783 bdaddr_copy(&raddr.bt_bdaddr, bdaddr);
790 acl = hci_link_lookup_bdaddr(unit, bdaddr, HCI_LINK_ACL);
807 bdaddr_copy(&new->sp_raddr, bdaddr);
809 sco = hci_link_alloc(unit, bdaddr, HCI_LINK_SCO);
815 sco->hl_link = hci_acl_open(unit, bdaddr);
895 hci_link_alloc(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type)
908 bdaddr_copy(&link->hl_bdaddr, bdaddr);
1027 hci_link_lookup_bdaddr(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type)
1032 KASSERT(bdaddr != NULL);
1041 if (bdaddr_same(&link->hl_bdaddr, bdaddr))