linux/drivers/staging/rtl8188eu/include/usb_osintf.h
<<
>>
Prefs
   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 * You should have received a copy of the GNU General Public License along with
  15 * this program; if not, write to the Free Software Foundation, Inc.,
  16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
  17 *
  18 *
  19 ******************************************************************************/
  20#ifndef __USB_OSINTF_H
  21#define __USB_OSINTF_H
  22
  23#include <osdep_service.h>
  24#include <drv_types.h>
  25#include <usb_vendor_req.h>
  26
  27extern char *rtw_initmac;
  28extern int rtw_mc2u_disable;
  29
  30#define USBD_HALTED(Status) ((u32)(Status) >> 30 == 3)
  31
  32u8 usbvendorrequest(struct dvobj_priv *pdvobjpriv, enum bt_usb_request brequest,
  33                    enum rt_usb_wvalue wvalue, u8 windex, void *data,
  34                    u8 datalen, u8 isdirectionin);
  35int pm_netdev_open(struct net_device *pnetdev, u8 bnormal);
  36void netdev_br_init(struct net_device *netdev);
  37void dhcp_flag_bcast(struct adapter *priv, struct sk_buff *skb);
  38void *scdb_findEntry(struct adapter *priv, unsigned char *macAddr,
  39                     unsigned char *ipAddr);
  40void nat25_db_expire(struct adapter *priv);
  41int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method);
  42
  43int rtw_resume_process(struct adapter *padapter);
  44
  45#endif
  46