Contents of /alx-src/tags/kernel26-2.6.12-alx-r9/drivers/bluetooth/hci_h4.h
Parent Directory
|
Revision Log
Revision 630 -
(show annotations)
(download)
Wed Mar 4 11:03:09 2009 UTC (15 years, 3 months ago) by niro
File MIME type: text/plain
File size: 1519 byte(s)
Wed Mar 4 11:03:09 2009 UTC (15 years, 3 months ago) by niro
File MIME type: text/plain
File size: 1519 byte(s)
Tag kernel26-2.6.12-alx-r9
1 | /* |
2 | BlueZ - Bluetooth protocol stack for Linux |
3 | Copyright (C) 2000-2001 Qualcomm Incorporated |
4 | |
5 | Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> |
6 | |
7 | This program is free software; you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License version 2 as |
9 | published by the Free Software Foundation; |
10 | |
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
12 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. |
14 | IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY |
15 | CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES |
16 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
17 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
18 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
19 | |
20 | ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS, |
21 | COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS |
22 | SOFTWARE IS DISCLAIMED. |
23 | */ |
24 | |
25 | /* |
26 | * $Id: hci_h4.h,v 1.2 2002/09/09 01:17:32 maxk Exp $ |
27 | */ |
28 | |
29 | #ifdef __KERNEL__ |
30 | struct h4_struct { |
31 | unsigned long rx_state; |
32 | unsigned long rx_count; |
33 | struct sk_buff *rx_skb; |
34 | struct sk_buff_head txq; |
35 | }; |
36 | |
37 | /* H4 receiver States */ |
38 | #define H4_W4_PACKET_TYPE 0 |
39 | #define H4_W4_EVENT_HDR 1 |
40 | #define H4_W4_ACL_HDR 2 |
41 | #define H4_W4_SCO_HDR 3 |
42 | #define H4_W4_DATA 4 |
43 | |
44 | #endif /* __KERNEL__ */ |