Home | History | Annotate | Download | only in smp

Lines Matching full:role

108     SMP_TRACE_DEBUG("%s before update role=%d recv=%d local_i_key = %02x, local_r_key = %02x",
109 __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key);
121 if (p_cb->role == HCI_ROLE_SLAVE)
570 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE))
593 if (p_cb->role == HCI_ROLE_SLAVE)
845 if (!p_dev_rec->new_encryption_key_is_p256 && p_cb->role == HCI_ROLE_SLAVE)
853 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE))
877 if (p_cb->role == HCI_ROLE_SLAVE)
933 if (p_cb->role == HCI_ROLE_MASTER)
949 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0)
966 SMP_TRACE_DEBUG("%s role=%d (0-master) r_keys=0x%x i_keys=0x%x",
967 __func__, p_cb->role, p_cb->local_r_key, p_cb->local_i_key);
969 if (p_cb->role == HCI_ROLE_SLAVE||
970 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER))
1108 if (p_cb->role == HCI_ROLE_SLAVE)
1223 if (p_cb->role == HCI_ROLE_MASTER)
1254 else if (p_cb->role == HCI_ROLE_MASTER)
1267 UINT8 key_to_dist = (p_cb->role == HCI_ROLE_SLAVE) ? p_cb->local_r_key : p_cb->local_i_key;
1291 SMP_TRACE_DEBUG("%s role=%d (0-master) r_keys=0x%x i_keys=0x%x",
1292 __func__, p_cb->role, p_cb->local_r_key, p_cb->local_i_key);
1294 if (p_cb->role == HCI_ROLE_SLAVE ||
1295 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER))
1337 if (p_cb->role == HCI_ROLE_MASTER &&
1549 if (p_cb->role == HCI_ROLE_SLAVE)
1559 ** messages appropriate for the role and association model.
1618 if (p_cb->role == HCI_ROLE_SLAVE)
1644 if (p_cb->role == HCI_ROLE_MASTER)
1659 if (p_cb->role == HCI_ROLE_MASTER)
1676 ** The actions depend on the selected association model and the role.
1699 if (p_cb->role == HCI_ROLE_MASTER)
1734 if (p_cb->role == HCI_ROLE_SLAVE)
1750 if (p_cb->role == HCI_ROLE_SLAVE)
1791 if (p_cb->role == HCI_ROLE_SLAVE)
1847 if ((p_cb->role == HCI_ROLE_SLAVE) &&