Searched refs:peer_cfg (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/l2cap/ |
D | l2c_utils.c | 948 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2cu_send_peer_disc_req() 1547 memset (&p_ccb->peer_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in l2cu_allocate_ccb() 1550 …p_ccb->our_cfg.flush_to = p_ccb->peer_cfg.flush_to = L2CAP_DEFAULT_FLUSH… in l2cu_allocate_ccb() 1551 … p_ccb->our_cfg.mtu = p_ccb->peer_cfg.mtu = L2CAP_DEFAULT_MTU; in l2cu_allocate_ccb() 1552 …p_ccb->our_cfg.qos.service_type = p_ccb->peer_cfg.qos.service_type = L2CAP_DEFAULT_SERV_… in l2cu_allocate_ccb() 1553 …p_ccb->our_cfg.qos.token_rate = p_ccb->peer_cfg.qos.token_rate = L2CAP_DEFAULT_TOKEN… in l2cu_allocate_ccb() 1554 …p_ccb->our_cfg.qos.token_bucket_size = p_ccb->peer_cfg.qos.token_bucket_size = L2CAP_DEFAULT_BUCKE… in l2cu_allocate_ccb() 1555 …p_ccb->our_cfg.qos.peak_bandwidth = p_ccb->peer_cfg.qos.peak_bandwidth = L2CAP_DEFAULT_PEAK_… in l2cu_allocate_ccb() 1556 …p_ccb->our_cfg.qos.latency = p_ccb->peer_cfg.qos.latency = L2CAP_DEFAULT_LATEN… in l2cu_allocate_ccb() 1557 …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 | 244 …if ( (p_ccb->local_cid >= L2CAP_BASE_APPL_CID) && (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE… in l2c_fcr_cleanup() 259 …_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() 364 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_fcr_is_flow_controlled() 368 || (fixed_queue_length(p_ccb->fcrb.waiting_for_ack_q) >= p_ccb->peer_cfg.fcr.tx_win_sz) ) in l2c_fcr_is_flow_controlled() 426 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 487 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 614 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_STREAM_MODE) in l2c_fcr_proc_pdu() 908 p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout() 916 …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() 1556 && (p_ccb->peer_cfg.fcr.max_transmit != 0) in retransmit_i_frames() [all …]
|
D | l2c_api.c | 620 BOOLEAN L2CA_GetPeerLECocConfig (UINT16 lcid, tL2CAP_LE_CFG_INFO* peer_cfg) in L2CA_GetPeerLECocConfig() argument 631 if (peer_cfg != NULL) in L2CA_GetPeerLECocConfig() 632 memcpy(peer_cfg, &p_ccb->peer_conn_cfg, sizeof(tL2CAP_LE_CFG_INFO)); in L2CA_GetPeerLECocConfig() 857 p_ccb->peer_cfg.mtu_present = FALSE; in L2CA_ConfigRsp() 859 p_ccb->peer_cfg.flush_to_present = FALSE; in L2CA_ConfigRsp() 861 p_ccb->peer_cfg.qos_present = FALSE; in L2CA_ConfigRsp() 1325 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) in L2CA_FlowControl() 1327 L2CAP_TRACE_EVENT ("L2CA_FlowControl() invalid mode:%d", p_ccb->peer_cfg.fcr.mode); in L2CA_FlowControl() 1368 if ( (p_ccb->chnl_state != CST_OPEN) || (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) ) in L2CA_SendTestSFrame() 1631 L2CAP_TRACE_API ("L2CA_GetChnlFcrMode() returns mode %d", p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode() [all …]
|
D | l2c_csm.c | 877 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 963 p_ccb->peer_cfg.mtu_present = FALSE; in l2c_csm_config() 964 p_ccb->peer_cfg.flush_to_present = FALSE; in l2c_csm_config() 965 p_ccb->peer_cfg.qos_present = FALSE; in l2c_csm_config() 972 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 1218 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open() 1478 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_enqueue_peer_data()
|
D | l2c_main.c | 219 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 246 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 921 mtu = p_ccb->peer_cfg.mtu; in l2c_data_write()
|
D | l2c_ble.c | 754 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd() 803 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
|
D | l2c_int.h | 309 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member
|
D | l2c_link.c | 887 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, in l2c_link_adjust_chnl_allocation()
|
/system/bt/stack/include/ |
D | l2c_api.h | 504 extern BOOLEAN L2CA_GetPeerLECocConfig (UINT16 lcid, tL2CAP_LE_CFG_INFO* peer_cfg);
|