Home
last modified time | relevance | path

Searched refs:fcr (Results 1 – 10 of 10) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_fcr.cc170 tout = (uint32_t)p_ccb->our_cfg.fcr.mon_tout; in l2c_fcr_start_timer()
172 tout = (uint32_t)p_ccb->our_cfg.fcr.rtrans_tout; in l2c_fcr_start_timer()
268 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_is_flow_controlled()
272 p_ccb->peer_cfg.fcr.tx_win_sz)) { in l2c_fcr_is_flow_controlled()
318 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in prepare_I_frame()
373 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame()
782 p_ccb->local_cid, p_ccb->fcrb.num_tries, p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout()
785 if ((p_ccb->peer_cfg.fcr.max_transmit != 0) && in l2c_fcr_proc_tout()
786 (++p_ccb->fcrb.num_tries > p_ccb->peer_cfg.fcr.max_transmit)) { in l2c_fcr_proc_tout()
1018 if (num_lost >= p_ccb->our_cfg.fcr.tx_win_sz) { in process_i_frame()
[all …]
Dl2c_utils.cc626 UINT8_TO_STREAM(p, p_cfg->fcr.mode); in l2cu_send_peer_config_req()
627 UINT8_TO_STREAM(p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_req()
628 UINT8_TO_STREAM(p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_req()
629 UINT16_TO_STREAM(p, p_cfg->fcr.rtrans_tout); in l2cu_send_peer_config_req()
630 UINT16_TO_STREAM(p, p_cfg->fcr.mon_tout); in l2cu_send_peer_config_req()
631 UINT16_TO_STREAM(p, p_cfg->fcr.mps); in l2cu_send_peer_config_req()
722 UINT8_TO_STREAM(p, p_cfg->fcr.mode); in l2cu_send_peer_config_rsp()
723 UINT8_TO_STREAM(p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_rsp()
724 UINT8_TO_STREAM(p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_rsp()
725 UINT16_TO_STREAM(p, p_ccb->our_cfg.fcr.rtrans_tout); in l2cu_send_peer_config_rsp()
[all …]
Dl2c_main.cc204 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
233 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
552 STREAM_TO_UINT8(cfg_info.fcr.mode, p); in process_l2cap_cmd()
553 STREAM_TO_UINT8(cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
554 STREAM_TO_UINT8(cfg_info.fcr.max_transmit, p); in process_l2cap_cmd()
555 STREAM_TO_UINT16(cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd()
556 STREAM_TO_UINT16(cfg_info.fcr.mon_tout, p); in process_l2cap_cmd()
557 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd()
691 STREAM_TO_UINT8(cfg_info.fcr.mode, p); in process_l2cap_cmd()
692 STREAM_TO_UINT8(cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
[all …]
Dl2c_csm.cc72 config.fcr = kDefaultErtmOptions; in l2c_csm_send_config_req()
971 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
996 if ((p_ccb->our_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2c_csm_config()
997 ((p_ccb->our_cfg.fcr.mon_tout == 0) || in l2c_csm_config()
998 (p_ccb->our_cfg.fcr.rtrans_tout))) { in l2c_csm_config()
1059 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
1299 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open()
1557 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2c_enqueue_peer_data()
Dl2c_link.cc736 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority, in l2c_link_adjust_chnl_allocation()
1429 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_channel_in_rr()
1436 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_channel_in_rr()
1494 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send()
1502 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_buffer_to_send()
1551 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send()
1564 (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE)) in l2cu_get_next_buffer_to_send()
Dl2c_ble.cc595 temp_p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
719 temp_p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
920 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
976 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
Dl2c_api.cc1572 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) { in L2CA_FlushChannel()
/system/bt/stack/gap/
Dgap_conn.cc231 p_ccb->ertm_info.preferred_mode = p_ccb->cfg.fcr.mode; in GAP_ConnOpen()
762 if (p_ccb->cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in gap_config_ind()
/system/bt/stack/include/
Dl2c_api.h155 tL2CAP_FCR_OPTS fcr; member
/system/bt/btif/src/
Dbtif_sock_l2cap.cc717 tL2CAP_CFG_INFO{.fcr_present = true, .fcr = kDefaultErtmOptions}); in btsock_l2cap_server_listen()
765 tL2CAP_CFG_INFO{.fcr_present = true, .fcr = kDefaultErtmOptions}); in btsock_l2cap_listen_or_connect()