Home | History | Annotate | Download | only in l2cap

Lines Matching refs:mps

1673     /* If there is more data than the MPS, it requires segmentation */
1933 /* application want to use the default MPS */
1934 if (p_fcr->mps == L2CAP_DEFAULT_ERM_MPS)
1936 p_fcr->mps = L2CAP_MPS_OVER_BR_EDR;
1938 /* MPS must be less than MTU */
1939 else if (p_fcr->mps > p_ccb->max_rx_mtu)
1941 L2CAP_TRACE_WARNING2 ("L2CAP - MPS %u invalid MTU: %u", p_fcr->mps, p_ccb->max_rx_mtu);
1946 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS))
1947 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS;
2035 p_cfg->fcr.mps = p_ccb->peer_cfg.fcr.mps;
2198 p_cfg->fcr.rtrans_tout = p_cfg->fcr.mon_tout = p_cfg->fcr.mps = 0;
2199 p_ccb->our_cfg.fcr.rtrans_tout = p_ccb->our_cfg.fcr.mon_tout = p_ccb->our_cfg.fcr.mps = 0;
2233 /* Ensure the MPS is not bigger than the MTU */
2234 if ( (p_cfg->fcr.mps == 0) || (p_cfg->fcr.mps > p_ccb->peer_cfg.mtu) )
2236 p_cfg->fcr.mps = p_ccb->peer_cfg.mtu;
2240 /* Ensure the MPS is not bigger than our retransmission buffer */
2241 if (p_cfg->fcr.mps > max_retrans_size)
2243 L2CAP_TRACE_DEBUG2("CFG: Overriding MPS to %d (orig %d)", max_retrans_size, p_cfg->fcr.mps);
2245 p_cfg->fcr.mps = max_retrans_size;