Lines Matching full:role
393 /* if the disconnected channel has a pending role switch, clear it now */
560 ** Description This function is called to get the role of the local device
577 /* Get the current role */
587 ** Description This function is called to switch role between master and
588 ** slave. If role is already set it will do nothing. If the
592 ** Returns BTM_SUCCESS if already in specified role.
596 ** BTM_MODE_UNSUPPORTED if local device does not support role switching
625 BTM_TRACE_DEBUG ("Role switch on other device is in progress 0x%02x%02x%02x%02x%02x%02x",
635 /* Finished if already in desired role */
647 /* Ignore role switch request if the previous request was not completed */
707 btm_cb.devcb.switch_role_ref_data.role = new_role;
720 ** completed by the LM. Checks to see if a role switch or
743 /* Process Role Switch if active */
746 /* if encryption turn off failed we still will try to switch role */
773 /* Finished enabling Encryption after role switch */
780 /* if role change event is registered, report it now */
784 evt.new_role = btm_cb.devcb.switch_role_ref_data.role;
789 BTM_TRACE_DEBUG("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d",
794 /* If a disconnect is pending, issue it now that role switch has completed */
1309 /* Only send if current role is Master; 2.0 spec requires this */
1444 ** Description This function is called whan a link's master/slave role change
1447 ** the registered callback with status and role (if registered).
1475 p_data->role = new_role;
1481 /* Reload LSTO: link supervision timeout is reset in the LM after a role switch */
1489 /* so the BTM_BL_ROLE_CHG_EVT uses the old role */
1493 /* Check if any SCO req is pending for role change */
1516 /* if role switch complete is needed, report it now */
1519 /* if role change event is registered, report it now */
1529 BTM_TRACE_DEBUG("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d",
1530 p_data->role, p_data->hci_status, p->switch_role_state);
1533 /* If a disconnect is pending, issue it now that role switch has completed */
2366 /* Role Switch is pending, postpone until completed */
2412 ** role switch. It first disables encryption if enabled and
2424 change of link key or role switch */