1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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.
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
14 ******************************************************************************/
16 #ifndef __OSDEP_INTF_H_
17 #define __OSDEP_INTF_H_
19 #include <osdep_service.h>
20 #include <drv_types.h>
22 extern char *rtw_initmac;
23 extern int rtw_mc2u_disable;
25 u8 rtw_init_drv_sw(struct adapter *padapter);
26 u8 rtw_free_drv_sw(struct adapter *padapter);
27 u8 rtw_reset_drv_sw(struct adapter *padapter);
29 void rtw_stop_drv_threads (struct adapter *padapter);
30 void rtw_cancel_all_timer(struct adapter *padapter);
32 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
34 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
35 struct net_device *rtw_init_netdev(struct adapter *padapter);
36 u16 rtw_recv_select_queue(struct sk_buff *skb);
38 int netdev_open(struct net_device *pnetdev);
39 int ips_netdrv_open(struct adapter *padapter);
40 void rtw_ips_dev_unload(struct adapter *padapter);
41 int rtw_ips_pwr_up(struct adapter *padapter);
42 void rtw_ips_pwr_down(struct adapter *padapter);
44 #endif /* _OSDEP_INTF_H_ */