• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 
8 #ifndef __OSDEP_INTF_H_
9 #define __OSDEP_INTF_H_
10 
11 #include <osdep_service.h>
12 #include <drv_types.h>
13 
14 extern char *rtw_initmac;
15 extern int rtw_mc2u_disable;
16 
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);
20 
21 void rtw_stop_drv_threads(struct adapter *padapter);
22 void rtw_cancel_all_timer(struct adapter *padapter);
23 
24 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
25 
26 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
27 struct net_device *rtw_init_netdev(struct adapter *padapter);
28 u16 rtw_recv_select_queue(struct sk_buff *skb);
29 
30 int netdev_open(struct net_device *pnetdev);
31 int ips_netdrv_open(struct adapter *padapter);
32 void rtw_ips_dev_unload(struct adapter *padapter);
33 int rtw_ips_pwr_up(struct adapter *padapter);
34 void rtw_ips_pwr_down(struct adapter *padapter);
35 
36 #endif	/* _OSDEP_INTF_H_ */
37