mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Place driver rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 in branch v4.1.8_9499
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
bad0b4cde4
commit
065126d8ce
247 changed files with 192113 additions and 30447 deletions
23
include/usb_vendor_req.h
Normal file → Executable file
23
include/usb_vendor_req.h
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of version 2 of the GNU General Public License as
|
||||
* published by the Free Software Foundation.
|
||||
|
@ -20,7 +20,7 @@
|
|||
#ifndef _USB_VENDOR_REQUEST_H_
|
||||
#define _USB_VENDOR_REQUEST_H_
|
||||
|
||||
/* 4 Set/Get Register related wIndex/Data */
|
||||
//4 Set/Get Register related wIndex/Data
|
||||
#define RT_USB_RESET_MASK_OFF 0
|
||||
#define RT_USB_RESET_MASK_ON 1
|
||||
#define RT_USB_SLEEP_MASK_OFF 0
|
||||
|
@ -28,24 +28,33 @@
|
|||
#define RT_USB_LDO_ON 1
|
||||
#define RT_USB_LDO_OFF 0
|
||||
|
||||
/* 4 Set/Get SYSCLK related wValue or Data */
|
||||
//4 Set/Get SYSCLK related wValue or Data
|
||||
#define RT_USB_SYSCLK_32KHZ 0
|
||||
#define RT_USB_SYSCLK_40MHZ 1
|
||||
#define RT_USB_SYSCLK_60MHZ 2
|
||||
|
||||
enum bt_usb_request {
|
||||
|
||||
typedef enum _RT_USB_BREQUEST {
|
||||
RT_USB_SET_REGISTER = 1,
|
||||
RT_USB_SET_SYSCLK = 2,
|
||||
RT_USB_GET_SYSCLK = 3,
|
||||
RT_USB_GET_REGISTER = 4
|
||||
};
|
||||
} RT_USB_BREQUEST;
|
||||
|
||||
enum rt_usb_wvalue {
|
||||
|
||||
typedef enum _RT_USB_WVALUE {
|
||||
RT_USB_RESET_MASK = 1,
|
||||
RT_USB_SLEEP_MASK = 2,
|
||||
RT_USB_USB_HRCPWM = 3,
|
||||
RT_USB_LDO = 4,
|
||||
RT_USB_BOOT_TYPE = 5
|
||||
};
|
||||
} RT_USB_WVALUE;
|
||||
|
||||
|
||||
//BOOLEAN usbvendorrequest(PCE_USB_DEVICE CEdevice, RT_USB_BREQUEST bRequest, RT_USB_WVALUE wValue, UCHAR wIndex, PVOID Data, UCHAR DataLength, BOOLEAN isDirectionIn);
|
||||
//BOOLEAN CEusbGetStatusRequest(PCE_USB_DEVICE CEdevice, IN USHORT Op, IN USHORT Index, PVOID Data);
|
||||
//BOOLEAN CEusbFeatureRequest(PCE_USB_DEVICE CEdevice, IN USHORT Op, IN USHORT FeatureSelector, IN USHORT Index);
|
||||
//BOOLEAN CEusbGetDescriptorRequest(PCE_USB_DEVICE CEdevice, IN short urbLength, IN UCHAR DescriptorType, IN UCHAR Index, IN USHORT LanguageId, IN PVOID TransferBuffer, IN ULONG TransferBufferLength);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue