1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
6 * Modifications for inclusion into the Linux staging tree are
7 * Copyright(c) 2010 Larry Finger. All rights reserved.
10 * WLAN FAE <wlanfae@realtek.com>
11 * Larry Finger <Larry.Finger@lwfinger.net>
13 ******************************************************************************/
14 #ifndef __USB_OSINTF_H
15 #define __USB_OSINTF_H
17 #include "osdep_service.h"
18 #include "drv_types.h"
20 extern char *r8712_initmac;
22 unsigned int r8712_usb_inirp_init(struct _adapter *padapter);
23 unsigned int r8712_usb_inirp_deinit(struct _adapter *padapter);
24 uint rtl871x_hal_init(struct _adapter *padapter);
25 uint rtl8712_hal_deinit(struct _adapter *padapter);
27 void rtl871x_intf_stop(struct _adapter *padapter);
28 void r871x_dev_unload(struct _adapter *padapter);
29 void r8712_stop_drv_threads(struct _adapter *padapter);
30 void r8712_stop_drv_timers(struct _adapter *padapter);
31 int r8712_init_drv_sw(struct _adapter *padapter);
32 void r8712_free_drv_sw(struct _adapter *padapter);
33 struct net_device *r8712_init_netdev(void);