Difference between revisions of "Unit RT2X00LIB"
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
---- | ---- | ||
− | '''Ralink RT2x00 Wireless Driver | + | '''Ralink RT2x00 Wireless Driver Library unit''' |
This unit provides functionality and definitions common to all implementations of the RT2x00 chipset series PCI, USB or other. | This unit provides functionality and definitions common to all implementations of the RT2x00 chipset series PCI, USB or other. | ||
Line 1,680: | Line 1,680: | ||
=== Function declarations === | === Function declarations === | ||
---- | ---- | ||
+ | |||
'''RT2X00LIB functions''' | '''RT2X00LIB functions''' | ||
Line 1,689: | Line 1,690: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,701: | Line 1,702: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,713: | Line 1,714: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,725: | Line 1,726: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,737: | Line 1,738: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00queue_start_queue | | rt2x00queue_start_queue | ||
|- | |- | ||
Line 1,749: | Line 1,750: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00queue_stop_queue | | rt2x00queue_stop_queue | ||
|- | |- | ||
Line 1,761: | Line 1,762: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00queue_start_queue | | rt2x00queue_start_queue | ||
|- | |- | ||
Line 1,773: | Line 1,774: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00queue_stop_queue | | rt2x00queue_stop_queue | ||
|- | |- | ||
Line 1,785: | Line 1,786: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,797: | Line 1,798: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,809: | Line 1,810: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,821: | Line 1,822: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,833: | Line 1,834: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,845: | Line 1,846: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,857: | Line 1,858: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,869: | Line 1,870: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,881: | Line 1,882: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,893: | Line 1,894: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,905: | Line 1,906: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00lib_config | | rt2x00lib_config | ||
|- | |- | ||
Line 1,917: | Line 1,918: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00lib_config_antenna | | rt2x00lib_config_antenna | ||
|- | |- | ||
Line 1,929: | Line 1,930: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00lib_config_intf | | rt2x00lib_config_intf | ||
|- | |- | ||
Line 1,944: | Line 1,945: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,956: | Line 1,957: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,968: | Line 1,969: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,980: | Line 1,981: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 1,992: | Line 1,993: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,004: | Line 2,005: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,016: | Line 2,017: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,028: | Line 2,029: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,040: | Line 2,041: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,052: | Line 2,053: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,064: | Line 2,065: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,076: | Line 2,077: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,088: | Line 2,089: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00_rt_rev_gte | | rt2x00_rt_rev_gte | ||
|- | |- | ||
Line 2,100: | Line 2,101: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,112: | Line 2,113: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,124: | Line 2,125: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,136: | Line 2,137: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,148: | Line 2,149: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,160: | Line 2,161: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,172: | Line 2,173: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,184: | Line 2,185: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,196: | Line 2,197: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00_eeprom_byte | | rt2x00_eeprom_byte | ||
|- | |- | ||
Line 2,208: | Line 2,209: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,220: | Line 2,221: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,232: | Line 2,233: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,244: | Line 2,245: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,256: | Line 2,257: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,268: | Line 2,269: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,280: | Line 2,281: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,292: | Line 2,293: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,299: | Line 2,300: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
− | <pre style="border: 0; padding-bottom:0px;">procedure RT2X00SetRegister32(var Reg:LongWord; Mask,Shift,Value:LongWord) | + | <pre style="border: 0; padding-bottom:0px;">procedure RT2X00SetRegister32(var Reg:LongWord; Mask,Shift,Value:LongWord);</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' Shift is the number of bits to shift the value left (SHL)</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' Shift is the number of bits to shift the value left (SHL)</div> | ||
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,316: | Line 2,317: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,328: | Line 2,329: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,340: | Line 2,341: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00_get_rate | | rt2x00_get_rate | ||
|- | |- | ||
Line 2,352: | Line 2,353: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00_get_rate_mcs | | rt2x00_get_rate_mcs | ||
|- | |- | ||
Line 2,364: | Line 2,365: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,376: | Line 2,377: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,388: | Line 2,389: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00queue_alloc_rxskb | | rt2x00queue_alloc_rxskb | ||
|- | |- | ||
Line 2,400: | Line 2,401: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- | ||
Line 2,412: | Line 2,413: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00queue_insert_l2pad | | rt2x00queue_insert_l2pad | ||
|- | |- | ||
Line 2,424: | Line 2,425: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00queue_remove_l2pad | | rt2x00queue_remove_l2pad | ||
|- | |- | ||
Line 2,436: | Line 2,437: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00lib_rxdone_read_signal | | rt2x00lib_rxdone_read_signal | ||
|- | |- | ||
Line 2,448: | Line 2,449: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| rt2x00crypto_rx_insert_iv | | rt2x00crypto_rx_insert_iv | ||
|- | |- | ||
Line 2,460: | Line 2,461: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| RATE_MCS | | RATE_MCS | ||
|- | |- | ||
Line 2,472: | Line 2,473: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| L2PAD_SIZE | | L2PAD_SIZE | ||
|- | |- |
Latest revision as of 02:06, 22 April 2022
Return to Unit Reference
Contents
[hide]Description
Ralink RT2x00 Wireless Driver Library unit
This unit provides functionality and definitions common to all implementations of the RT2x00 chipset series PCI, USB or other.
Constants
RT2X00_DEVICE_STATE_*
RT2X00_*_SIZE
RT2X00_*_EXTRA
RT2X00_RT*
RT2X00_REQUIRE_*
RT2X00_CAPABILITY_*
RT2X00_REGISTER_BUSY_*
RT2X00_RX_CRYPTO_*
RT2X00_RXDONE_*
RT2X00_ENTRY_TXD_*
RT2X00_TXDONE_*
RT2X00_ANTENNA_*
RT2X00_ANTENNA_RX_*
RT2X00_LED_TYPE_*
RT2X00_LED_MODE_*
RT2X00_TSF_SYNC_*
RT2X00_STATE_*
RT2X00_IFS_*
RT2X00_TXOP_*
RT2X00_CIPHER_*
RT2X00_RATE_MODE_*
RT2X00_*_SIZE
RT2X00_CHANNEL_*
RT2X00_SUPPORT_BAND_*
RT2X00_SUPPORT_RATE_*
RT2X00_DEV_RATE_*
RT2X00_CONFIG_UPDATE_*
Type definitions
RT2X00LIB chipset
RT2X00LIB rate
RT2X00LIB antenna
RT2X00LIB channel
RT2X00LIB channels
RT2X00LIB RF channel
RT2X00LIB RF channels
PRT2X00RFChannels = ^TRT2X00RFChannels;
TRT2X00RFChannels = array[0..0] of TRT2X00RFChannel;
RT2X00LIB specifications
RT2X00LIB EWMA
RT2X00LIB link quality
RT2X00LIB link antenna
RT2X00LIB link
RT2X00LIB interface
RT2X00LIB channel configuration
PRT2X00ChannelConfiguration = ^TRT2X00ChannelConfiguration;
TRT2X00ChannelConfiguration = record
RT2X00LIB interface configuration
PRT2X00InterfaceConfiguration = ^TRT2X00InterfaceConfiguration;
TRT2X00InterfaceConfiguration = record
RT2X00LIB RX descriptor
RT2X00LIB TX decriptor
'RT2X00LIB TX complete
RT2X00LIB driver initialization
TRT2X00DriverInit = function(RT2X00:PRT2X00WiFiDevice):LongWord;
|
RT2X00LIB EEPROM load
TRT2X00EepromLoad = function(RT2X00:PRT2X00WiFiDevice; Data:PWord; Size:LongWord):LongWord;
|
RT2X00LIB register read
TRT2X00RegisterRead = function(RT2X00:PRT2X00WiFiDevice; Offset:Word; Value:PLongWord):LongWord;
|
RT2X00LIB register write
TRT2X00RegisterWrite = function(RT2X00:PRT2X00WiFiDevice; Offset:Word; Value:LongWord):LongWord;
|
RT2X00LIB register multi read
TRT2X00RegisterMultiRead = function(RT2X00:PRT2X00WiFiDevice; Offset:Word; Data:Pointer; Size:LongWord):LongWord;
|
RT2X00LIB register multi write
TRT2X00RegisterMultiWrite = function(RT2X00:PRT2X00WiFiDevice; Offset:Word; Data:Pointer; Size:LongWord):LongWord;
|
RT2X00LIB register busy read
TRT2X00RegisterBusyRead = function(RT2X00:PRT2X00WiFiDevice; Offset,Mask:LongWord; Reg:PLongWord):Boolean;
|
RT2X00LIB set LED
TRT2X00SetLED = function(RT2X00:PRT2X00WiFiDevice; ID,Level:LongWord):LongWord;
|
RT2X00LIB set state
TRT2X00SetState = function(RT2X00:PRT2X00WiFiDevice; State:LongWord):LongWord;
|
RT2X00LIB enable RX
TRT2X00EnableRX = function(RT2X00:PRT2X00WiFiDevice):LongWord;
|
RT2X00LIB disable RX
TRT2X00DisableRX = function(RT2X00:PRT2X00WiFiDevice):LongWord;
|
RT2X00LIB enable beacon
TRT2X00EnableBeacon = function(RT2X00:PRT2X00WiFiDevice):LongWord;
|
RT2X00LIB disable beacon
TRT2X00DisableBeacon = function(RT2X00:PRT2X00WiFiDevice):LongWord;
|
RT2X00LIB get firmware
TRT2X00GetFirmware = function(RT2X00:PRT2X00WiFiDevice; var Name:String; var Address:Pointer; var Size:LongWord):Boolean;
|
RT2X00LIB check firmware
TRT2X00CheckFirmware = function(RT2X00:PRT2X00WiFiDevice; Data:PByte; Size:LongWord):Boolean;
|
RT2X00LIB load firmware
TRT2X00LoadFirmware = function(RT2X00:PRT2X00WiFiDevice; Data:PByte; Size:LongWord):Boolean;
|
RT2X00LIB write firmware
TRT2X00WriteFirmware = function(RT2X00:PRT2X00WiFiDevice; Data:PByte; Size:LongWord):Boolean;
|
RT2X00LIB configure
TRT2X00Configure = function(RT2X00:PRT2X00WiFiDevice; Configuration:PRT2X00ChannelConfiguration; Flags:LongWord):LongWord;
|
RT2X00LIB configure filter
TRT2X00ConfigureFilter = function(RT2X00:PRT2X00WiFiDevice; Filter:LongWord):LongWord;
|
RT2X00LIB configure antenna
TRT2X00ConfigureAntenna = function(RT2X00:PRT2X00WiFiDevice; Antenna:PRT2X00Antenna):LongWord;
|
RT2X00LIB configure interface
TRT2X00ConfigureInterface = function(RT2X00:PRT2X00WiFiDevice; Configuration:PRT2X00InterfaceConfiguration; Flags:LongWord):LongWord;
|
RT2X00LIB initialize registers
TRT2X00InitializeRegisters = function(RT2X00:PRT2X00WiFiDevice):LongWord;
|
RT2X00LIB hardware encryption disabled
TRT2X00HardwareEncryptionDisabled = function(RT2X00:PRT2X00WiFiDevice):Boolean;
|
RT2X00LIB WiFi device
Public variables
None defined
Function declarations
RT2X00LIB functions
function RT2X00DriverInit(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00DriverQuit(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00InitializeModes(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00LoadFirmware(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00EnableBeacon(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00DisableBeacon(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00EnableRadio(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00DisableRadio(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00SetLED(RT2X00:PRT2X00WiFiDevice; ID:LongWord; Enabled:Boolean):LongWord;
function RT2X00RadioLED(RT2X00:PRT2X00WiFiDevice; Enabled:Boolean):LongWord;
function RT2X00AssocLED(RT2X00:PRT2X00WiFiDevice; Enabled:Boolean):LongWord;
function RT2X00ActivityLED(RT2X00:PRT2X00WiFiDevice; Enabled:Boolean):LongWord;
function RT2X00QualityLED(RT2X00:PRT2X00WiFiDevice; RSSI:LongInt):LongWord;
procedure RT2X00InitializeRate(Entry:PIEEE80211Rate; Index:Word; Rate:PRT2X00Rate);
procedure RT2X00InitializeChannel(Entry:PIEEE80211Channel; Channel,TXPower,Value:LongWord);
function RT2X00GetHTCenterChannel(RT2X00:PRT2X00WiFiDevice):Word;
function RT2X00Configure(RT2X00:PRT2X00WiFiDevice; Flags:LongWord):LongWord;
function RT2X00ConfigureAntenna(RT2X00:PRT2X00WiFiDevice; Antenna:PRT2X00Antenna):LongWord;
function RT2X00ConfigureInterface(RT2X00:PRT2X00WiFiDevice; InterfaceType:LongWord; Address,BSSID:PHardwareAddress):LongWord;
RT2X00LIB helper functions
procedure RT2X00SetRTChip(RT2X00:PRT2X00WiFiDevice; RTChip:Word);
procedure RT2X00SetRFChip(RT2X00:PRT2X00WiFiDevice; RFChip:Word);
procedure RT2X00SetRevision(RT2X00:PRT2X00WiFiDevice; Revision:Word);
function RT2X00IsRTChipRevision(RT2X00:PRT2X00WiFiDevice; RTChip:Word; Revision:Word):Boolean;
function RT2X00IsRTChipRevisionLT(RT2X00:PRT2X00WiFiDevice; RTChip:Word; Revision:Word):Boolean;
function RT2X00IsRTChipRevisionGTE(RT2X00:PRT2X00WiFiDevice; RTChip:Word; Revision:Word):Boolean;
function RT2X00GetCapability(RT2X00:PRT2X00WiFiDevice; Capability:LongWord):Boolean;
procedure RT2X00SetCapability(RT2X00:PRT2X00WiFiDevice; Capability:LongWord);
procedure RT2X00ClearCapability(RT2X00:PRT2X00WiFiDevice; Capability:LongWord);
function RT2X00GetRequirement(RT2X00:PRT2X00WiFiDevice; Requirement:LongWord):Boolean;
procedure RT2X00SetRequirement(RT2X00:PRT2X00WiFiDevice; Requirement:LongWord);
procedure RT2X00ClearRequirement(RT2X00:PRT2X00WiFiDevice; Requirement:LongWord);
function RT2X00RFRead(RT2X00:PRT2X00WiFiDevice; Index:LongWord; Data:PLongWord):Boolean;
function RT2X00RFWrite(RT2X00:PRT2X00WiFiDevice; Index,Data:LongWord):Boolean;
function RT2X00GetEeprom8(RT2X00:PRT2X00WiFiDevice; Offset:Word):Byte;
function RT2X00GetEeprom16(RT2X00:PRT2X00WiFiDevice; Offset:Word):Word;
procedure RT2X00SetEeprom16(RT2X00:PRT2X00WiFiDevice; Offset,Value:Word);
function RT2X00GetEepromAddress(RT2X00:PRT2X00WiFiDevice; Offset:Word):Pointer;
function RT2X00GetRegister8(Reg,Mask,Shift:Byte):Byte; inline;
procedure RT2X00SetRegister8(var Reg:Byte; Mask,Shift,Value:Byte); inline;
function RT2X00GetRegister16(Reg,Mask,Shift:Word):Word; inline;
procedure RT2X00SetRegister16(var Reg:Word; Mask,Shift,Value:Word); inline;
function RT2X00GetRegister32(Reg,Mask,Shift:LongWord):LongWord; inline;
procedure RT2X00SetRegister32(var Reg:LongWord; Mask,Shift,Value:LongWord);
function RT2X00ReadDescriptor(Descriptor:PLongWord; Index:Byte):LongWord; inline;
procedure RT2X00WriteDescriptor(Descriptor:PLongWord; Index:Byte; Value:LongWord); inline;
function RT2X00GetTXBufferSize(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00GetTXBufferOffset(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00GetRXBufferSize(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00GetRXBufferOffset(RT2X00:PRT2X00WiFiDevice):LongWord;
function RT2X00InsertL2PAD(var Data:Pointer; var Size:LongWord; HeaderLength:LongWord):Boolean;
function RT2X00RemoveL2PAD(var Data:Pointer; var Size:LongWord; HeaderLength:LongWord):Boolean;
function RT2X00ReceiveReadSignal(RT2X00:PRT2X00WiFiDevice; Descriptor:PRT2X00RXDescriptor):LongWord;
function RT2X00ReceiveInsertIV(Descriptor:PRT2X00RXDescriptor; var Data:Pointer; var Size:LongWord; HeaderLength:LongWord):Boolean;
function RT2X00_L2PAD_SIZE(HeaderLength:LongWord):LongWord; inline;
Return to Unit Reference