xref: /haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2cfg.h (revision 020cbad9d40235a2c50a81a42d69912a5ff8fbc4)
1 /*
2  * Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3  *
4  * All rights reserved. Distributed under the terms of the MIT License.
5  *
6  */
7 
8 #ifndef _H2CFG_H_
9 #define _H2CFG_H_
10 
11 /* TODO: move exclusive header for drivers*/
12 #define BT_DRIVER_SUPPORTS_CMD  1
13 #define BT_DRIVER_SUPPORTS_EVT  1
14 #define BT_DRIVER_SUPPORTS_ESCO 0
15 #define BT_DRIVER_SUPPORTS_SCO  0
16 #define BT_DRIVER_SUPPORTS_ACL  0
17 
18 #define BT_DRIVER_RXCOVERAGE (BT_DRIVER_SUPPORTS_EVT+BT_DRIVER_SUPPORTS_ACL+BT_DRIVER_SUPPORTS_SCO+BT_DRIVER_SUPPORTS_ESCO)
19 #define BT_DRIVER_TXCOVERAGE (BT_DRIVER_SUPPORTS_CMD+BT_DRIVER_SUPPORTS_ACL+BT_DRIVER_SUPPORTS_SCO+BT_DRIVER_SUPPORTS_ESCO)
20 
21 #if BT_DRIVER_RXCOVERAGE<1 || BT_DRIVER_TXCOVERAGE<1
22 #error incomplete Bluetooth driver Commands and Events should be implemented
23 #endif
24 
25 
26 ////////////////////////////////////
27 
28 #define BT_SURVIVE_WITHOUT_HCI
29 #define BT_SURVIVE_WITHOUT_NET_BUFFERS
30 //#define BT_IOCTLS_PASS_SIZE
31 
32 
33 #endif
34