xref: /haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2upper.h (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
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 #include <util/list.h>
9 
10 #include "h2generic.h"
11 
12 status_t post_packet_up(bt_usb_dev* bdev, bt_packet_t type, void* buf);
13 status_t send_packet(hci_id hid, bt_packet_t type, net_buffer* nbuf);
14 status_t send_command(hci_id hid, snet_buffer* snbuf);
15 
16 void sched_tx_processing(bt_usb_dev* bdev);
17 
18 #endif
19