• Home
  • Raw
  • Download

Lines Matching refs:p_lcb

158       if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) {  in l2c_csm_closed()
160 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
164 btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
165 p_ccb->p_rcb->psm, p_ccb->p_lcb->handle, true, in l2c_csm_closed()
173 !btm_acl_notif_conn_collision(p_ccb->p_lcb->remote_bd_addr)) { in l2c_csm_closed()
183 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
185 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
193 BTM_SetPowerMode(BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
198 if (btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
199 p_ccb->p_rcb->psm, p_ccb->p_lcb->handle, in l2c_csm_closed()
212 if (!p_ccb->p_lcb->w4_info_rsp) { in l2c_csm_closed()
238 alarm_cancel(p_ccb->p_lcb->l2c_lcb_timer); in l2c_csm_closed()
240 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
243 p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, false, in l2c_csm_closed()
250 l2cu_reject_ble_connection(p_ccb->p_lcb, p_ccb->remote_id, result); in l2c_csm_closed()
262 BTM_SetPowerMode(BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
267 if (btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
268 p_ccb->p_rcb->psm, p_ccb->p_lcb->handle, in l2c_csm_closed()
316 ((p_ccb->p_lcb) && (p_ccb->p_lcb->transport == BT_TRANSPORT_LE)) ? "LE " in l2c_csm_orig_w4_sec_comp()
331 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_orig_w4_sec_comp()
332 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_orig_w4_sec_comp()
335 btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_orig_w4_sec_comp()
336 p_ccb->p_rcb->psm, p_ccb->p_lcb->handle, true, in l2c_csm_orig_w4_sec_comp()
345 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_orig_w4_sec_comp()
350 if (!p_ccb->p_lcb->w4_info_rsp) { in l2c_csm_orig_w4_sec_comp()
372 if ((p_ccb == p_ccb->p_lcb->ccb_queue.p_first_ccb) && in l2c_csm_orig_w4_sec_comp()
373 (p_ccb == p_ccb->p_lcb->ccb_queue.p_last_ccb)) { in l2c_csm_orig_w4_sec_comp()
374 p_ccb->p_lcb->idle_timeout = 0; in l2c_csm_orig_w4_sec_comp()
388 btm_sec_abort_access_req(p_ccb->p_lcb->remote_bd_addr); in l2c_csm_orig_w4_sec_comp()
413 btm_sec_abort_access_req(p_ccb->p_lcb->remote_bd_addr); in l2c_csm_term_w4_sec_comp()
423 if (!p_ccb->p_lcb->w4_info_rsp) { in l2c_csm_term_w4_sec_comp()
431 p_ccb->p_lcb->remote_bd_addr, p_ccb->local_cid, p_ccb->p_rcb->psm, in l2c_csm_term_w4_sec_comp()
456 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_term_w4_sec_comp()
458 p_ccb->p_lcb, p_ccb->remote_id, in l2c_csm_term_w4_sec_comp()
476 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_term_w4_sec_comp()
480 btm_sec_abort_access_req(p_ccb->p_lcb->remote_bd_addr); in l2c_csm_term_w4_sec_comp()
487 btsnd_hcic_disconnect(p_ccb->p_lcb->handle, HCI_ERR_AUTH_FAILURE); in l2c_csm_term_w4_sec_comp()
491 btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_term_w4_sec_comp()
492 p_ccb->p_lcb->handle, false, &l2c_link_sec_comp, in l2c_csm_term_w4_sec_comp()
539 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_w4_l2cap_connect_rsp()
652 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_w4_l2ca_connect_rsp()
682 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_w4_l2ca_connect_rsp()
719 p_ccb->p_lcb->remote_bd_addr, p_ccb->local_cid, p_ccb->p_rcb->psm, in l2c_csm_w4_l2ca_connect_rsp()
825 l2c_link_check_send_pkts(p_ccb->p_lcb, NULL, NULL); in l2c_csm_config()
916 l2c_link_check_send_pkts(p_ccb->p_lcb, NULL, NULL); in l2c_csm_config()
944 p_ccb->p_lcb->remote_bd_addr, in l2c_csm_config()
1008 p_ccb->p_lcb->remote_bd_addr); in l2c_csm_open()
1044 if (p_ccb->p_lcb->transport != BT_TRANSPORT_LE) { in l2c_csm_open()
1050 BTM_SetPowerMode(BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, in l2c_csm_open()
1071 if (p_ccb->p_lcb->transport != BT_TRANSPORT_LE) { in l2c_csm_open()
1077 BTM_SetPowerMode(BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, in l2c_csm_open()
1082 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_open()
1094 l2c_link_check_send_pkts(p_ccb->p_lcb, NULL, NULL); in l2c_csm_open()
1136 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE && (cr_cb)) { in l2c_csm_open()
1139 l2c_link_check_send_pkts(p_ccb->p_lcb, NULL, NULL); in l2c_csm_open()
1175 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_w4_l2cap_disconnect_rsp()
1231 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_w4_l2ca_disconnect_rsp()
1242 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_w4_l2ca_disconnect_rsp()
1391 if ((p_ccb->p_lcb->rr_pri > p_ccb->ccb_priority) && in l2c_enqueue_peer_data()
1392 (p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota > 0)) { in l2c_enqueue_peer_data()
1394 p_ccb->p_lcb->rr_pri = p_ccb->ccb_priority; in l2c_enqueue_peer_data()
1399 if (p_ccb->p_lcb->link_xmit_quota == 0) l2cb.check_round_robin = true; in l2c_enqueue_peer_data()