Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c992 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2cu_send_peer_disc_req()
1530 memset (&p_ccb->peer_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in l2cu_allocate_ccb()
1533 …p_ccb->our_cfg.flush_to = p_ccb->peer_cfg.flush_to = L2CAP_DEFAULT_FLUSH… in l2cu_allocate_ccb()
1534 … p_ccb->our_cfg.mtu = p_ccb->peer_cfg.mtu = L2CAP_DEFAULT_MTU; in l2cu_allocate_ccb()
1535 …p_ccb->our_cfg.qos.service_type = p_ccb->peer_cfg.qos.service_type = L2CAP_DEFAULT_SERV_… in l2cu_allocate_ccb()
1536 …p_ccb->our_cfg.qos.token_rate = p_ccb->peer_cfg.qos.token_rate = L2CAP_DEFAULT_TOKEN… in l2cu_allocate_ccb()
1537 …p_ccb->our_cfg.qos.token_bucket_size = p_ccb->peer_cfg.qos.token_bucket_size = L2CAP_DEFAULT_BUCKE… in l2cu_allocate_ccb()
1538 …p_ccb->our_cfg.qos.peak_bandwidth = p_ccb->peer_cfg.qos.peak_bandwidth = L2CAP_DEFAULT_PEAK_… in l2cu_allocate_ccb()
1539 …p_ccb->our_cfg.qos.latency = p_ccb->peer_cfg.qos.latency = L2CAP_DEFAULT_LATEN… in l2cu_allocate_ccb()
1540 …p_ccb->our_cfg.qos.delay_variation = p_ccb->peer_cfg.qos.delay_variation = L2CAP_DEFAULT_DELAY; in l2cu_allocate_ccb()
[all …]
Dl2c_fcr.c257 …if ( (p_ccb->local_cid >= L2CAP_BASE_APPL_CID) && (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE… in l2c_fcr_cleanup()
271 …_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()
377 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_is_flow_controlled()
380 … || (fixed_queue_length(p_ccb->fcrb.waiting_for_ack_q) >= p_ccb->peer_cfg.fcr.tx_win_sz) ) { in l2c_fcr_is_flow_controlled()
434 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in prepare_I_frame()
489 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()
816 p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout()
824 …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()
1416 && (p_ccb->peer_cfg.fcr.max_transmit != 0) in retransmit_i_frames()
[all …]
Dl2c_api.c542 p_ccb->peer_cfg.mtu_present = FALSE; in L2CA_ConfigRsp()
545 p_ccb->peer_cfg.flush_to_present = FALSE; in L2CA_ConfigRsp()
548 p_ccb->peer_cfg.qos_present = FALSE; in L2CA_ConfigRsp()
1004 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) { in L2CA_FlowControl()
1005 L2CAP_TRACE_EVENT ("L2CA_FlowControl() invalid mode:%d", p_ccb->peer_cfg.fcr.mode); in L2CA_FlowControl()
1044 if ( (p_ccb->chnl_state != CST_OPEN) || (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) ) { in L2CA_SendTestSFrame()
1290 L2CAP_TRACE_API ("L2CA_GetChnlFcrMode() returns mode %d", p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode()
1291 return (p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode()
1594 BOOLEAN L2CA_GetPeerLECocConfig (UINT16 lcid, tL2CAP_LE_CFG_INFO* peer_cfg) in L2CA_GetPeerLECocConfig() argument
1605 if (peer_cfg != NULL) { in L2CA_GetPeerLECocConfig()
[all …]
Dl2c_csm.c707 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
783 p_ccb->peer_cfg.mtu_present = FALSE; in l2c_csm_config()
784 p_ccb->peer_cfg.flush_to_present = FALSE; in l2c_csm_config()
785 p_ccb->peer_cfg.qos_present = FALSE; in l2c_csm_config()
791 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
1005 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_csm_open()
1228 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2c_enqueue_peer_data()
Dl2c_main.c292 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2c_rcv_acl_data()
329 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2c_rcv_acl_data()
1034 if (p_data->len > p_ccb->peer_cfg.mtu) { in l2c_data_write()
Dl2c_link.c857 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, in l2c_chnl_allocation_in_ccb_list()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dl2c_api.h570 extern BOOLEAN L2CA_GetPeerLECocConfig (UINT16 lcid, tL2CAP_LE_CFG_INFO* peer_cfg);
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h311 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member