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