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.cc1472 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in L2CA_ConnectFixedChnl()
1584 if (!p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]) { in L2CA_SendFixedChnlData()
1594 if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent) { in L2CA_SendFixedChnlData()
1599 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] in L2CA_SendFixedChnlData()
1601 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->buff_quota); in L2CA_SendFixedChnlData()
1606 l2c_enqueue_peer_data(p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL], in L2CA_SendFixedChnlData()
1618 if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent) in L2CA_SendFixedChnlData()
1662 (!p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL])) { in L2CA_RemoveFixedChnl()
1673 p_ccb = p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in L2CA_RemoveFixedChnl()
1675 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = NULL; in L2CA_RemoveFixedChnl()
[all …]
Dl2c_utils.cc2538 p_ccb = p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in l2cu_initialize_fixed_ccb()
2559 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = p_ccb; in l2cu_initialize_fixed_ccb()
2593 if ((p_lcb->p_fixed_ccbs[xx] != NULL) && in l2cu_no_dynamic_ccbs()
2594 (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000 > timeout_ms)) { in l2cu_no_dynamic_ccbs()
2596 if (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout == L2CAP_NO_IDLE_TIMEOUT) { in l2cu_no_dynamic_ccbs()
2598 p_lcb->p_fixed_ccbs[xx]->local_cid); in l2cu_no_dynamic_ccbs()
2601 timeout_ms = p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000; in l2cu_no_dynamic_ccbs()
2681 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2682 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
2690 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.cc977 if ((p_lcb->p_fixed_ccbs[i] != NULL) && in l2cble_update_data_length()
978 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) in l2cble_update_data_length()
979 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
1038 if (p_lcb->p_fixed_ccbs[cid] != NULL) { in l2cble_set_fixed_channel_tx_data_length()
1041 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu; in l2cble_set_fixed_channel_tx_data_length()
Dl2c_int.h424 tL2C_CCB* p_fixed_ccbs[L2CAP_NUM_FIXED_CHNLS]; member
Dl2c_main.cc205 p_ccb = p_lcb->p_fixed_ccbs[rcv_cid - L2CAP_FIRST_FIXED_CHNL]; in l2c_rcv_acl_data()