Lines Matching refs:fcr
170 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()
1043 p_ccb->our_cfg.fcr.tx_win_sz)) { in process_i_frame()
1057 p_ccb->our_cfg.fcr.tx_win_sz); in process_i_frame()
1273 (p_ccb->peer_cfg.fcr.max_transmit != 0) && in retransmit_i_frames()
1274 (p_ccb->fcrb.num_tries >= p_ccb->peer_cfg.fcr.max_transmit)) { in retransmit_i_frames()
1279 p_ccb->peer_cfg.fcr.max_transmit, in retransmit_i_frames()
1490 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_get_next_xmit_sdu_seg()
1628 if ((p_ccb->our_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) || in l2c_fcr_adj_monitor_retran_timeout()
1629 (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE)) { in l2c_fcr_adj_monitor_retran_timeout()
1631 p_ccb->our_cfg.fcr.mon_tout = L2CAP_MIN_MONITOR_TOUT; in l2c_fcr_adj_monitor_retran_timeout()
1632 p_ccb->our_cfg.fcr.rtrans_tout = L2CAP_MIN_RETRANS_TOUT; in l2c_fcr_adj_monitor_retran_timeout()
1634 p_ccb->our_cfg.fcr.mon_tout = 0; in l2c_fcr_adj_monitor_retran_timeout()
1635 p_ccb->our_cfg.fcr.rtrans_tout = 0; in l2c_fcr_adj_monitor_retran_timeout()
1640 p_ccb->our_cfg.fcr.mon_tout, p_ccb->our_cfg.fcr.rtrans_tout); in l2c_fcr_adj_monitor_retran_timeout()
1668 if (p_ccb->peer_cfg.fcr.tx_win_sz > p_ccb->our_cfg.fcr.tx_win_sz) { in l2c_fcr_adj_our_rsp_options()
1670 __func__, p_ccb->peer_cfg.fcr.tx_win_sz, in l2c_fcr_adj_our_rsp_options()
1671 p_ccb->our_cfg.fcr.tx_win_sz); in l2c_fcr_adj_our_rsp_options()
1672 p_ccb->peer_cfg.fcr.tx_win_sz = p_ccb->our_cfg.fcr.tx_win_sz; in l2c_fcr_adj_our_rsp_options()
1675 p_cfg->fcr.mode = p_ccb->peer_cfg.fcr.mode; in l2c_fcr_adj_our_rsp_options()
1676 p_cfg->fcr.tx_win_sz = p_ccb->peer_cfg.fcr.tx_win_sz; in l2c_fcr_adj_our_rsp_options()
1677 p_cfg->fcr.max_transmit = p_ccb->peer_cfg.fcr.max_transmit; in l2c_fcr_adj_our_rsp_options()
1678 p_cfg->fcr.mps = p_ccb->peer_cfg.fcr.mps; in l2c_fcr_adj_our_rsp_options()
1679 p_cfg->fcr.rtrans_tout = p_ccb->our_cfg.fcr.rtrans_tout; in l2c_fcr_adj_our_rsp_options()
1680 p_cfg->fcr.mon_tout = p_ccb->our_cfg.fcr.mon_tout; in l2c_fcr_adj_our_rsp_options()
1700 uint8_t peer_mode = p_ccb->our_cfg.fcr.mode; in l2c_fcr_renegotiate_chan()
1710 peer_mode = (p_cfg->fcr_present) ? p_cfg->fcr.mode : L2CAP_FCR_BASIC_MODE; in l2c_fcr_renegotiate_chan()
1712 if (p_ccb->our_cfg.fcr.mode != peer_mode) { in l2c_fcr_renegotiate_chan()
1722 switch (p_ccb->our_cfg.fcr.mode) { in l2c_fcr_renegotiate_chan()
1728 p_ccb->our_cfg.fcr.mode = L2CAP_FCR_BASIC_MODE; in l2c_fcr_renegotiate_chan()
1740 if (p_ccb->our_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2c_fcr_renegotiate_chan()
1761 if (p_ccb->our_cfg.fcr.mode != peer_mode) { in l2c_fcr_renegotiate_chan()
1763 p_ccb->our_cfg.fcr.mode, peer_mode); in l2c_fcr_renegotiate_chan()
1794 p_cfg->fcr_present, p_cfg->fcr.mode, p_ccb->our_cfg.fcr.mode, in l2c_fcr_process_peer_cfg_req()
1798 if (p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2c_fcr_process_peer_cfg_req()
1805 else if (p_cfg->fcr.mode != p_ccb->p_rcb->ertm_info.preferred_mode) { in l2c_fcr_process_peer_cfg_req()
1812 if ((((1 << p_cfg->fcr.mode) & L2CAP_FCR_CHAN_OPT_ALL_MASK) == 0) || in l2c_fcr_process_peer_cfg_req()
1814 p_cfg->fcr.mode = p_ccb->our_cfg.fcr.mode; in l2c_fcr_process_peer_cfg_req()
1815 p_cfg->fcr.tx_win_sz = p_ccb->our_cfg.fcr.tx_win_sz; in l2c_fcr_process_peer_cfg_req()
1816 p_cfg->fcr.max_transmit = p_ccb->our_cfg.fcr.max_transmit; in l2c_fcr_process_peer_cfg_req()
1822 p_cfg->fcr.mode = L2CAP_FCR_BASIC_MODE; in l2c_fcr_process_peer_cfg_req()
1823 p_cfg->fcr.max_transmit = p_cfg->fcr.tx_win_sz = 0; in l2c_fcr_process_peer_cfg_req()
1824 p_cfg->fcr.rtrans_tout = p_cfg->fcr.mon_tout = p_cfg->fcr.mps = 0; in l2c_fcr_process_peer_cfg_req()
1825 p_ccb->our_cfg.fcr.rtrans_tout = p_ccb->our_cfg.fcr.mon_tout = in l2c_fcr_process_peer_cfg_req()
1826 p_ccb->our_cfg.fcr.mps = 0; in l2c_fcr_process_peer_cfg_req()
1838 if (p_cfg->fcr_present && p_cfg->fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2c_fcr_process_peer_cfg_req()
1849 if ((p_cfg->fcr.mps == 0) || (p_cfg->fcr.mps > p_ccb->peer_cfg.mtu)) { in l2c_fcr_process_peer_cfg_req()
1850 p_cfg->fcr.mps = p_ccb->peer_cfg.mtu; in l2c_fcr_process_peer_cfg_req()
1855 if (p_cfg->fcr.mps > max_retrans_size) { in l2c_fcr_process_peer_cfg_req()
1857 max_retrans_size, p_cfg->fcr.mps); in l2c_fcr_process_peer_cfg_req()
1859 p_cfg->fcr.mps = max_retrans_size; in l2c_fcr_process_peer_cfg_req()
1863 if (p_cfg->fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_process_peer_cfg_req()
1870 p_ccb->peer_cfg.fcr = p_cfg->fcr; in l2c_fcr_process_peer_cfg_req()