xref: /haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2upper.h (revision 05e1165520f748a223162a9996caa2535125f633)
1 /*
2  * Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef _H2UPPER_H_
6 #define _H2UPPER_H_
7 
8 
9 #include <util/list.h>
10 
11 #include "h2generic.h"
12 
13 
14 status_t post_packet_up(bt_usb_dev* bdev, bt_packet_t type, void* buf);
15 status_t send_packet(hci_id hid, bt_packet_t type, net_buffer* nbuf);
16 status_t send_command(hci_id hid, snet_buffer* snbuf);
17 
18 void sched_tx_processing(bt_usb_dev* bdev);
19 
20 #endif
21