OLD | NEW |
1 | 1 //------------------------------------------------------------------------------ |
2 /* | 2 // Copyright (c) 2004-2010 Atheros Communications Inc. |
3 * | 3 // All rights reserved. |
4 * Copyright (c) 2004-2007 Atheros Communications Inc. | |
5 * All rights reserved. | |
6 * | |
7 * | |
8 // This program is free software; you can redistribute it and/or modify | |
9 // it under the terms of the GNU General Public License version 2 as | |
10 // published by the Free Software Foundation; | |
11 // | 4 // |
12 // Software distributed under the License is distributed on an "AS | 5 // |
13 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 6 // |
14 // implied. See the License for the specific language governing | 7 // Permission to use, copy, modify, and/or distribute this software for any |
15 // rights and limitations under the License. | 8 // purpose with or without fee is hereby granted, provided that the above |
| 9 // copyright notice and this permission notice appear in all copies. |
| 10 // |
| 11 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 12 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 13 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 14 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 15 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 16 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 17 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 // | 18 // |
17 // | 19 // |
18 * | 20 // |
19 */ | 21 // Author(s): ="Atheros" |
20 #include <linux/kernel.h> | 22 //------------------------------------------------------------------------------ |
21 #include <linux/skbuff.h> | |
22 #include <a_config.h> | 23 #include <a_config.h> |
23 #include "athdefs.h" | 24 #include "athdefs.h" |
24 #include "a_types.h" | 25 #include "a_types.h" |
25 #include "a_osapi.h" | 26 #include "a_osapi.h" |
26 #include "htc_packet.h" | 27 #include "htc_packet.h" |
27 | 28 |
28 #define AR6000_DATA_OFFSET 64 | 29 #define AR6000_DATA_OFFSET 64 |
29 | 30 |
30 void a_netbuf_enqueue(A_NETBUF_QUEUE_T *q, void *pkt) | 31 void a_netbuf_enqueue(A_NETBUF_QUEUE_T *q, void *pkt) |
31 { | 32 { |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 return A_OK; | 225 return A_OK; |
225 } | 226 } |
226 | 227 |
227 #ifdef EXPORT_HCI_BRIDGE_INTERFACE | 228 #ifdef EXPORT_HCI_BRIDGE_INTERFACE |
228 EXPORT_SYMBOL(a_netbuf_to_data); | 229 EXPORT_SYMBOL(a_netbuf_to_data); |
229 EXPORT_SYMBOL(a_netbuf_put); | 230 EXPORT_SYMBOL(a_netbuf_put); |
230 EXPORT_SYMBOL(a_netbuf_pull); | 231 EXPORT_SYMBOL(a_netbuf_pull); |
231 EXPORT_SYMBOL(a_netbuf_alloc); | 232 EXPORT_SYMBOL(a_netbuf_alloc); |
232 EXPORT_SYMBOL(a_netbuf_free); | 233 EXPORT_SYMBOL(a_netbuf_free); |
233 #endif | 234 #endif |
OLD | NEW |