Unit RTL8188EU

From Ultibo.org
Revision as of 05:44, 20 June 2017 by Ultibo (Talk | contribs)

Jump to: navigation, search

Return to Unit Reference


Description


Realtek 8188EU USB Wireless Driver unit

The list of USB supported device Ids shown below for this driver is taken from the equivalent Linux driver but not all have been tested. In general if your device works with the 8188EU kernel module under Linux then it should also work with this driver.

Constants



RTL8188EU specific constants RTL8188EU_*
RTL8188EU_DRIVER_NAME = 'Realtek 8188EU USB Wireless Driver'; Name of RTL8188EU driver


RTL8188EU device Id count RTL8188EU_DEVICE_ID_*
RTL8188EU_DEVICE_ID_COUNT = 8; Number of supported Device Ids
 
RTL8188EU_DEVICE_ID:array[0..RTL8188EU_DEVICE_ID_COUNT - 1] of TUSBDeviceId = (  
Realtek demoboard
(idVendor:USB_VENDORID_REALTEK;idProduct:$8179), 8188EUS
(idVendor:USB_VENDORID_REALTEK;idProduct:$0179), 8188ETV
Customer Id
8188EUS
(idVendor:$056e;idProduct:$4008), Elecom WDC-150SU2M
(idVendor:$07b8;idProduct:$8179), Abocom - Abocom
(idVendor:$2001;idProduct:$330F), DLink DWA-125 REV D1
(idVendor:$2001;idProduct:$3310), Dlink DWA-123 REV D1
(idVendor:$2001;idProduct:$3311), DLink GO-USB-N150 REV B1
(idVendor:$0df6;idProduct:$0076)); Sitecom N150 v2


Type definitions


None defined

Public variables


None defined

Function declarations



Initialization functions

procedure RTL8188EUInit;
Description: To be documented
Note None documented


RTL8188EU network functions

function RTL8188EUDeviceOpen(Network:PNetworkDevice):LongWord;
Description: Implementation of NetworkDeviceOpen for the RTL8188EU device
Note None documented


function RTL8188EUDeviceClose(Network:PNetworkDevice):LongWord;
Description: Implementation of NetworkDeviceClose for the RTL8188EU device
Note None documented


function RTL8188EUDeviceRead(Network:PNetworkDevice; Buffer:Pointer; Size:LongWord; var Length:LongWord):LongWord;
Description: Implementation of NetworkDeviceRead for the RTL8188EU device
Note None documented


function RTL8188EUDeviceWrite(Network:PNetworkDevice; Buffer:Pointer; Size:LongWord; var Length:LongWord):LongWord;
Description: Implementation of NetworkDeviceWrite for the RTL8188EU device
Note None documented


function RTL8188EUDeviceControl(Network:PNetworkDevice; Request:Integer; Argument1:PtrUInt; var Argument2:PtrUInt):LongWord;
Description: Implementation of NetworkDeviceControl for the RTL8188EU device
Note None documented


RTL8188EU USB functions

function RTL8188EUDriverBind(Device:PUSBDevice; Interrface:PUSBInterface):LongWord;
Description: Bind the RTL8188EU driver to a USB device if it is suitable
Device The USB device to attempt to bind to
Interrface The USB interface to attempt to bind to (or nil for whole device)
Return USB_STATUS_SUCCESS if completed, USB_STATUS_DEVICE_UNSUPPORTED if unsupported or another error code on failure


function RTL8188EUDriverUnbind(Device:PUSBDevice; Interrface:PUSBInterface):LongWord;
Description: Unbind the RTL8188EU driver from a USB device
Device The USB device to unbind from
Interrface The USB interface to unbind from (or nil for whole device)
Return USB_STATUS_SUCCESS if completed or another error code on failure


RTL8188EU helper functions

function RTL8188EUCheckDevice(Device:PUSBDevice):LongWord;
Description: Check the Vendor and Device Id against the supported devices
Device USB device to check
Return USB_STATUS_SUCCESS if completed or another error code on failure


Return to Unit Reference