ath6kl: remove-typedef HIF_DEVICE
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / ath6kl / include / dset_api.h
blobfe901ba40ec6a62a67282c7d2b5db39aa0d56892
1 //------------------------------------------------------------------------------
2 // <copyright file="dset_api.h" company="Atheros">
3 // Copyright (c) 2004-2010 Atheros Corporation. All rights reserved.
4 //
5 //
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.
19 //------------------------------------------------------------------------------
20 //==============================================================================
21 // Host-side DataSet API.
23 // Author(s): ="Atheros"
24 //==============================================================================
25 #ifndef _DSET_API_H_
26 #define _DSET_API_H_
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
33 * Host-side DataSet support is optional, and is not
34 * currently required for correct operation. To disable
35 * Host-side DataSet support, set this to 0.
37 #ifndef CONFIG_HOST_DSET_SUPPORT
38 #define CONFIG_HOST_DSET_SUPPORT 1
39 #endif
41 /* Called to send a DataSet Open Reply back to the Target. */
42 int wmi_dset_open_reply(struct wmi_t *wmip,
43 u32 status,
44 u32 access_cookie,
45 u32 size,
46 u32 version,
47 u32 targ_handle,
48 u32 targ_reply_fn,
49 u32 targ_reply_arg);
51 /* Called to send a DataSet Data Reply back to the Target. */
52 int wmi_dset_data_reply(struct wmi_t *wmip,
53 u32 status,
54 u8 *host_buf,
55 u32 length,
56 u32 targ_buf,
57 u32 targ_reply_fn,
58 u32 targ_reply_arg);
60 #ifdef __cplusplus
62 #endif /* __cplusplus */
65 #endif /* _DSET_API_H_ */