diff -r b9d1744dc449 -r f72906e669b4 bluetooth/btstack/linkmgr/AclDataQController.h --- a/bluetooth/btstack/linkmgr/AclDataQController.h Wed Jun 23 19:28:39 2010 +0300 +++ b/bluetooth/btstack/linkmgr/AclDataQController.h Tue Jul 06 15:33:04 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" @@ -18,6 +18,7 @@ #include #include +#include class CAclDataQ; struct TDataQConnectionInfo; @@ -25,6 +26,7 @@ class CLinkMgrProtocol; class CLinkMuxer; class CHCIFacade; +class CHostMBufPool; /** Controller of the ACL data Q and of the pending packet list. @@ -43,6 +45,7 @@ ~CACLDataQController(); public: + // Outbound aspects void InitialDataCredits(TUint16 aCredits); void AddItem(CACLDataItem& aACLFrame); TBool IssueNextACLDataFragment(); @@ -57,6 +60,11 @@ void ACLLogicalLinkDown(THCIConnHandle aConnH); void SetParked(THCIConnHandle aConnH, TBool aParked); void CompletedPackets(THCIConnHandle aConnH, TUint16 aNo); + + // Inbound buffer related aspects + RMBufChain PopulateInboundBufferL(THCIConnHandle aConnH, TUint8 aFlag, const TDesC8& aData); + void NoExplicitInboundPoolNeeded(); + private: CACLDataQController(CHCIFacade& aHCIFacade, CLinkMuxer& aMuxer); @@ -84,6 +92,10 @@ TUint iIndexOfLastSendingConn; TUint16 iNumControllerBufs; + +#ifdef HOSTCONTROLLER_TO_HOST_FLOW_CONTROL + CHostMBufPool* iMBufPool; +#endif private: // unowned CLinkMuxer& iLinkMuxer;