1 //------------------------------------------------------------------------------
2 // <copyright file="dset_api.h" company="Atheros">
3 // Copyright (c) 2004-2010 Atheros Corporation. All rights reserved.
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.
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 //==============================================================================
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
41 /* Called to send a DataSet Open Reply back to the Target. */
42 int wmi_dset_open_reply(struct wmi_t *wmip,
44 A_UINT32 access_cookie,
48 A_UINT32 targ_reply_fn,
49 A_UINT32 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,
57 A_UINT32 targ_reply_fn,
58 A_UINT32 targ_reply_arg);
62 #endif /* __cplusplus */
65 #endif /* _DSET_API_H_ */