Searched refs:peer_cfg (Results 1 – 7 of 7) sorted by relevance
/external/bluetooth/bluedroid/stack/l2cap/ |
D | l2c_utils.c | 843 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2cu_send_peer_disc_req() 1422 memset (&p_ccb->peer_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in l2cu_allocate_ccb() 1425 …p_ccb->our_cfg.flush_to = p_ccb->peer_cfg.flush_to = L2CAP_DEFAULT_FLUSH… in l2cu_allocate_ccb() 1426 … p_ccb->our_cfg.mtu = p_ccb->peer_cfg.mtu = L2CAP_DEFAULT_MTU; in l2cu_allocate_ccb() 1427 …p_ccb->our_cfg.qos.service_type = p_ccb->peer_cfg.qos.service_type = L2CAP_DEFAULT_SERV_… in l2cu_allocate_ccb() 1428 …p_ccb->our_cfg.qos.token_rate = p_ccb->peer_cfg.qos.token_rate = L2CAP_DEFAULT_TOKEN… in l2cu_allocate_ccb() 1429 …p_ccb->our_cfg.qos.token_bucket_size = p_ccb->peer_cfg.qos.token_bucket_size = L2CAP_DEFAULT_BUCKE… in l2cu_allocate_ccb() 1430 …p_ccb->our_cfg.qos.peak_bandwidth = p_ccb->peer_cfg.qos.peak_bandwidth = L2CAP_DEFAULT_PEAK_… in l2cu_allocate_ccb() 1431 …p_ccb->our_cfg.qos.latency = p_ccb->peer_cfg.qos.latency = L2CAP_DEFAULT_LATEN… in l2cu_allocate_ccb() 1432 …p_ccb->our_cfg.qos.delay_variation = p_ccb->peer_cfg.qos.delay_variation = L2CAP_DEFAULT_DELAY; in l2cu_allocate_ccb() [all …]
|
D | l2c_fcr.c | 249 …if ( (p_ccb->local_cid >= L2CAP_BASE_APPL_CID) && (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE… in l2c_fcr_cleanup() 265 …_acks:%08u, in_cfg.fcr.tx_win_sz:%08u", p_ccb->fcrb.max_held_acks, p_ccb->peer_cfg.fcr.tx_win_sz ); in l2c_fcr_cleanup() 389 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_fcr_is_flow_controlled() 393 || (p_ccb->fcrb.waiting_for_ack_q.count >= p_ccb->peer_cfg.fcr.tx_win_sz) ) in l2c_fcr_is_flow_controlled() 449 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 507 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 656 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_STREAM_MODE) in l2c_fcr_proc_pdu() 868 p_ccb->local_cid, p_ccb->fcrb.num_tries, p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout() 875 …if ( (p_ccb->peer_cfg.fcr.max_transmit != 0) && (++p_ccb->fcrb.num_tries > p_ccb->peer_cfg.fcr.max… in l2c_fcr_proc_tout() 1521 && (p_ccb->peer_cfg.fcr.max_transmit != 0) in retransmit_i_frames() [all …]
|
D | l2c_api.c | 508 p_ccb->peer_cfg.mtu_present = FALSE; in L2CA_ConfigRsp() 510 p_ccb->peer_cfg.flush_to_present = FALSE; in L2CA_ConfigRsp() 512 p_ccb->peer_cfg.qos_present = FALSE; in L2CA_ConfigRsp() 954 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) in L2CA_FlowControl() 956 L2CAP_TRACE_EVENT1 ("L2CA_FlowControl() invalid mode:%d", p_ccb->peer_cfg.fcr.mode); in L2CA_FlowControl() 997 if ( (p_ccb->chnl_state != CST_OPEN) || (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) ) in L2CA_SendTestSFrame() 1261 L2CAP_TRACE_API1 ("L2CA_GetChnlFcrMode() returns mode %d", p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode() 1262 return (p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode() 1588 *pp_peer_cfg = &(p_ccb->peer_cfg); in L2CA_GetCurrentConfig() 1741 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) in L2CA_FlushChannel()
|
D | l2c_csm.c | 760 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 840 p_ccb->peer_cfg.mtu_present = FALSE; in l2c_csm_config() 841 p_ccb->peer_cfg.flush_to_present = FALSE; in l2c_csm_config() 842 p_ccb->peer_cfg.qos_present = FALSE; in l2c_csm_config() 849 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 1065 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open() 1293 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_enqueue_peer_data()
|
D | l2c_link.c | 829 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_link_adjust_chnl_allocation() 838 reserved_buff[HCI_ACL_POOL_ID] += p_ccb->peer_cfg.fcr.tx_win_sz; in l2c_link_adjust_chnl_allocation() 844 reserved_buff[HCI_ACL_POOL_ID] += p_ccb->peer_cfg.fcr.tx_win_sz; in l2c_link_adjust_chnl_allocation() 881 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_link_adjust_chnl_allocation() 886 … p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ertm_info.user_tx_pool_id, in l2c_link_adjust_chnl_allocation()
|
D | l2c_main.c | 274 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 291 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 942 if (p_data->len > p_ccb->peer_cfg.mtu) in l2c_data_write()
|
D | l2c_int.h | 311 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member
|