[go: nahoru, domu]

1/******************************************************************************
2 *
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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
16#ifndef __OSDEP_INTF_H_
17#define __OSDEP_INTF_H_
18
19#include <osdep_service.h>
20#include <drv_types.h>
21
22int rtw_hw_suspend23a(struct rtw_adapter *padapter);
23int rtw_hw_resume23a(struct rtw_adapter *padapter);
24
25int rtw_init_drv_sw23a(struct rtw_adapter *padapter);
26int rtw_free_drv_sw23a(struct rtw_adapter *padapter);
27int rtw_reset_drv_sw23a(struct rtw_adapter *padapter);
28
29void rtw_cancel_all_timer23a(struct rtw_adapter *padapter);
30
31int rtw_init_netdev23a_name23a(struct net_device *pnetdev, const char *ifname);
32struct net_device *rtw_init_netdev23a(struct rtw_adapter *padapter);
33
34u16 rtw_recv_select_queue23a(struct sk_buff *skb);
35
36void rtw_ips_dev_unload23a(struct rtw_adapter *padapter);
37
38int rtw_ips_pwr_up23a(struct rtw_adapter *padapter);
39void rtw_ips_pwr_down23a(struct rtw_adapter *padapter);
40
41int rtw_drv_register_netdev(struct rtw_adapter *padapter);
42void rtw_ndev_destructor(struct net_device *ndev);
43
44int rtl8723au_inirp_init(struct rtw_adapter *Adapter);
45int rtl8723au_inirp_deinit(struct rtw_adapter *Adapter);
46void rtl8723a_usb_intf_stop(struct rtw_adapter *padapter);
47
48#endif	/* _OSDEP_INTF_H_ */
49