OpenBSD manual page server

Manual Page Search Parameters

RTW(4) Device Drivers Manual RTW(4)

rtwRealtek RTL8180L IEEE 802.11b wireless network device

rtw* at cardbus?
rtw* at pci?

The rtw driver supports PCI/CardBus 802.11b wireless adapters based on the Realtek RTL8180L.

A variety of radio transceivers can be found in these devices, including the Philips SA2400A, Maxim MAX2820, and GCT GRF5101.

These are the modes the rtw driver can operate in:

BSS mode
Also known as mode, this is used when associating with an access point, through which all traffic passes. This mode is the default.
IBSS mode
Also known as mode or mode. This is the standardized method of operating without an access point. Stations associate with a service set. However, actual connections between stations are peer-to-peer.
Host AP
In this mode the driver acts as an access point (base station) for other cards.
monitor mode
In this mode the driver is able to receive packets without associating with an access point. This disables the internal receive filter and enables the card to capture packets from networks which it wouldn't normally have access to, or to scan for access points.

The rtw driver can be configured to use software Wired Equivalent Privacy (WEP). It is strongly recommended that WEP not be used as the sole mechanism to secure wireless communication, due to serious weaknesses in it.

In BSS mode, the driver supports powersave mode, which can be enabled via ifconfig(8).

The rtw driver can be configured at runtime with ifconfig(8) or on boot with hostname.if(5).

The following adapters should work:

SA2400 CardBus
SA2400 CardBus
SA2400 CardBus
SA2400 CardBus
SA2400 CardBus
GRF5101 CardBus
GRF5101 CardBus
SA2400 CardBus
MAX2820 CardBus
SA2400 CardBus
SA2400 CardBus
SA2400 CardBus
SA2400 CardBus
SA2400 CardBus
SA2400 CardBus
? CardBus
SA2400 CardBus
SA2400 CardBus
GRF5101 CardBus

The following example scans for available networks:

# ifconfig rtw0 scan

The following hostname.if(5) example configures rtw0 to join network “mynwid”, using WEP key “mywepkey”, obtaining an IP address using DHCP:

nwid mynwid nwkey mywepkey
inet autoconf

The following hostname.if(5) example creates a host-based access point on boot:

mediaopt hostap
nwid mynwid nwkey mywepkey
inet 192.168.1.1 255.255.255.0

arp(4), cardbus(4), ifmedia(4), intro(4), netintro(4), pci(4), hostname.if(5), hostapd(8), ifconfig(8)

Realtek, https://www.realtek.com/en.

The rtw device driver first appeared in OpenBSD 3.7.

The rtw driver was written by David Young <dyoung@NetBSD.org> and ported to OpenBSD by Jonathan Gray <jsg@openbsd.org>.

GCT refuse to release any documentation on their GRF5101 RF transceiver.

While PCI devices will attach, most of them are not able to transmit.

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

March 31, 2022 OpenBSD-7.6