Home | History | Annotate | Download | only in l2cap

Lines Matching refs:fcr

573         UINT8_TO_STREAM  (p, p_cfg->fcr.mode);
574 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz);
575 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit);
576 UINT16_TO_STREAM (p, p_cfg->fcr.rtrans_tout);
577 UINT16_TO_STREAM (p, p_cfg->fcr.mon_tout);
578 UINT16_TO_STREAM (p, p_cfg->fcr.mps);
673 UINT8_TO_STREAM (p, p_cfg->fcr.mode);
674 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz);
675 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit);
676 UINT16_TO_STREAM (p, p_ccb->our_cfg.fcr.rtrans_tout);
677 UINT16_TO_STREAM (p, p_ccb->our_cfg.fcr.mon_tout);
678 UINT16_TO_STREAM (p, p_cfg->fcr.mps);
829 /* Move all queued data packets to the LCB. In FCR mode, assume the higher
832 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE)
1769 ** Note: Negotiation of the FCR channel type is handled internally,
1788 /* Ignore FCR parameters for basic mode */
1790 p_cfg->fcr.mode = L2CAP_FCR_BASIC_MODE;
1922 if (p_cfg->fcr.mode == L2CAP_FCR_ERTM_MODE)
1924 p_ccb->peer_cfg.fcr.rtrans_tout = p_cfg->fcr.rtrans_tout;
1925 p_ccb->peer_cfg.fcr.mon_tout = p_cfg->fcr.mon_tout;
1929 if (p_cfg->fcr.tx_win_sz < p_ccb->our_cfg.fcr.tx_win_sz)
1930 p_ccb->fcrb.max_held_acks = p_cfg->fcr.tx_win_sz / 3;
1932 p_ccb->fcrb.max_held_acks = p_ccb->our_cfg.fcr.tx_win_sz / 3;
1935 p_cfg->fcr.tx_win_sz, p_ccb->our_cfg.fcr.tx_win_sz, p_ccb->fcrb.max_held_acks);
1964 /* Override FCR options if attempting streaming or basic */
1965 if (p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE)
1966 memset(&p_cfg->fcr, 0, sizeof(tL2CAP_FCR_OPTS));
1972 p_cfg->fcr.mon_tout = p_cfg->fcr.rtrans_tout = 0;
1974 if (p_cfg->fcr.mode == L2CAP_FCR_STREAM_MODE)
1975 p_cfg->fcr.max_transmit = p_cfg->fcr.tx_win_sz = 0;
1979 p_ccb->fcrb.max_held_acks = p_cfg->fcr.tx_win_sz / 3;
1993 p_cfg->fcr.mode = L2CAP_FCR_BASIC_MODE;
1996 p_ccb->our_cfg.fcr.mode = p_cfg->fcr.mode;
2530 L2CAP_TRACE_ERROR2 ("l2cu_adjust_out_mps bad packet size: %u will use MPS: %u", packet_size, p_ccb->peer_cfg.fcr.mps);
2531 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps;
2545 if (p_ccb->peer_cfg.fcr.mps >= packet_size)
2546 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps / packet_size * packet_size;
2548 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps;
2550 L2CAP_TRACE_DEBUG3 ("l2cu_adjust_out_mps use %d Based on peer_cfg.fcr.mps: %u packet_size: %u",
2551 p_ccb->tx_mps, p_ccb->peer_cfg.fcr.mps, packet_size);
2592 /* Set the FCR parameters. For now, we will use default pools */
2593 p_ccb->our_cfg.fcr = p_ccb->peer_cfg.fcr = *p_fcr;
2949 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE)
2964 if ( (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && (l2c_fcr_is_flow_controlled (p_ccb)) )
3038 if ( (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && (l2c_fcr_is_flow_controlled (p_ccb)) )
3074 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE)
3090 if ( (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && (l2c_fcr_is_flow_controlled (p_ccb)) )
3128 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE)
3143 if ( p_ccb->p_rcb && p_ccb->p_rcb->api.pL2CA_TxComplete_Cb && (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) )