equal
deleted
inserted
replaced
|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // LinkFlowControlFlow.h |
|
15 // HCTL flow control |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef LINKFLOWCONTROLFLOW_H__ |
|
20 #define LINKFLOWCONTROLFLOW_H__ |
|
21 //#include "hci.h" |
|
22 |
|
23 |
|
24 |
|
25 enum TFlowControlMode |
|
26 { |
|
27 ENoFlowControl=0, |
|
28 |
|
29 //host controls HC buffering and informs L2CAP about HC congestion |
|
30 //Flow of data going to HC |
|
31 EFlowControlToHostControllerOnly=1, |
|
32 |
|
33 //host controller tracks and respects host buffers, L2CAP informs HCI about |
|
34 //buffer consumption and HCI tells HC about it. |
|
35 // flow of data coming from HC |
|
36 EFlowControlFromHostControllerOnly=2, |
|
37 ETwoWayFlowControlEnabled=3 |
|
38 }; |
|
39 #endif |