Home
last modified time | relevance | path

Searched refs:peer_cfg (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_utils.cc878 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2cu_send_peer_disc_req()
1435 memset(&p_ccb->peer_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in l2cu_allocate_ccb()
1438 p_ccb->our_cfg.flush_to = p_ccb->peer_cfg.flush_to = L2CAP_DEFAULT_FLUSH_TO; in l2cu_allocate_ccb()
1439 p_ccb->our_cfg.mtu = p_ccb->peer_cfg.mtu = L2CAP_DEFAULT_MTU; in l2cu_allocate_ccb()
1440 p_ccb->our_cfg.qos.service_type = p_ccb->peer_cfg.qos.service_type = in l2cu_allocate_ccb()
1442 p_ccb->our_cfg.qos.token_rate = p_ccb->peer_cfg.qos.token_rate = in l2cu_allocate_ccb()
1444 p_ccb->our_cfg.qos.token_bucket_size = p_ccb->peer_cfg.qos.token_bucket_size = in l2cu_allocate_ccb()
1446 p_ccb->our_cfg.qos.peak_bandwidth = p_ccb->peer_cfg.qos.peak_bandwidth = in l2cu_allocate_ccb()
1448 p_ccb->our_cfg.qos.latency = p_ccb->peer_cfg.qos.latency = in l2cu_allocate_ccb()
1450 p_ccb->our_cfg.qos.delay_variation = p_ccb->peer_cfg.qos.delay_variation = in l2cu_allocate_ccb()
[all …]
Dl2c_fcr.cc232 (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE)) { in l2c_fcr_cleanup()
258 p_ccb->fcrb.max_held_acks, p_ccb->peer_cfg.fcr.tx_win_sz); in l2c_fcr_cleanup()
377 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_is_flow_controlled()
381 p_ccb->peer_cfg.fcr.tx_win_sz)) { in l2c_fcr_is_flow_controlled()
436 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in prepare_I_frame()
493 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame()
620 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_STREAM_MODE) { in l2c_fcr_proc_pdu()
922 p_ccb->local_cid, p_ccb->fcrb.num_tries, p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout()
929 if ((p_ccb->peer_cfg.fcr.max_transmit != 0) && in l2c_fcr_proc_tout()
930 (++p_ccb->fcrb.num_tries > p_ccb->peer_cfg.fcr.max_transmit)) { in l2c_fcr_proc_tout()
[all …]
Dl2c_api.cc707 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
709 return bluetooth::shim::L2CA_GetPeerLECocConfig(lcid, peer_cfg); in L2CA_GetPeerLECocConfig()
720 if (peer_cfg != NULL) in L2CA_GetPeerLECocConfig()
721 memcpy(peer_cfg, &p_ccb->peer_conn_cfg, sizeof(tL2CAP_LE_CFG_INFO)); in L2CA_GetPeerLECocConfig()
925 if (p_cfg->mtu_present) p_ccb->peer_cfg.mtu_present = false; in L2CA_ConfigRsp()
926 if (p_cfg->flush_to_present) p_ccb->peer_cfg.flush_to_present = false; in L2CA_ConfigRsp()
927 if (p_cfg->qos_present) p_ccb->peer_cfg.qos_present = false; in L2CA_ConfigRsp()
1844 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) { in L2CA_FlushChannel()
Dl2c_csm.cc788 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
878 p_ccb->peer_cfg.mtu_present = false; in l2c_csm_config()
879 p_ccb->peer_cfg.flush_to_present = false; in l2c_csm_config()
880 p_ccb->peer_cfg.qos_present = false; in l2c_csm_config()
886 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
1109 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open()
1360 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2c_enqueue_peer_data()
Dl2c_main.cc207 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
237 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
979 mtu = p_ccb->peer_cfg.mtu; in l2c_data_write()
Dl2c_ble.cc634 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
688 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
Dl2c_int.h309 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member
Dl2c_link.cc815 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority, in l2c_link_adjust_chnl_allocation()
/system/bt/main/shim/
Dl2c_api.h205 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg);
Dl2c_api.cc177 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
178 LOG_INFO("UNIMPLEMENTED %s lcid:%hd peer_cfg:%p", __func__, lcid, peer_cfg); in L2CA_GetPeerLECocConfig()
/system/bt/stack/include/
Dl2c_api.h489 tL2CAP_LE_CFG_INFO* peer_cfg);