Home
last modified time | relevance | path

Searched refs:p_fixed_ccbs (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_api.cc1208 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in L2CA_ConnectFixedChnl()
1313 if (!p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]) { in L2CA_SendFixedChnlData()
1321 if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent) { in L2CA_SendFixedChnlData()
1327 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] in L2CA_SendFixedChnlData()
1329 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->buff_quota); in L2CA_SendFixedChnlData()
1335 l2c_enqueue_peer_data(p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL], in L2CA_SendFixedChnlData()
1347 if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent) { in L2CA_SendFixedChnlData()
1393 (!p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL])) { in L2CA_RemoveFixedChnl()
1404 p_ccb = p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in L2CA_RemoveFixedChnl()
1406 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = NULL; in L2CA_RemoveFixedChnl()
[all …]
Dl2c_utils.cc2409 p_ccb = p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in l2cu_initialize_fixed_ccb()
2430 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = p_ccb; in l2cu_initialize_fixed_ccb()
2462 if ((p_lcb->p_fixed_ccbs[xx] != NULL) && in l2cu_no_dynamic_ccbs()
2463 (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000 > timeout_ms)) { in l2cu_no_dynamic_ccbs()
2465 if (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout == L2CAP_NO_IDLE_TIMEOUT) { in l2cu_no_dynamic_ccbs()
2467 p_lcb->p_fixed_ccbs[xx]->local_cid); in l2cu_no_dynamic_ccbs()
2470 timeout_ms = p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000; in l2cu_no_dynamic_ccbs()
2548 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2549 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
2557 if (p_lcb->p_fixed_ccbs[xx]) { in l2cu_process_fixed_chnl_resp()
[all …]
Dl2c_link.cc404 if (p_lcb->p_fixed_ccbs[xx] && in l2c_link_hci_disc_comp()
405 p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) { in l2c_link_hci_disc_comp()
409 if (p_lcb->p_fixed_ccbs[xx] == NULL) { in l2c_link_hci_disc_comp()
420 CHECK(p_lcb->p_fixed_ccbs[xx] != NULL); in l2c_link_hci_disc_comp()
421 l2cu_release_ccb(p_lcb->p_fixed_ccbs[xx]); in l2c_link_hci_disc_comp()
423 p_lcb->p_fixed_ccbs[xx] = NULL; in l2c_link_hci_disc_comp()
1490 p_ccb = p_lcb->p_fixed_ccbs[xx]; in l2cu_get_next_buffer_to_send()
Dl2c_ble.cc1268 if ((p_lcb->p_fixed_ccbs[i] != NULL) && in l2cble_update_data_length()
1269 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) in l2cble_update_data_length()
1270 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
Dl2c_int.h499 tL2C_CCB* p_fixed_ccbs[L2CAP_NUM_FIXED_CHNLS]; member
Dl2c_main.cc201 p_ccb = p_lcb->p_fixed_ccbs[rcv_cid - L2CAP_FIRST_FIXED_CHNL]; in l2c_rcv_acl_data()