Lines Matching refs:link_role
194 uint16_t hci_handle, uint8_t link_role, in btm_acl_created() argument
201 __func__, bda.ToString().c_str(), hci_handle, link_role, in btm_acl_created()
207 p->link_role = link_role; in btm_acl_created()
219 p->link_role = link_role; in btm_acl_created()
287 link_role == HCI_ROLE_MASTER) { in btm_acl_created()
374 p->link_role); in btm_acl_removed()
516 *p_role = p->link_role; in BTM_GetRole()
566 if (p->link_role == new_role) return (BTM_SUCCESS); in BTM_SwitchRole()
672 btsnd_hcic_switch_role(p->remote_addr, (uint8_t)!p->link_role); in btm_acl_encrypt_change()
1271 if (p->link_role == BTM_ROLE_MASTER) { in BTM_SetLinkSuperTout()
1480 p->link_role = new_role; in btm_acl_role_changed()
1489 new_role = p->link_role; in btm_acl_role_changed()
2406 btsnd_hcic_switch_role(p->remote_addr, (uint8_t)!p->link_role); in btm_cont_rswitch()