Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_utils.cc876 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2cu_send_peer_disc_req()
1433 memset(&p_ccb->peer_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in l2cu_allocate_ccb()
1436 p_ccb->our_cfg.flush_to = p_ccb->peer_cfg.flush_to = L2CAP_DEFAULT_FLUSH_TO; in l2cu_allocate_ccb()
1437 p_ccb->our_cfg.mtu = p_ccb->peer_cfg.mtu = L2CAP_DEFAULT_MTU; in l2cu_allocate_ccb()
1438 p_ccb->our_cfg.qos.service_type = p_ccb->peer_cfg.qos.service_type = in l2cu_allocate_ccb()
1440 p_ccb->our_cfg.qos.token_rate = p_ccb->peer_cfg.qos.token_rate = in l2cu_allocate_ccb()
1442 p_ccb->our_cfg.qos.token_bucket_size = p_ccb->peer_cfg.qos.token_bucket_size = in l2cu_allocate_ccb()
1444 p_ccb->our_cfg.qos.peak_bandwidth = p_ccb->peer_cfg.qos.peak_bandwidth = in l2cu_allocate_ccb()
1446 p_ccb->our_cfg.qos.latency = p_ccb->peer_cfg.qos.latency = in l2cu_allocate_ccb()
1448 p_ccb->our_cfg.qos.delay_variation = p_ccb->peer_cfg.qos.delay_variation = in l2cu_allocate_ccb()
[all …]
Dl2c_fcr.cc234 (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE)) { in l2c_fcr_cleanup()
260 p_ccb->fcrb.max_held_acks, p_ccb->peer_cfg.fcr.tx_win_sz); in l2c_fcr_cleanup()
379 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_is_flow_controlled()
383 p_ccb->peer_cfg.fcr.tx_win_sz)) { in l2c_fcr_is_flow_controlled()
438 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in prepare_I_frame()
495 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame()
622 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_STREAM_MODE) { in l2c_fcr_proc_pdu()
928 p_ccb->local_cid, p_ccb->fcrb.num_tries, p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout()
935 if ((p_ccb->peer_cfg.fcr.max_transmit != 0) && in l2c_fcr_proc_tout()
936 (++p_ccb->fcrb.num_tries > p_ccb->peer_cfg.fcr.max_transmit)) { in l2c_fcr_proc_tout()
[all …]
Dl2c_api.cc658 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
667 if (peer_cfg != NULL) in L2CA_GetPeerLECocConfig()
668 memcpy(peer_cfg, &p_ccb->peer_conn_cfg, sizeof(tL2CAP_LE_CFG_INFO)); in L2CA_GetPeerLECocConfig()
892 if (p_cfg->mtu_present) p_ccb->peer_cfg.mtu_present = false; in L2CA_ConfigRsp()
893 if (p_cfg->flush_to_present) p_ccb->peer_cfg.flush_to_present = false; in L2CA_ConfigRsp()
894 if (p_cfg->qos_present) p_ccb->peer_cfg.qos_present = false; in L2CA_ConfigRsp()
1322 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) { in L2CA_FlowControl()
1324 p_ccb->peer_cfg.fcr.mode); in L2CA_FlowControl()
1365 (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE)) in L2CA_SendTestSFrame()
1609 p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode()
[all …]
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.cc206 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
236 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
978 mtu = p_ccb->peer_cfg.mtu; in l2c_data_write()
Dl2c_ble.cc631 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
685 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
Dl2c_int.h310 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member
Dl2c_link.cc805 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority, in l2c_link_adjust_chnl_allocation()
/system/bt/stack/include/
Dl2c_api.h528 tL2CAP_LE_CFG_INFO* peer_cfg);