OLD | NEW |
1 /* | 1 //------------------------------------------------------------------------------ |
2 * Copyright (c) 2004-2008 Atheros Communications Inc. | |
3 * All rights reserved. | |
4 * | |
5 * This file is the include file for Atheros PS and patch parser. | |
6 * It implements APIs to parse data buffer with patch and PS information and con
vert it to HCI commands. | |
7 * | |
8 * | |
9 * | |
10 * ar3kpsparser.h | |
11 * | |
12 * | |
13 * | |
14 * The software source and binaries included in this development package are | |
15 * licensed, not sold. You, or your company, received the package under one | |
16 * or more license agreements. The rights granted to you are specifically | |
17 * listed in these license agreement(s). All other rights remain with Atheros | |
18 * Communications, Inc., its subsidiaries, or the respective owner including | |
19 * those listed on the included copyright notices.. Distribution of any | |
20 * portion of this package must be in strict compliance with the license | |
21 * agreement(s) terms. | |
22 * | |
23 * | |
24 * | |
25 */ | |
26 | |
27 /*------------------------------------------------------------------------------ | |
28 * | |
29 * <copyright file="File name" company="Atheros"> | |
30 * Copyright (c) 2004-2008 Atheros Corporation. All rights reserved. | |
31 * | |
32 // This program is free software; you can redistribute it and/or modify | |
33 // it under the terms of the GNU General Public License version 2 as | |
34 // published by the Free Software Foundation; | |
35 // | 2 // |
36 // Software distributed under the License is distributed on an "AS | 3 // Copyright (c) 2004-2010 Atheros Corporation. All rights reserved. |
37 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 4 // |
38 // implied. See the License for the specific language governing | 5 // |
39 // rights and limitations under the License. | 6 // Permission to use, copy, modify, and/or distribute this software for any |
| 7 // purpose with or without fee is hereby granted, provided that the above |
| 8 // copyright notice and this permission notice appear in all copies. |
| 9 // |
| 10 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 11 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 12 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 13 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 14 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 15 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 16 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
40 // | 17 // |
41 // | 18 // |
42 *------------------------------------------------------------------------------ | 19 //------------------------------------------------------------------------------ |
43 * | 20 // |
44 * | 21 // This file is the include file for Atheros PS and patch parser. |
45 * | 22 // It implements APIs to parse data buffer with patch and PS information and con
vert it to HCI commands. |
46 * This file is the include file for Atheros PS and patch parser. | 23 // |
47 * It implements APIs to parse data buffer with patch and PS information and con
vert it to HCI commands. | 24 |
48 * | |
49 * | |
50 * | |
51 * | |
52 * | |
53 */ | |
54 #ifndef __AR3KPSPARSER_H | 25 #ifndef __AR3KPSPARSER_H |
55 #define __AR3KPSPARSER_H | 26 #define __AR3KPSPARSER_H |
56 | 27 |
57 | 28 |
58 | 29 |
59 | 30 |
60 #include <linux/fs.h> | 31 #include <linux/fs.h> |
61 #include <linux/slab.h> | 32 #include <linux/slab.h> |
62 #include "athdefs.h" | 33 #include "athdefs.h" |
63 #ifdef HCI_TRANSPORT_SDIO | 34 #ifdef HCI_TRANSPORT_SDIO |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 * Enable patch Command | 118 * Enable patch Command |
148 * PS Reset Command | 119 * PS Reset Command |
149 * PS Tag Command(s) | 120 * PS Tag Command(s) |
150 * | 121 * |
151 */ | 122 */ |
152 int AthCreateCommandList(PSCmdPacket **, A_UINT32 *); | 123 int AthCreateCommandList(PSCmdPacket **, A_UINT32 *); |
153 | 124 |
154 /* Cleanup the dynamically allicated HCI command list */ | 125 /* Cleanup the dynamically allicated HCI command list */ |
155 A_STATUS AthFreeCommandList(PSCmdPacket **HciPacketList, A_UINT32 numPackets); | 126 A_STATUS AthFreeCommandList(PSCmdPacket **HciPacketList, A_UINT32 numPackets); |
156 #endif /* __AR3KPSPARSER_H */ | 127 #endif /* __AR3KPSPARSER_H */ |
OLD | NEW |