2022-06-08 23:46:35 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
|
|
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
#ifndef __USB_OSINTF_H
|
|
|
|
#define __USB_OSINTF_H
|
|
|
|
|
2022-06-08 23:46:35 +00:00
|
|
|
#include "osdep_service.h"
|
|
|
|
#include "drv_types.h"
|
|
|
|
#include "usb_vendor_req.h"
|
2013-05-08 21:45:39 +00:00
|
|
|
|
2013-08-14 02:01:38 +00:00
|
|
|
extern char *rtw_initmac;
|
2013-06-03 19:52:18 +00:00
|
|
|
extern int rtw_mc2u_disable;
|
2013-05-08 21:45:39 +00:00
|
|
|
|
2013-08-14 17:03:28 +00:00
|
|
|
#define USBD_HALTED(Status) ((u32)(Status) >> 30 == 3)
|
2013-05-08 21:45:39 +00:00
|
|
|
|
2013-08-14 02:01:38 +00:00
|
|
|
u8 usbvendorrequest(struct dvobj_priv *pdvobjpriv, enum bt_usb_request brequest,
|
|
|
|
enum rt_usb_wvalue wvalue, u8 windex, void *data,
|
|
|
|
u8 datalen, u8 isdirectionin);
|
2013-06-03 19:52:18 +00:00
|
|
|
void netdev_br_init(struct net_device *netdev);
|
2013-07-27 01:08:39 +00:00
|
|
|
void dhcp_flag_bcast(struct adapter *priv, struct sk_buff *skb);
|
2022-06-08 23:46:35 +00:00
|
|
|
void *scdb_findEntry(struct adapter *priv, unsigned char *ipAddr);
|
2013-07-27 01:08:39 +00:00
|
|
|
void nat25_db_expire(struct adapter *priv);
|
|
|
|
int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method);
|
2013-05-08 21:45:39 +00:00
|
|
|
|
|
|
|
#endif
|