OLD | NEW |
(Empty) | |
| 1 //------------------------------------------------------------------------------ |
| 2 // <copyright file="dset_api.h" company="Atheros"> |
| 3 // Copyright (c) 2004-2008 Atheros Corporation. All rights reserved. |
| 4 // |
| 5 // This program is free software; you can redistribute it and/or modify |
| 6 // it under the terms of the GNU General Public License version 2 as |
| 7 // published by the Free Software Foundation; |
| 8 // |
| 9 // Software distributed under the License is distributed on an "AS |
| 10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 11 // implied. See the License for the specific language governing |
| 12 // rights and limitations under the License. |
| 13 // |
| 14 // |
| 15 //------------------------------------------------------------------------------ |
| 16 //============================================================================== |
| 17 // Host-side DataSet API. |
| 18 // |
| 19 // Author(s): ="Atheros" |
| 20 //============================================================================== |
| 21 #ifndef _DSET_API_H_ |
| 22 #define _DSET_API_H_ |
| 23 |
| 24 #ifdef __cplusplus |
| 25 extern "C" { |
| 26 #endif /* __cplusplus */ |
| 27 |
| 28 /* |
| 29 * Host-side DataSet support is optional, and is not |
| 30 * currently required for correct operation. To disable |
| 31 * Host-side DataSet support, set this to 0. |
| 32 */ |
| 33 #ifndef CONFIG_HOST_DSET_SUPPORT |
| 34 #define CONFIG_HOST_DSET_SUPPORT 1 |
| 35 #endif |
| 36 |
| 37 /* Called to send a DataSet Open Reply back to the Target. */ |
| 38 A_STATUS wmi_dset_open_reply(struct wmi_t *wmip, |
| 39 A_UINT32 status, |
| 40 A_UINT32 access_cookie, |
| 41 A_UINT32 size, |
| 42 A_UINT32 version, |
| 43 A_UINT32 targ_handle, |
| 44 A_UINT32 targ_reply_fn, |
| 45 A_UINT32 targ_reply_arg); |
| 46 |
| 47 /* Called to send a DataSet Data Reply back to the Target. */ |
| 48 A_STATUS wmi_dset_data_reply(struct wmi_t *wmip, |
| 49 A_UINT32 status, |
| 50 A_UINT8 *host_buf, |
| 51 A_UINT32 length, |
| 52 A_UINT32 targ_buf, |
| 53 A_UINT32 targ_reply_fn, |
| 54 A_UINT32 targ_reply_arg); |
| 55 |
| 56 #ifdef __cplusplus |
| 57 } |
| 58 #endif /* __cplusplus */ |
| 59 |
| 60 |
| 61 #endif /* _DSET_API_H_ */ |
OLD | NEW |