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