equal
deleted
inserted
replaced
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
67 |
67 |
68 // |
68 // |
69 // Physical Link Config |
69 // Physical Link Config |
70 // |
70 // |
71 |
71 |
72 const TUint16 KLinkMgrIncomingBufferSize = 672; //L2Cap Default MTU |
72 const TUint16 KStackACLBuffersSize = 1021; // size of 3DH-5 (largest packet size) |
73 const TUint16 KStackACLBuffersNum = 16; |
73 const TUint16 KStackACLBuffersNum = 16; |
74 const TUint16 KStackACLBuffersTideMarkNum = 8; |
74 const TUint16 KStackACLBuffersTideMarkNum = 8; |
75 |
75 |
76 #ifdef STACK_SCO_DATA |
76 #ifdef STACK_SCO_DATA |
77 const TUint8 KStackSCOBuffersSize = 255; |
77 const TUint8 KStackSCOBuffersSize = 255; |
78 const TUint16 KStackSCOBuffersNum = 1; |
78 const TUint16 KStackSCOBuffersNum = 1; |
79 #else |
79 #else |
80 const TUint8 KStackSCOBuffersSize = 0; |
80 const TUint8 KStackSCOBuffersSize = 0; |
81 const TUint16 KStackSCOBuffersNum = 0; |
81 const TUint16 KStackSCOBuffersNum = 0; |
82 #endif |
82 #endif |
|
83 |
|
84 const TUint16 KLinkMgrIncomingBufferHeaderSize = 1; // header is just the ACL flags |
|
85 const TUint16 KLinkMgrIncomingBufferSize = KStackACLBuffersSize + KLinkMgrIncomingBufferHeaderSize; |
83 |
86 |
84 static const THCIScanEnable KHCIDefaultScanMode = EInquiryAndPageScan; |
87 static const THCIScanEnable KHCIDefaultScanMode = EInquiryAndPageScan; |
85 |
88 |
86 static const TUint16 KHCIDefaultAcceptTimeout = 0x1FA0; // time=n*0.625ms |
89 static const TUint16 KHCIDefaultAcceptTimeout = 0x1FA0; // time=n*0.625ms |
87 static const TUint16 KHCIDefaultPageTimeout = 0x8000; |
90 static const TUint16 KHCIDefaultPageTimeout = 0x8000; |