1*4882a593Smuzhiyun /****************************************************************************** 2*4882a593Smuzhiyun * 3*4882a593Smuzhiyun * Copyright(c) 2007 - 2017 Realtek Corporation. 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * This program is free software; you can redistribute it and/or modify it 6*4882a593Smuzhiyun * under the terms of version 2 of the GNU General Public License as 7*4882a593Smuzhiyun * published by the Free Software Foundation. 8*4882a593Smuzhiyun * 9*4882a593Smuzhiyun * This program is distributed in the hope that it will be useful, but WITHOUT 10*4882a593Smuzhiyun * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11*4882a593Smuzhiyun * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12*4882a593Smuzhiyun * more details. 13*4882a593Smuzhiyun * 14*4882a593Smuzhiyun *****************************************************************************/ 15*4882a593Smuzhiyun #ifndef _RTW_IOCTL_H_ 16*4882a593Smuzhiyun #define _RTW_IOCTL_H_ 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun enum oid_type { 19*4882a593Smuzhiyun QUERY_OID, 20*4882a593Smuzhiyun SET_OID 21*4882a593Smuzhiyun }; 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun struct oid_par_priv { 24*4882a593Smuzhiyun void *adapter_context; 25*4882a593Smuzhiyun NDIS_OID oid; 26*4882a593Smuzhiyun void *information_buf; 27*4882a593Smuzhiyun u32 information_buf_len; 28*4882a593Smuzhiyun u32 *bytes_rw; 29*4882a593Smuzhiyun u32 *bytes_needed; 30*4882a593Smuzhiyun enum oid_type type_of_oid; 31*4882a593Smuzhiyun u32 dbg; 32*4882a593Smuzhiyun }; 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun #if defined(PLATFORM_LINUX) && defined(CONFIG_WIRELESS_EXT) 35*4882a593Smuzhiyun extern struct iw_handler_def rtw_handlers_def; 36*4882a593Smuzhiyun #endif 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun extern void rtw_request_wps_pbc_event(_adapter *padapter); 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun #ifdef CONFIG_APPEND_VENDOR_IE_ENABLE 41*4882a593Smuzhiyun extern int rtw_vendor_ie_get_raw_data(struct net_device *, u32, char *, u32); 42*4882a593Smuzhiyun extern int rtw_vendor_ie_get_data(struct net_device*, int , char*); 43*4882a593Smuzhiyun extern int rtw_vendor_ie_get(struct net_device *, struct iw_request_info *, union iwreq_data *, char *); 44*4882a593Smuzhiyun extern int rtw_vendor_ie_set(struct net_device*, struct iw_request_info*, union iwreq_data*, char*); 45*4882a593Smuzhiyun #endif 46*4882a593Smuzhiyun 47*4882a593Smuzhiyun #endif /* #ifndef __INC_CEINFO_ */ 48