Lines Matching refs:p_lcb
169 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
170 p_ccb->p_lcb->handle, TRUE, &l2c_link_sec_comp, p_ccb);
176 || !btm_acl_notif_conn_collision(p_ccb->p_lcb->remote_bd_addr))
200 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings);
203 BTM_CancelSniffMode (p_ccb->p_lcb->remote_bd_addr);
207 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
208 p_ccb->p_lcb->handle, TRUE, &l2c_link_sec_comp, p_ccb) == BTM_CMD_STARTED)
216 if (!p_ccb->p_lcb->w4_info_rsp)
240 btu_stop_timer (&p_ccb->p_lcb->timer_entry);
257 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings);
260 BTM_CancelSniffMode (p_ccb->p_lcb->remote_bd_addr);
264 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
265 p_ccb->p_lcb->handle, FALSE, &l2c_link_sec_comp, p_ccb) == BTM_CMD_STARTED)
334 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
335 p_ccb->p_lcb->handle, TRUE, &l2c_link_sec_comp, p_ccb);
341 if (!p_ccb->p_lcb->w4_info_rsp)
362 if ( (p_ccb == p_ccb->p_lcb->ccb_queue.p_first_ccb) && (p_ccb == p_ccb->p_lcb->ccb_queue.p_last_ccb) )
364 p_ccb->p_lcb->idle_timeout = 0;
378 btm_sec_abort_access_req (p_ccb->p_lcb->remote_bd_addr);
420 btm_sec_abort_access_req (p_ccb->p_lcb->remote_bd_addr);
429 if (!p_ccb->p_lcb->w4_info_rsp)
435 (*p_ccb->p_rcb->api.pL2CA_ConnectInd_Cb) (p_ccb->p_lcb->remote_bd_addr, p_ccb->local_cid,
477 l2cu_send_peer_disc_rsp (p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, p_ccb->remote_cid);
480 btm_sec_abort_access_req (p_ccb->p_lcb->remote_bd_addr);
487 if (!btsnd_hcic_disconnect (p_ccb->p_lcb->handle, HCI_ERR_AUTH_FAILURE))
489 L2CAP_TRACE_API ("L2CAP - Calling btsnd_hcic_disconnect for handle %i failed", p_ccb->p_lcb->handle);
495 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
496 p_ccb->p_lcb->handle, FALSE, &l2c_link_sec_comp, p_ccb);
684 (*p_ccb->p_rcb->api.pL2CA_ConnectInd_Cb) (p_ccb->p_lcb->remote_bd_addr,
794 l2c_link_check_send_pkts (p_ccb->p_lcb, NULL, NULL);
877 l2c_link_check_send_pkts (p_ccb->p_lcb, NULL, NULL);
901 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb)(p_ccb->p_lcb->remote_bd_addr,(BT_HDR *)p_data);
976 (*p_ccb->p_rcb->api.pL2CA_QoSViolationInd_Cb)(p_ccb->p_lcb->remote_bd_addr);
1020 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings);
1023 BTM_CancelSniffMode (p_ccb->p_lcb->remote_bd_addr);
1044 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings);
1047 BTM_CancelSniffMode (p_ccb->p_lcb->remote_bd_addr);
1057 l2c_link_check_send_pkts (p_ccb->p_lcb, NULL, NULL);
1114 l2cu_send_peer_disc_rsp (p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, p_ccb->remote_cid);
1171 l2cu_send_peer_disc_rsp (p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, p_ccb->remote_cid);
1179 l2cu_send_peer_disc_rsp (p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, p_ccb->remote_cid);
1325 if (( p_ccb->p_lcb->rr_pri > p_ccb->ccb_priority )
1326 &&( p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota > 0))
1329 p_ccb->p_lcb->rr_pri = p_ccb->ccb_priority;
1334 if (p_ccb->p_lcb->link_xmit_quota == 0)