Searched refs:pcb (Results 1 – 5 of 5) sorted by relevance
193 tPAN_CONN* pcb = pan_get_pcb_by_handle(handle); in pan_conn_ind_cb() local194 if (pcb) { in pan_conn_ind_cb()207 if (pcb->con_state == PAN_STATE_CONNECTED) { in pan_conn_ind_cb()211 pcb->prv_src_uuid = pcb->src_uuid; in pan_conn_ind_cb()212 pcb->prv_dst_uuid = pcb->dst_uuid; in pan_conn_ind_cb()214 if (pcb->src_uuid == UUID_SERVCLASS_NAP && in pan_conn_ind_cb()218 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_conn_ind_cb()223 pcb->src_uuid = local_uuid16; in pan_conn_ind_cb()224 pcb->dst_uuid = remote_uuid16; in pan_conn_ind_cb()242 pcb = pan_allocate_pcb(p_bda, handle); in pan_conn_ind_cb()[all …]
253 tPAN_CONN* pcb = pan_get_pcb_by_addr(rem_bda); in PAN_Connect() local258 if ((pan_cb.num_conns > 1) || (pan_cb.num_conns && (!pcb))) { in PAN_Connect()280 if (pan_cb.num_conns && pan_cb.active_role == PAN_ROLE_CLIENT && !pcb) { in PAN_Connect()298 if (!pcb) pcb = pan_allocate_pcb(rem_bda, BNEP_INVALID_HANDLE); in PAN_Connect()299 if (!pcb) { in PAN_Connect()305 if (pcb->con_state == PAN_STATE_IDLE) { in PAN_Connect()307 } else if (pcb->con_state == PAN_STATE_CONNECTED) { in PAN_Connect()308 pcb->con_flags |= PAN_FLAGS_CONN_COMPLETED; in PAN_Connect()313 pcb->con_state = PAN_STATE_CONN_START; in PAN_Connect()314 pcb->prv_src_uuid = pcb->src_uuid; in PAN_Connect()[all …]
150 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()151 pan_cb.pcb[i].handle == handle) in pan_allocate_pcb()156 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()157 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb()162 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) { in pan_allocate_pcb()163 memset(&(pan_cb.pcb[i]), 0, sizeof(tPAN_CONN)); in pan_allocate_pcb()164 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb()165 pan_cb.pcb[i].handle = handle; in pan_allocate_pcb()166 return &(pan_cb.pcb[i]); in pan_allocate_pcb()185 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle()[all …]
68 tPAN_CONN pcb[MAX_PAN_CONNS]; member
1332 tBTA_JV_PCB** pcb) { in find_rfc_pcb() argument1334 *pcb = NULL; in find_rfc_pcb()1340 *pcb = &bta_jv_cb.port_cb[i]; in find_rfc_pcb()1343 << ", port.jv_handle=" << loghex((*pcb)->handle) in find_rfc_pcb()1344 << ", state=" << (*pcb)->state in find_rfc_pcb()