Lines Matching refs:mps
831 if (p_buf->len > p_ccb->local_conn_cfg.mps) { in l2c_lcc_proc_pdu()
1834 uint16_t max_pdu = p_ccb->peer_conn_cfg.mps - 4 /* Length and CID */; in l2c_lcc_get_next_xmit_sdu_seg()
2017 if (p_fcr->mps == L2CAP_DEFAULT_ERM_MPS) { in l2c_fcr_adj_our_req_options()
2018 p_fcr->mps = L2CAP_MPS_OVER_BR_EDR; in l2c_fcr_adj_our_req_options()
2021 else if (p_fcr->mps > p_ccb->max_rx_mtu) { in l2c_fcr_adj_our_req_options()
2022 L2CAP_TRACE_WARNING("L2CAP - MPS %u invalid MTU: %u", p_fcr->mps, in l2c_fcr_adj_our_req_options()
2029 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS)) in l2c_fcr_adj_our_req_options()
2030 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS; in l2c_fcr_adj_our_req_options()
2116 p_cfg->fcr.mps = p_ccb->peer_cfg.fcr.mps; in l2c_fcr_adj_our_rsp_options()
2272 p_cfg->fcr.rtrans_tout = p_cfg->fcr.mon_tout = p_cfg->fcr.mps = 0; in l2c_fcr_process_peer_cfg_req()
2274 p_ccb->our_cfg.fcr.mps = 0; in l2c_fcr_process_peer_cfg_req()
2309 if ((p_cfg->fcr.mps == 0) || (p_cfg->fcr.mps > p_ccb->peer_cfg.mtu)) { in l2c_fcr_process_peer_cfg_req()
2310 p_cfg->fcr.mps = p_ccb->peer_cfg.mtu; in l2c_fcr_process_peer_cfg_req()
2315 if (p_cfg->fcr.mps > max_retrans_size) { in l2c_fcr_process_peer_cfg_req()
2317 max_retrans_size, p_cfg->fcr.mps); in l2c_fcr_process_peer_cfg_req()
2319 p_cfg->fcr.mps = max_retrans_size; in l2c_fcr_process_peer_cfg_req()