Lines Matching refs:fcr
648 UINT8_TO_STREAM (p, p_cfg->fcr.mode); in l2cu_send_peer_config_req()
649 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_req()
650 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_req()
651 UINT16_TO_STREAM (p, p_cfg->fcr.rtrans_tout); in l2cu_send_peer_config_req()
652 UINT16_TO_STREAM (p, p_cfg->fcr.mon_tout); in l2cu_send_peer_config_req()
653 UINT16_TO_STREAM (p, p_cfg->fcr.mps); in l2cu_send_peer_config_req()
748 UINT8_TO_STREAM (p, p_cfg->fcr.mode); in l2cu_send_peer_config_rsp()
749 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_rsp()
750 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_rsp()
751 UINT16_TO_STREAM (p, p_ccb->our_cfg.fcr.rtrans_tout); in l2cu_send_peer_config_rsp()
752 UINT16_TO_STREAM (p, p_ccb->our_cfg.fcr.mon_tout); in l2cu_send_peer_config_rsp()
753 UINT16_TO_STREAM (p, p_cfg->fcr.mps); in l2cu_send_peer_config_rsp()
935 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2cu_send_peer_disc_req()
1908 p_cfg->fcr.mode = L2CAP_FCR_BASIC_MODE; in l2cu_process_peer_cfg_req()
2040 if (p_cfg->fcr.mode == L2CAP_FCR_ERTM_MODE) in l2cu_process_peer_cfg_rsp()
2042 p_ccb->peer_cfg.fcr.rtrans_tout = p_cfg->fcr.rtrans_tout; in l2cu_process_peer_cfg_rsp()
2043 p_ccb->peer_cfg.fcr.mon_tout = p_cfg->fcr.mon_tout; in l2cu_process_peer_cfg_rsp()
2047 if (p_cfg->fcr.tx_win_sz < p_ccb->our_cfg.fcr.tx_win_sz) in l2cu_process_peer_cfg_rsp()
2048 p_ccb->fcrb.max_held_acks = p_cfg->fcr.tx_win_sz / 3; in l2cu_process_peer_cfg_rsp()
2050 p_ccb->fcrb.max_held_acks = p_ccb->our_cfg.fcr.tx_win_sz / 3; in l2cu_process_peer_cfg_rsp()
2053 … p_cfg->fcr.tx_win_sz, p_ccb->our_cfg.fcr.tx_win_sz, p_ccb->fcrb.max_held_acks); in l2cu_process_peer_cfg_rsp()
2083 if (p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE) in l2cu_process_our_cfg_req()
2084 memset(&p_cfg->fcr, 0, sizeof(tL2CAP_FCR_OPTS)); in l2cu_process_our_cfg_req()
2090 p_cfg->fcr.mon_tout = p_cfg->fcr.rtrans_tout = 0; in l2cu_process_our_cfg_req()
2092 if (p_cfg->fcr.mode == L2CAP_FCR_STREAM_MODE) in l2cu_process_our_cfg_req()
2093 p_cfg->fcr.max_transmit = p_cfg->fcr.tx_win_sz = 0; in l2cu_process_our_cfg_req()
2097 p_ccb->fcrb.max_held_acks = p_cfg->fcr.tx_win_sz / 3; in l2cu_process_our_cfg_req()
2111 p_cfg->fcr.mode = L2CAP_FCR_BASIC_MODE; in l2cu_process_our_cfg_req()
2114 p_ccb->our_cfg.fcr.mode = p_cfg->fcr.mode; in l2cu_process_our_cfg_req()
2651 …"l2cu_adjust_out_mps bad packet size: %u will use MPS: %u", packet_size, p_ccb->peer_cfg.fcr.mps); in l2cu_adjust_out_mps()
2652 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps; in l2cu_adjust_out_mps()
2666 if (p_ccb->peer_cfg.fcr.mps >= packet_size) in l2cu_adjust_out_mps()
2667 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps / packet_size * packet_size; in l2cu_adjust_out_mps()
2669 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps; in l2cu_adjust_out_mps()
2672 p_ccb->tx_mps, p_ccb->peer_cfg.fcr.mps, packet_size); in l2cu_adjust_out_mps()
2714 p_ccb->our_cfg.fcr = p_ccb->peer_cfg.fcr = *p_fcr; in l2cu_initialize_fixed_ccb()
3131 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2cu_get_next_channel_in_rr()
3146 … if ( (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && (l2c_fcr_is_flow_controlled (p_ccb)) ) in l2cu_get_next_channel_in_rr()
3220 … if ( (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && (l2c_fcr_is_flow_controlled (p_ccb)) ) in l2cu_get_next_channel()
3256 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2cu_get_next_buffer_to_send()
3272 … if ( (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && (l2c_fcr_is_flow_controlled (p_ccb)) ) in l2cu_get_next_buffer_to_send()
3312 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2cu_get_next_buffer_to_send()
3327 …if ( p_ccb->p_rcb && p_ccb->p_rcb->api.pL2CA_TxComplete_Cb && (p_ccb->peer_cfg.fcr.mode != L2CAP_F… in l2cu_get_next_buffer_to_send()