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.cc1476 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in L2CA_ConnectFixedChnl()
1590 if (!p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]) { in L2CA_SendFixedChnlData()
1603 if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent) { in L2CA_SendFixedChnlData()
1608 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] in L2CA_SendFixedChnlData()
1610 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->buff_quota); in L2CA_SendFixedChnlData()
1615 l2c_enqueue_peer_data(p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL], in L2CA_SendFixedChnlData()
1627 if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent) in L2CA_SendFixedChnlData()
1671 (!p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL])) { in L2CA_RemoveFixedChnl()
1682 p_ccb = p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in L2CA_RemoveFixedChnl()
1684 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = NULL; in L2CA_RemoveFixedChnl()
[all …]
Dl2c_utils.cc2541 p_ccb = p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in l2cu_initialize_fixed_ccb()
2574 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = p_ccb; in l2cu_initialize_fixed_ccb()
2608 if ((p_lcb->p_fixed_ccbs[xx] != NULL) && in l2cu_no_dynamic_ccbs()
2609 (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000 > timeout_ms)) { in l2cu_no_dynamic_ccbs()
2611 if (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout == L2CAP_NO_IDLE_TIMEOUT) { in l2cu_no_dynamic_ccbs()
2613 p_lcb->p_fixed_ccbs[xx]->local_cid); in l2cu_no_dynamic_ccbs()
2616 timeout_ms = p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000; in l2cu_no_dynamic_ccbs()
2696 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2697 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
2705 if (p_lcb->p_fixed_ccbs[xx]) { in l2cu_process_fixed_chnl_resp()
[all …]
Dl2c_link.cc428 if (p_lcb->p_fixed_ccbs[xx] && in l2c_link_hci_disc_comp()
429 p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) { in l2c_link_hci_disc_comp()
433 if (p_lcb->p_fixed_ccbs[xx] == NULL) { in l2c_link_hci_disc_comp()
444 CHECK(p_lcb->p_fixed_ccbs[xx] != NULL); in l2c_link_hci_disc_comp()
445 l2cu_release_ccb(p_lcb->p_fixed_ccbs[xx]); in l2c_link_hci_disc_comp()
447 p_lcb->p_fixed_ccbs[xx] = NULL; in l2c_link_hci_disc_comp()
Dl2c_ble.cc974 if ((p_lcb->p_fixed_ccbs[i] != NULL) && in l2cble_update_data_length()
975 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) in l2cble_update_data_length()
976 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
1035 if (p_lcb->p_fixed_ccbs[cid] != NULL) { in l2cble_set_fixed_channel_tx_data_length()
1038 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu; in l2cble_set_fixed_channel_tx_data_length()
Dl2c_int.h425 tL2C_CCB* p_fixed_ccbs[L2CAP_NUM_FIXED_CHNLS]; member
Dl2c_main.cc208 p_ccb = p_lcb->p_fixed_ccbs[rcv_cid - L2CAP_FIRST_FIXED_CHNL]; in l2c_rcv_acl_data()