MTW(4) | Device Drivers Manual | MTW(4) |
mtw
— MediaTek USB
IEEE 802.11b/g/n wireless network device
mtw* at uhub? port ?
The mtw
driver supports USB 2.0 wireless
adapters based on the MediaTek MT7601U chipset.
These are the modes the mtw
driver can
operate in:
The mtw
driver can be configured to use
Wired Equivalent Privacy (WEP) or Wi-Fi Protected Access (WPA1 and WPA2).
WPA2 is the current encryption standard for wireless networks. It is
strongly recommended that neither WEP nor WPA1 are used as the sole
mechanism to secure wireless communication, due to serious weaknesses. WPA1
is disabled by default and may be enabled using the option
"wpaprotos
wpa1,wpa2". For standard WPA networks which use
pre-shared keys (PSK), keys are configured using the
"wpakey
" option. WPA-Enterprise networks
require use of the wpa_supplicant package. The mtw
driver offloads both encryption and decryption of data frames to the
hardware for the WEP40, WEP104, TKIP(+MIC) and CCMP ciphers.
The mtw
driver can be configured at
runtime with ifconfig(8) or on boot
with hostname.if(5).
The driver needs the following firmware files, which are loaded when an interface is brought up:
The following adapters should work:
The following example scans for available networks:
# ifconfig mtw0 scan
The following hostname.if(5) example configures mtw0 to join network “mynwid”, using WPA key “mywpakey”, obtaining an IP address using DHCP:
join mynwid wpakey mywpakey inet autoconf
arp(4), ifmedia(4), intro(4), netintro(4), usb(4), hostname.if(5), ifconfig(8)
The mtw
driver first appeared in
OpenBSD 7.1.
The mtw
driver was written by
James Hastings
<hastings@openbsd.org>
based on the run(4) driver by
Damien Bergamini
<damien.bergamini@free.fr>.
The mtw
driver does not support any of the
802.11n capabilities offered by the MT7601U chipset. Additional work is
required in ieee80211(9) before those
features can be supported.
This driver does not support powersave mode.
December 24, 2021 | OpenBSD-current |