Home | History | Annotate | Download | only in rfcomm

Lines Matching refs:mtu

75     /* Connection is up and we know local and remote features, select MTU */
80 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
218 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
290 ** DLCI parameters (currently only MTU is negotiated).
292 ** Otherwise save the MTU size supported by the peer.
295 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k)
301 RFCOMM_TRACE_EVENT ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu);
322 /* Connection is up and we know local and remote features, select MTU */
326 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu;
327 p_port->peer_mtu = p_port->mtu;
371 RFCOMM_ParNegRsp (p_mcb, dlci, p_port->mtu, our_cl, our_k);
380 ** DLCI parameters (currently only MTU is negotiated).
381 ** Save the MTU size supported by the peer.
386 void PORT_ParNegCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k)
390 RFCOMM_TRACE_EVENT ("PORT_ParNegCnf dlci:%d mtu:%d cl: %d k: %d", dlci, mtu, cl, k);
421 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu;
422 p_port->peer_mtu = p_port->mtu;
430 RFCOMM_DlcEstablishReq (p_mcb, p_port->dlci, p_port->mtu);
447 void PORT_DlcEstablishInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu)
451 RFCOMM_TRACE_DEBUG ("PORT_DlcEstablishInd p_mcb:%p, dlci:%d mtu:%di, p_port:%p", p_mcb, dlci, mtu, p_port);
468 /* If L2CAP's mtu less then RFCOMM's take it */
469 if (mtu && (mtu < p_port->peer_mtu))
470 p_port->peer_mtu = mtu;
475 mtu, RFCOMM_SUCCESS);
499 void PORT_DlcEstablishCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result)
503 RFCOMM_TRACE_EVENT ("PORT_DlcEstablishCnf dlci:%d mtu:%d result:%d", dlci, mtu, result);
515 /* If L2CAP's mtu less then RFCOMM's take it */
516 if (mtu && (mtu < p_port->peer_mtu))
517 p_port->peer_mtu = mtu;
1111 ** Adjust max number of rx credits based on negotiated MTU.