diff -r f8503e232b0c -r 9f17f914e828 bluetooth/btstack/linkmgr/linkconsts.h --- a/bluetooth/btstack/linkmgr/linkconsts.h Tue Apr 27 17:48:21 2010 +0300 +++ b/bluetooth/btstack/linkmgr/linkconsts.h Tue May 11 17:15:36 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -69,7 +69,7 @@ // Physical Link Config // -const TUint16 KLinkMgrIncomingBufferSize = 672; //L2Cap Default MTU +const TUint16 KStackACLBuffersSize = 1021; // size of 3DH-5 (largest packet size) const TUint16 KStackACLBuffersNum = 16; const TUint16 KStackACLBuffersTideMarkNum = 8; @@ -81,6 +81,9 @@ const TUint16 KStackSCOBuffersNum = 0; #endif +const TUint16 KLinkMgrIncomingBufferHeaderSize = 1; // header is just the ACL flags +const TUint16 KLinkMgrIncomingBufferSize = KStackACLBuffersSize + KLinkMgrIncomingBufferHeaderSize; + static const THCIScanEnable KHCIDefaultScanMode = EInquiryAndPageScan; static const TUint16 KHCIDefaultAcceptTimeout = 0x1FA0; // time=n*0.625ms