Hi Max, > >The session wide credits value is useless > No, it's not. 1.1 spec only mandates send PN for the _first_ DLC > on that session. Which means that values negotiated in PN request are supposed > to be applied to the subsequent DLCs. So we still need session wide settings. > We just need to update them when we get PN req/rsp, which don't do. > > Check this out: > " > 6.5.1 Initial DLC Negotiation > The use of credit based flow control is a session characteristic. Thus, it has to > be negotiated with the PN multiplexor control command (see Section 5.5.3) > before the first DLC is established. > After the first successful negotiation and DLC establishment, all DLCs will be > flow controlled with this scheme. PN negotiation at subsequent DLC establish-ments > is optional, but recommended, since it also establishes initial credit > count values on both sides for both sides. > " memory malfunction ;) I thought it was a per dlc value. The attached patch sets the default values for session and dlc credits to zero and put in RFCOMM_MAX_CREDITS only if we receive a PN with 1.1 flow control. What do you think? Regards Marcel