Lines Matching refs:src_role
269 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument
280 if (!(pan_cb.role & src_role)) { in PAN_Connect()
281 PAN_TRACE_ERROR("PAN is not active for the role %d", src_role); in PAN_Connect()
286 if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_GN_SERVER && in PAN_Connect()
287 src_role != PAN_ROLE_NAP_SERVER) || in PAN_Connect()
291 src_role, dst_role); in PAN_Connect()
300 if (src_role == PAN_ROLE_CLIENT) { in PAN_Connect()
331 if (src_role == PAN_ROLE_GN_SERVER) { in PAN_Connect()
342 src_role, dst_role); in PAN_Connect()
377 PAN_TRACE_DEBUG("PAN_Connect() current active role set to %d", src_role); in PAN_Connect()
379 pan_cb.active_role = src_role; in PAN_Connect()