1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
6 ******************************************************************************/
8 #ifndef __OSDEP_INTF_H_
9 #define __OSDEP_INTF_H_
11 #include <osdep_service.h>
12 #include <drv_types.h>
14 extern char *rtw_initmac;
15 extern int rtw_mc2u_disable;
17 u8 rtw_init_drv_sw(struct adapter *padapter);
18 u8 rtw_free_drv_sw(struct adapter *padapter);
19 u8 rtw_reset_drv_sw(struct adapter *padapter);
21 void rtw_stop_drv_threads(struct adapter *padapter);
22 void rtw_cancel_all_timer(struct adapter *padapter);
24 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
26 struct net_device *rtw_init_netdev(void);
27 u16 rtw_recv_select_queue(struct sk_buff *skb);
29 int netdev_open(struct net_device *pnetdev);
30 int ips_netdrv_open(struct adapter *padapter);
31 void rtw_ips_dev_unload(struct adapter *padapter);
32 int rtw_ips_pwr_up(struct adapter *padapter);
33 void rtw_ips_pwr_down(struct adapter *padapter);
35 #endif /* _OSDEP_INTF_H_ */