Reference

ral(4)

Ralink Technology IEEE 802.11a/g/n wireless network driver

Part of if_ral(4).

NAME

ral – Ralink Technology IEEE 802.11a/g/n wireless network driver

SYNOPSIS

To compile this driver into the kernel, place the following lines in your kernel configuration file:

device ral device ralfw device wlan device wlan_amrr device firmware

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

if_ral_load="YES"

DESCRIPTION

The ral driver supports PCI/PCIe/CardBus wireless adapters based on the Ralink RT2500, RT2501, RT2600, RT2700, RT2800, RT3090 and RT3900E chipsets.

The RT2500 chipset is the first generation of 802.11b/g adapters from Ralink. It consists of two integrated chips, an RT2560 MAC/BBP and an RT2525 radio transceiver.

The RT2501 chipset is the second generation of 802.11a/b/g adapters from Ralink. It consists of two integrated chips, an RT2561 MAC/BBP and an RT2527 radio transceiver. This chipset provides support for the IEEE 802.11e standard with multiple hardware transmission queues and allows scatter/gather for efficient DMA operations.

The RT2600 chipset consists of two integrated chips, an RT2661 MAC/BBP and an RT2529 radio transceiver. This chipset uses the MIMO (multiple-input multiple-output) technology with multiple radio transceivers to extend the operating range of the adapter and to achieve higher throughput. However, the RT2600 chipset does not support any of the 802.11n features.

The RT2700 chipset is a low-cost version of the RT2800 chipset. It supports a single transmit path and two receiver paths (1T2R). It consists of two integrated chips, an RT2760 or RT2790 (PCIe) MAC/BBP and an RT2720 (2.4GHz) or RT2750 (2.4GHz/5GHz) radio transceiver.

The RT2800 chipset is the first generation of 802.11n adapters from Ralink. It consists of two integrated chips, an RT2860 or RT2890 (PCIe) MAC/BBP and an RT2820 (2.4GHz) or RT2850 (2.4GHz/5GHz) radio transceiver. The RT2800 chipset supports two transmit paths and up to three receiver paths (2T2R/2T3R). It can achieve speeds up to 144Mbps (20MHz bandwidth) and 300Mbps (40MHz bandwidth.)

The RT3090 chipset is the first generation of single-chip 802.11n adapters from Ralink. ral supports station, adhoc, hostap, mesh, wds, and monitor mode operation. Only one hostap or mesh virtual interface may be configured at a time. Any number of wds virtual interfaces may be configured together with a hostap interface. Multiple station interfaces may be operated together with a hostap interface to construct a wireless repeater device.

The RT3900E chipset is a single-chip 802.11n adapters from Ralink. The MAC/Baseband Processor can be an RT5390 or RT5392. The RT5390 chip operates in the 2GHz spectrum and supports 1 transmit path and 1 receiver path (1T1R). The RT5392 chip operates in the 2GHz spectrum and supports up to 2 transmit paths and 2 receiver paths (2T2R).

The transmit speed is user-selectable or can be adapted automatically by the driver depending on the number of hardware transmission retries. For more information on configuring this device, see ifconfig(8).

HARDWARE

The ral driver supports PCI/PCIe/CardBus wireless adapters based on Ralink Technology chipsets, including:

