Home | History | Annotate | Download | only in rfcomm

Lines Matching refs:mtu

72     /* Connection is up and we know local and remote features, select MTU */
77 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
215 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
288 ** DLCI parameters (currently only MTU is negotiated).
290 ** Otherwise save the MTU size supported by the peer.
293 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k)
299 RFCOMM_TRACE_EVENT2 ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu);
320 /* Connection is up and we know local and remote features, select MTU */
324 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu;
325 p_port->peer_mtu = p_port->mtu;
369 RFCOMM_ParNegRsp (p_mcb, dlci, p_port->mtu, our_cl, our_k);
378 ** DLCI parameters (currently only MTU is negotiated).
379 ** Save the MTU size supported by the peer.
384 void PORT_ParNegCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k)
388 RFCOMM_TRACE_EVENT4 ("PORT_ParNegCnf dlci:%d mtu:%d cl: %d k: %d", dlci, mtu, cl, k);
419 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu;
420 p_port->peer_mtu = p_port->mtu;
428 RFCOMM_DlcEstablishReq (p_mcb, p_port->dlci, p_port->mtu);
445 void PORT_DlcEstablishInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu)
449 RFCOMM_TRACE_DEBUG4 ("PORT_DlcEstablishInd p_mcb:%p, dlci:%d mtu:%di, p_port:%p", p_mcb, dlci, mtu, p_port);
466 /* If L2CAP's mtu less then RFCOMM's take it */
467 if (mtu && (mtu < p_port->peer_mtu))
468 p_port->peer_mtu = mtu;
473 mtu, RFCOMM_SUCCESS);
497 void PORT_DlcEstablishCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result)
501 RFCOMM_TRACE_EVENT3 ("PORT_DlcEstablishCnf dlci:%d mtu:%d result:%d", dlci, mtu, result);
513 /* If L2CAP's mtu less then RFCOMM's take it */
514 if (mtu && (mtu < p_port->peer_mtu))
515 p_port->peer_mtu = mtu;
1104 ** Adjust max number of rx credits based on negotiated MTU.