Lines Matching refs:new_role
596 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb)
632 if (p->link_role == new_role)
686 if (!btsnd_hcic_switch_role (remote_bd_addr, new_role))
703 btm_cb.devcb.switch_role_ref_data.role = new_role;
780 evt.new_role = btm_cb.devcb.switch_role_ref_data.role;
785 BTM_TRACE_DEBUG("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d",
786 evt.new_role, evt.hci_status, p->switch_role_state);
1446 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role)
1469 p_data->role = new_role;
1473 p->link_role = new_role;
1476 if (new_role == BTM_ROLE_MASTER)
1484 new_role = p->link_role;
1517 evt.new_role = new_role;
1523 BTM_TRACE_DEBUG("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d",