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