]> Pileus Git - ~andy/linux/blob - drivers/staging/ath6kl/include/dset_api.h
drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c: adjust array index
[~andy/linux] / drivers / staging / ath6kl / include / dset_api.h
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.
17 //
18 //
19 //------------------------------------------------------------------------------
20 //==============================================================================
21 // Host-side DataSet API.
22 //
23 // Author(s): ="Atheros"
24 //==============================================================================
25 #ifndef _DSET_API_H_
26 #define _DSET_API_H_
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
31
32 /*
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.
36  */
37 #ifndef CONFIG_HOST_DSET_SUPPORT
38 #define CONFIG_HOST_DSET_SUPPORT 1
39 #endif
40
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);
50
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);
59
60 #ifdef __cplusplus
61 }
62 #endif /* __cplusplus */
63
64
65 #endif /* _DSET_API_H_ */