CardMAC/BBPBus
A-Link WL54HRT2560PCI
A-Link WL54PCRT2560CardBus
AirLink101 AWLC5025RT2661CardBus
AirLink101 AWLH5025RT2661PCI
Amigo AWI-914WRT2560CardBus
Amigo AWI-922WRT2560mini-PCI
Amigo AWI-926WRT2560PCI
AMIT WL531CRT2560CardBus
AMIT WL531PRT2560PCI
AOpen AOI-831RT2560PCI
ASUS WL-107GRT2560CardBus
ASUS WL-130gRT2560PCI
Atlantis Land A02-PCI-W54RT2560PCI
Atlantis Land A02-PCM-W54RT2560CardBus
Belkin F5D7000 v3RT2560PCI
Belkin F5D7010 v2RT2560CardBus
Billionton MIWLGRLRT2560mini-PCI
Canyon CN-WF511RT2560PCI
Canyon CN-WF513RT2560CardBus
CC&C WL-2102RT2560CardBus
CNet CWC-854RT2560CardBus
CNet CWP-854RT2560PCI
Compex WL54GRT2560CardBus
Compex WLP54GRT2560PCI
Conceptronic C54RCRT2560CardBus
Conceptronic C54RiRT2560PCI
D-Link DWA-525 rev A2RT5392PCI
Digitus DN-7001G-RART2560CardBus
Digitus DN-7006G-RART2560PCI
E-Tech WGPC02RT2560CardBus
E-Tech WGPI02RT2560PCI
Edimax EW-7108PCgRT2560CardBus
Edimax EW-7128gRT2560PCI
Eminent EM3036RT2560CardBus
Eminent EM3037RT2560PCI
Encore ENLWI-G-RLAMRT2560PCI
Encore ENPWI-G-RLAMRT2560CardBus
Fiberline WL-400PRT2560PCI
Fibreline WL-400XRT2560CardBus
Gigabyte GN-WI01GSRT2561Smini-PCI
Gigabyte GN-WIKGRT2560mini-PCI
Gigabyte GN-WMKGRT2560CardBus
Gigabyte GN-WP01GSRT2561SPCI
Gigabyte GN-WPKGRT2560PCI
Hawking HWC54GRRT2560CardBus
Hawking HWP54GRRT2560PCI
iNexQ CR054g-009 (R03)RT2560PCI
JAHT WN-4054PRT2560CardBus
JAHT WN-4054PCIRT2560PCI
LevelOne WNC-0301 v2RT2560PCI
LevelOne WPC-0301 v2RT2560CardBus
Linksys WMP54G v4RT2560PCI
Micronet SP906GKRT2560PCI
Micronet SP908GK V3RT2560CardBus
Minitar MN54GCB-RRT2560CardBus
Minitar MN54GPC-RRT2560PCI
MSI CB54G2RT2560CardBus
MSI MP54G2RT2560mini-PCI
MSI PC54G2RT2560PCI
OvisLink EVO-W54PCIRT2560PCI
PheeNet HWL-PCIG/RART2560PCI
Planex GW-NS300NRT2860CardBus
Pro-Nets CB80211GRT2560CardBus
Pro-Nets PC80211GRT2560PCI
Repotec RP-WB7108RT2560CardBus
Repotec RP-WP0854RT2560PCI
SATech SN-54CRT2560CardBus
SATech SN-54PRT2560PCI
Sitecom WL-112RT2560CardBus
Sitecom WL-115RT2560PCI
SMC SMCWCB-GMRT2661CardBus
SMC SMCWPCI-GMRT2661PCI
SparkLAN WL-685RRT2560CardBus
Surecom EP-9321-gRT2560PCI
Surecom EP-9321-g1RT2560PCI
Surecom EP-9428-gRT2560CardBus
Sweex LC500050RT2560CardBus
Sweex LC700030RT2560PCI
TekComm NE-9321-gRT2560PCI
TekComm NE-9428-gRT2560CardBus
Unex CR054g-R02RT2560PCI
Unex MR054g-R02RT2560CardBus
Zinwell ZWX-G160RT2560CardBus
Zinwell ZWX-G360RT2560mini-PCI
Zinwell ZWX-G361RT2560PCI
Zonet ZEW1500RT2560CardBus
Zonet ZEW1600RT2560PCI

EXAMPLES

Join an existing BSS network (i.e., connect to an access point):

ifconfig wlan create wlandev ral0 inet 192.0.2.20/24

Join a specific BSS network with network name my_net:

ifconfig wlan create wlandev ral0 inet 192.0.2.20/24 \
    ssid my_net

Join a specific BSS network with 40-bit WEP encryption:

ifconfig wlan create wlandev ral0 inet 192.0.2.20/24 \
    ssid my_net wepmode on wepkey 0x1234567890 weptxkey 1

Join a specific BSS network with 104-bit WEP encryption:

ifconfig wlan create wlandev ral0 inet 192.0.2.20/24 \
    ssid my_net \
    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1

DIAGNOSTICS

ral%d: could not load 8051 microcode

An error occurred while attempting to upload the microcode to the onboard 8051 microcontroller unit.

ral%d: timeout waiting for MCU to initialize

The onboard 8051 microcontroller unit failed to initialize in time.

ral%d: device timeout

A frame dispatched to the hardware for transmission did not complete in time. The driver will reset the hardware. This should not happen.

SEE ALSO

cardbus(4), intro(4), wlan(4), wlan_ccmp(4), wlan_tkip(4), wlan_wep(4), wlan_xauth(4), networking(7), hostapd(8), ifconfig(8), wpa_supplicant(8)

HISTORY

The ral driver first appeared in OpenBSD 3.7. Support for the RT2501 and RT2600 chipsets was added in OpenBSD 3.9. Support for the RT2800 chipset was added in OpenBSD 4.3. Support for the RT2700 chipset was added in OpenBSD 4.4. Support for the RT3090 chipset was added in OpenBSD 4.9.

AUTHORS

The original ral driver was written by Damien Bergamini ⟨[email protected]⟩.

CAVEATS

The ral driver does not make use of the hardware cryptographic engine.

The ral driver does not support any of the 802.11n capabilities offered by the RT2700 and RT2800 chipsets. Additional work is required in before those features can be supported.

Host AP mode does not support power saving. Clients attempting to use power saving mode may experience significant packet loss (disabling power saving on the client will fix this).

Some PCI ral adapters strictly require a system supporting PCI 2.2 or greater. Check the board's PCI version before purchasing the card as it is likely these adapters will not work in systems based on older revisions of the PCI specification.

History